atom / atom.io

🌐 A place for feedback on the atom.io website and package API
161 stars 98 forks source link

Validate repository field in package.json #107

Open ewirch opened 7 years ago

ewirch commented 7 years ago

I didn't find any reference on this. But since the repository field value from package.json is used as a link in Atom (package page, "Create issue" link), the protocol should be http:// or http://. git-grep for example uses git://github.com/mizchi/atom-git-grep which leads to not working links in Atom.

The protocol of repository should be validated when packages are uploaded to the packages repository.