Bug 703841

Summary: bkr workflow-simple --prettyxml should imply --debug
Product: [Retired] Beaker Reporter: Michal Haško <mhasko>
Component: command lineAssignee: Bill Peck <bpeck>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 0.6CC: bpeck, dcallagh, mcsontos, pslavice, rmancy, stl
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: 2011-06-03 05:31:05 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Michal Haško 2011-05-11 12:29:02 UTC
Description of problem:
There is no output produced by 'bkr workflow-simple' when the --prettyxml is used without --debug. In other words, --prettyxml should imply --debug

Version-Release number of selected component (if applicable):
$ rpm -q beaker-client
beaker-client-0.6.8-5.git.47.219578f.el6.noarch

How reproducible:
100%

Steps to Reproduce:
$ bkr workflow-simple --family=RedHatEnterpriseLinux6 --task=/desktop/rhel6/spice-client/libs --dryrun --prettyxml
  
Actual results:
no output

Expected results:
should produce the same result as:
$ bkr workflow-simple --family=RedHatEnterpriseLinux6 --task=/desktop/rhel6/spice-client/libs --dryrun --prettyxml --debug

Comment 1 Marian Csontos 2011-05-11 12:56:15 UTC
Not only in workflow-simple but basically everywhere where it does not produce XML output.

The help says:

  --prettyxml                                print the xml in pretty format
  --debug                                    print the jobxml that it would submit

It does not say --prettyxml requires --debug and IMO implicit requirement is better solution than introducing the requirement in help.

Comment 2 Bill Peck 2011-05-25 18:49:54 UTC
Changes pushed to gerrit for review