Bug 1264027
| Summary: | plugin doesn't accept parameter --enablerepo for spacewalk repos | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Pavel Studeník <pstudeni> |
| Component: | dnf | Assignee: | Michael Mráka <mmraka> |
| Status: | CLOSED CANTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 22 | CC: | jdobes, jsilhan, mluscon, mmraka, packaging-team-maint, pnemade, vmukhame |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-11-12 14:10:53 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
Pavel Studeník
2015-09-17 10:53:07 UTC
I looked at the code and dnf finished with failed before spacewalk plugin is loaded. It isn't good behaviour. Workaround is possible # dnf repolist --disablerepo=* --enablerepo=spacewalk-client-nightly* I suppose that this bug is problem of dnf application. > I suppose that this bug is problem of dnf application.
Well, yes exactly. This is actually a problem in dnf design. The arguments are parsed before the plugin can even run its __init__() so repos dynamicaly created in plugin aren't taken into account.
Unfortunately this can't be fixed without major redesign/rewrite.
|