Bug 18191 - http://check.mageia.org/cauldron/updates.html doesn't list any more updates from Fedora
Summary: http://check.mageia.org/cauldron/updates.html doesn't list any more updates f...
Status: NEW
Alias: None
Product: Websites
Classification: Unclassified
Component: Other (show other bugs)
Version: trunk
Hardware: All Linux
Priority: Normal major
Target Milestone: ---
Assignee: Sysadmin Team
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-12 19:07 CEST by Thierry Vignaud
Modified: 2016-06-20 19:32 CEST (History)
3 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments
try to update youri-check (906 bytes, patch)
2016-06-07 14:02 CEST, Thierry Vignaud
Details | Diff

Description Thierry Vignaud 2016-04-12 19:07:09 CEST
http://check.mageia.org/cauldron/updates.html doesn't list any more updates from Fedora
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

Comment 1 David Walser 2016-06-07 13:46:59 CEST
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

Comment 2 Thierry Vignaud 2016-06-07 14:02:09 CEST
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?
Comment 3 Neal Gompa 2016-06-07 14:30:58 CEST
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

Comment 4 Guillaume Rousse 2016-06-20 19:32:20 CEST
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.

Note You need to log in before you can comment on or make changes to this bug.