Bug 1073543
| Summary: | [RFE] Make spacewalk-clone-by-date able to specify channel name, summary, and description | ||
|---|---|---|---|
| Product: | [Community] Spacewalk | Reporter: | Stephen Herr <sherr> |
| Component: | Server | Assignee: | Stephen Herr <sherr> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Red Hat Satellite QA List <satqe-list> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 2.2 | CC: | asanders, cperry, dchia, mketchion, pstudeni, tcameron, xdmoon |
| Target Milestone: | --- | Keywords: | FutureFeature, Triaged |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | spacewalk-utils-2.2.12-1 | Doc Type: | Enhancement |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 830609 | Environment: | |
| Last Closed: | 2014-07-17 08:40: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: | |||
| Bug Depends On: | 830609 | ||
| Bug Blocks: | 737830, 1119298 | ||
|
Description
Stephen Herr
2014-03-06 16:32:15 UTC
Committing to Spacewalk master: d35de0612086f12a40af0551dce4850e14fad3f8 Also adding the ability to specify description: ce76fa02001bb185e3a1878bb5717e5ba7014cba One more commit required.
dyordano found a problem where if you were using an '=' in the new channels argument it would throw an error due to a bug in optparse:
spacewalk-clone-by-date --channel=test_ch clone-test_ch --username ${RHN_USER} --password ${RHN_PASS}
Usage: spacewalk-clone-by-date [options]
spacewalk-clone-by-date: error: --channels option does not take a value
Optparse is apparently not smart enough to handle explicit value setting for callback options. This commit works around the problem by transforming '--channel=test_ch' into '--channel test_ch'.
5b8eb30d77b7e8a61e031556da24bec8a833e718
*** Bug 1082055 has been marked as a duplicate of this bug. *** Another commit to make --validate work properly with changes: f1bb1481ab1412795ceb98d7764f7523b581a475 Checkstyle fix: 7bac66955ce2b03115327c8df3f5268d57c75d20 Spacewalk 2.2 has been released:
https://fedorahosted.org/spacewalk/wiki/ReleaseNotes22
|