wbond / packagecontrol.io

The Package Control website
https://packagecontrol.io
Other
111 stars 46 forks source link

Display a "source" link when the homepage of a github/bitbucket repo was overridden #29

Open FichteFoll opened 10 years ago

FichteFoll commented 10 years ago

Often times I want to browse a package's source code and search for it using the package listing. Then, every time a plugin author has set a different homepage I have to go to the issues link and then to the main repo which is kind of annoying.

(I don't know a single situation where I personally wanted to go to a site's "homepage" instead of the repo to check the source code.)

wbond commented 10 years ago

This sounds like it should be part of a new version of the repository schema. There isn't a deterministic way to go from either issues or homepage to source code since they can be custom. Also, some packages don't provide source.

FichteFoll commented 10 years ago

Yes, it could be a new key that can be read from details. However, if source and homepage are the same url, we don't need both.