Bug 1018284
Summary: | [rfe] [api] refactor check for valid id into separate function | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | mulhern <amulhern> |
Component: | dnf | Assignee: | Radek Holy <rholy> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | low | ||
Version: | rawhide | CC: | admiller, akozumpl, ffesti, firas.alkafri, jzeleny, pnemade, rholy, zpavlas |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Fixed In Version: | dnf-0.4.10-1.fc20 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-01-04 19:52:56 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
mulhern
2013-10-11 15:39:21 UTC
it would be best if the code that checks the format were factored out of the yum package, so that the user didn't have to load that package in order to verify that the repo files they were constructing were correctly formatted. (The client code probably wants to avoid the side-effects of loading the yum package when generating a .repo file). I'm reassigning this to dnf, this has a bigger priority there, as we are in a process of defining dnf's API. This will not have a priority in yum itself, maybe as a backport from dnf. Hi there, thanks for the report. We'll try to provide the requested function when we define the API. Leaving this a low prio thing until then. Radek, please add a function like that to dnf.utils and document it as an API call. The function called "repo_id_invalid" added by b81bdf1654cfa4174a9629547d8a5e3bca2e9759 on master. dnf-0.4.10-1.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/dnf-0.4.10-1.fc20 Package dnf-0.4.10-1.fc20: * 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.10-1.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-0089/dnf-0.4.10-1.fc20 then log in and leave karma (feedback). dnf-0.4.10-1.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report. |