Bug 1229966

Summary: bkr job-clone, job-submit, job-watch, update-inventory should have --pretty-xml and --dry-run options
Product: [Retired] Beaker Reporter: Dan Callaghan <dcallagh>
Component: generalAssignee: Blake McIvor <bmcivor>
Status: CLOSED CURRENTRELEASE QA Contact: tools-bugs <tools-bugs>
Severity: unspecified Docs Contact:
Priority: low    
Version: 20CC: bmcivor, dcallagh, dowang, ebaak, mjia, rjoost
Target Milestone: 23.0Keywords: Patch, Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-07 23:09:54 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 Dan Callaghan 2015-06-10 03:30:18 UTC
Currently they only have --prettyxml and --dryrun. A while ago we added the properly spelt options to workflow commands (--pretty-xml and --dry-run) so we should make the other commands match.

Comment 1 Blake McIvor 2016-04-26 06:08:53 UTC
https://gerrit.beaker-project.org/#/c/4833/

Comment 3 Roman Joost 2016-05-16 00:40:05 UTC
The client to be used to test this bug should be beaker-client-23.0-0.git.212.a10d3a6

Comment 4 Roman Joost 2016-05-16 00:47:12 UTC
For reference, the repositories providing nightlies can be found under:

https://beaker-project.org/nightlies/develop/

Comment 5 Blake McIvor 2016-05-16 23:30:55 UTC
upon closer inspection by Matt, the patch for this bug should also include a --pretty-xml option for job-submit

Comment 6 matt jia 2016-05-16 23:32:33 UTC
(In reply to Blake McIvor from comment #1)
> https://gerrit.beaker-project.org/#/c/4833/

We also need to have --pretty-xml in bkr job-submit. I donnot think bkr job-watch needs to have --dry-run and --pretty-xml options.

Comment 7 matt jia 2016-05-19 00:46:24 UTC
(In reply to matt jia from comment #6)
> (In reply to Blake McIvor from comment #1)
> > https://gerrit.beaker-project.org/#/c/4833/
> 
> We also need to have --pretty-xml in bkr job-submit. I donnot think bkr
> job-watch needs to have --dry-run and --pretty-xml options.

Correct this, --pretty-xml should not be in bkr job-submit, flip this bug back to ON_QA.

Comment 9 Dan Callaghan 2016-07-07 23:09:54 UTC
Beaker 23.0 has been released.