Open revelt opened 6 years ago
Any package's page, sidebar
Does not matter
BitBucket repos for example https://bitbucket.org/codsen/detergent that are published to npm https://www.npmjs.com/package/detergent should link to correct "Repository" URL.
Currently, github icon is misleading and URL is wrong (git+https://revelt@bitbucket.org/codsen/detergent.git as opposed to https://bitbucket.org/codsen/detergent for example).
Non-github repos link to git URL, which is incorrect for BitBucket repos. Also, GitHub icon is wrongly shown.
Visit any package that has Git origin at BitBucket, for example https://www.npmjs.com/package/detergent
n/a
Same for GitLab:
Time has come to fix this!
Link to the page
Any package's page, sidebar
Logged in or logged out?
Does not matter
Expected behavior
BitBucket repos for example https://bitbucket.org/codsen/detergent that are published to npm https://www.npmjs.com/package/detergent should link to correct "Repository" URL.
Currently, github icon is misleading and URL is wrong (git+https://revelt@bitbucket.org/codsen/detergent.git as opposed to https://bitbucket.org/codsen/detergent for example).
Actual behavior
Non-github repos link to git URL, which is incorrect for BitBucket repos. Also, GitHub icon is wrongly shown.
Steps to reproduce the problem
Visit any package that has Git origin at BitBucket, for example https://www.npmjs.com/package/detergent
Browser with version
n/a
Any error message?
n/a