This document discusses automatically linking software packages to GitHub repositories. It describes linking package manager data to GitHub data to determine repository relationships (good). However, there are also challenges (bad, ugly) including irrelevant, invalid, or ambiguous links. The document proposes an automated process to classify links as good, bad, or ugly based on checking for repository existence and renaming. It provides an example analysis of the RubyGems ecosystem where most links were good but some fell into the bad or ugly categories.