Closed raphaelmoreira closed 8 months ago
Thanks for bring this to our attention @raphaelmoreira! In general, testing the root path of an allowed image host is not a sufficient test to determine whether the service is active or not. In many cases, a full image URL still works. For example raw.githubusercontent.com
has many working URLs such as https://raw.githubusercontent.com/JamesNK/Newtonsoft.Json/master/Doc/icons/logo.jpg.
However, there are indeed some hosts that appear to be retired or down. I wrote a query to find a sample URL for each host.
Some of these (such as api.bintray.com
) are broken and for very explainable reasons. For example, Bintray was retired by JFrog (https://jfrog.com/blog/into-the-sunset-bintray-jcenter-gocenter-and-chartcenter/). We should go through the list and verify the hosts are still acceptable.
We need update the api.travis-ci.org to app.travis-ci.com sine they migrated from .org to .com https://www.travis-ci.com/blog/2021-05-07-orgshutdown/, sample url: https://app.travis-ci.com/travis-ci/travis-rubies.svg?branch=build
There is issue with api.dependabot.com, here is workaround if badge on api.dependabot.com doesn't work: https://github.com/dependabot/feedback/issues/6#issuecomment-504674854
bettercodehub.com
us retired. we could remove it from allowlist.
bintray
is no longer active, remove it from allowlist
Impact
Other
Describe the bug
On the official website, about how to package a library, in the "Allowed domains for images and badges" section, the following suggested links no longer exist:
{}
)avatars.githubusercontent.com (redirect to github.com)Repro Steps
Just access these links.
Expected Behavior
Update documentation and remove the obsolete links
Screenshots
No response
Additional Context and logs
No response