Red Hat Bugzilla – Bug 1071323
[api] [rfe]: dnf.repo & dnf.repodict API extention
Last modified: 2014-09-30 19:42:08 EDT
Description of problem:
The follow methods/properties would be nice to have as public API
'all' property to get access to all repositories.
'get_multiple(filter)' to get a list of repositories mathing a wildcard
'set_progress_bar(progress)' to set a progress callback to loading repo metadata
Version-Release number of selected component (if applicable):
Here is an example of how to use the repotory releated API:
Yes, something like that can really come in handy. Thank you, we'll take a look at it.
Tim, the requested API is ready in 311004d.
BTW, all() is now a parameter-less method, not a property, so it acts the same as dict.values().
Thanks, get_matching is a much better name :)
dnf-0.4.17-1.fc20 has been submitted as an update for Fedora 20.
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing dnf-0.4.17-1.fc20'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
works fine, thanks
dnf-0.4.17-1.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.