Bug 1497216
| Summary: | spacecmd softwarechannel_setsyncschedule does not allow setting options | ||
|---|---|---|---|
| Product: | [Community] Spacewalk | Reporter: | Ben Roberts <ben.roberts> |
| Component: | Server | Assignee: | Tomáš Kašpárek <tkasparek> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Red Hat Satellite QA List <satqe-list> |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 2.7 | ||
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-04-20 12:31:44 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: | |||
| Bug Blocks: | 1564160 | ||
spacewalk.git(master): b50baf18e6a3180b201dee2e8a4907ba960ac6a5 extended original scope to include allow setting all options: spacewalk.git(master): c4e5afa27238659d49cb6a2df2338a1ffa0cc396 pylint fixes in spacewalk.git(master): 9efb14e2069a44428e730c3f27b0edf95f484abd Moving ON_QA Spacewalk 2.8 has been released. https://github.com/spacewalkproject/spacewalk/wiki/ReleaseNotes28 |
Description of problem: It's possible to set a channel sync latest packages only via the webui, but not through the command-line. I see there is an XMLRPC endpoint for channel.software.syncRepo which accepts a parameter map (which may include {"latest":true}, but currently spacecmd doesn't accept a "--latest" parameter or call the parameter-enabled endpoint so all sync schedules set via commandline are for the full content. Version-Release number of selected component (if applicable): Using 2.7, but code is the same through to master Actual results: Repo sync tasko jobs always download full repository content when scheduled via cli. Expected results: Option to specify "--latest" should be available via cli. Additional info: I'll see if I can put together a PR for this, just raising this ticket for the record and to link the github branch against.