http://check.mageia.org/cauldron/updates.html doesn't list any more updates from Fedora
Assignee: atelier-bugs => sysadmin-bugs
Summary: check.mageia.org/cauldron/updates.html doesn't list any more updates from Fedora => http://check.mageia.org/cauldron/updates.html doesn't list any more updates from Fedora
The script used by my own tool had to adjust the URL for downloading Fedora metadata from: http://mirror.yandex.ru/fedora/linux/development/rawhide/source/SRPMS/repodata/ to: http://mirror.yandex.ru/fedora/linux/development/rawhide/Everything/source/tree/repodata/ I'm sure youri-check's URL needs to be similarly adjusted accordingly.
CC: (none) => guillomovitch, thierry.vignaud
Created attachment 7938 [details] try to update youri-check There's 2 issues with youri-check: The cgit URL returned a redirection. the SRPMS Url was no more valid The thing is, the new URL contains sub directories, so I'm not sure it'll work fine. Guillaume, any idea?
If it helps any, Fedora now has an API for querying what is in their repositories. The Fedora Packages Search[1] web app provides the API. There is an implementation of their API as a python module[2] and a python-based CLI tool[3]. You'd probably want to use the CLI tool, which offers several output formats that can be used by Youri for parsing. [1]: https://apps.fedoraproject.org/packages [2]: https://pypi.python.org/pypi/pkgwat.api [3]: https://pypi.python.org/pypi/pkgwat.cli
CC: (none) => ngompa13
Just changing the default URL for retrieving the list of package does not require a code change, as it can be overrided in configuration: fedora: class: Youri::Check::Test::Updates::Source::Fedora options: url => http://... However, it won't be enough, as the mirror structure has changed. As Neal suggested, creating a new source input plugin would be a better option. Don't count on me for that, tough, I didn't touch this code for years.