Use https://ftpmirror.gnu.org/ for GNU backend
This needs change in https://github.com/fedora-infra/anitya/blob/master/anitya/lib/backends/gnu.py
Is there a way we can do a test, I want to make sure everything from ftp.gnu.org is available correctly on ftpmirror.gnu.org
Only way that I can think of is to use API to retrieve all the packages that have the gnu backend (I'm not sure if that is possible right now) and then do a curl call for each of them and check what it returns.
Only way that I can think of is to use API to retrieve all the packages that have the gnu backend (I'm not sure if that is possible right now) and then do a curl call for each of them and check what it returns.
Thanks. If you can give me a quick curl call to get all the URLs, I can do the test and make sure they exit 0 or something.
Only way that I can think of is to use API to retrieve all the packages that have the gnu backend (I'm not sure if that is possible right now) and then do a curl call for each of them and check what it returns.
Thanks. If you can give me a quick curl call to get all the URLs, I can do the test and make sure they exit 0 or something.
Hm, looking at the API there isn't currently any way to retrieve projects with specific backend. But I wonder why you need to check them, if ftp.gnu.org doesn't work anymore the change need to be done in code anyway.
OK I'll make a PR.
Don't close the issue till the PR is merged.