| Summary: | http://check.mageia.org/cauldron/updates.html doesn't list any more updates from Fedora | ||
|---|---|---|---|
| Product: | Websites | Reporter: | Thierry Vignaud <thierry.vignaud> |
| Component: | Other | Assignee: | Sysadmin Team <sysadmin-bugs> |
| Status: | NEW --- | QA Contact: | |
| Severity: | major | ||
| Priority: | Normal | CC: | guillomovitch, ngompa13, thierry.vignaud |
| Version: | trunk | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | CVE: | ||
| Status comment: | |||
| Attachments: | try to update youri-check | ||
|
Description
Thierry Vignaud
2016-04-12 19:07:09 CEST
Rémi Verschelde
2016-04-12 19:16:26 CEST
Assignee:
atelier-bugs =>
sysadmin-bugs
Thierry Vignaud
2016-04-13 14:25:41 CEST
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.
Thierry Vignaud
2016-06-07 14:01:06 CEST
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.
|