Bug 1129932
| Summary: | Mock should expose yum --enablerepo and --disablerepo | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Craig Ringer <craig> | ||||
| Component: | mock | Assignee: | Clark Williams <williams> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 20 | CC: | jdisnard, mebrown, mizdebsk, msimacek, msuchy, praiskup, williams | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | mock-1.2.0 | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2014-10-15 14:01:18 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: | |||||||
| Attachments: |
|
||||||
FYI, this was already implemented by Michael Simacek in his version of mock prepared as part of GSoC. See: http://xpath-of-light.blogspot.cz/ https://github.com/msimacek/mock Yes. This is sitting already in my inbox for two weeks and was not applied only because of Flock and my normal work I had to do. I asume I will apply it next week. This is present in current mock-1.2.0 |
Created attachment 926614 [details] Add --enablerepo and --disablerepo to mock Mock doesn't expose any way to enable or disable repos on a per-invocation basis. This makes it hard to do a test build without a repo enabled, then do some install tests with the repo enabled. I propose to add --enablerepo and --disablerepo to mock, which pass through directly to yum, per the attached patch against mock 1.1.41 .