Bug 745971
Summary: | Beaker wizard should provide 'None' as Possible Value for attachment download | ||||||
---|---|---|---|---|---|---|---|
Product: | [Retired] Beaker | Reporter: | David Kutálek <dkutalek> | ||||
Component: | command line | Assignee: | Iveta Wiedermann <isenfeld> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Raymond Mancy <rmancy> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 0.7 | CC: | asaha, bpeck, dcallagh, ebaak, isenfeld, llim, mcsontos, qwan, rmancy, stl | ||||
Target Milestone: | 0.12 | Keywords: | Patch | ||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | BeakerWizard | ||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2013-04-11 04:56:57 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
David Kutálek
2011-10-13 14:32:50 UTC
Is it ok like this: Which Bugzilla attachments do you wish to download? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Possible values: None, repro1.rb, repro2.rb [repro1.rb, repro2.rb?] Or should be the 'None' value in the line '[repro1.rb, repro2.rb?]' as well? In brackets we have list of attachments to download, and imho it doesn't make sense to include None there. Probably with only exception, when there is no attachement - then None should be there as the only item. Created attachment 698767 [details]
Proposed patch
State adjusted back to ASSIGNED - the patch is appreciated Iveta, but the bug states are actually used to track the process of including a change into the main Beaker code base through Gerrit (i.e. POST when the Gerrit review is up, MODIFIED when the change is merged in Gerrit) More details here: http://beaker-project.org/dev-guide.html#submitting-your-patch If you could upload your patch as a Gerrit review (and move the bug status to POST), that would be great, otherwise one of the development team should get to it before the upcoming 0.12 release. uploaded Iveta's patch to gerrit: http://gerrit.beaker-project.org/#/c/1813/ It's not immediately apparent to me how we get beaker-wizard to confirm the reproducers we want to download. I think this one might help: https://bugzilla.redhat.com/show_bug.cgi?id=227655 Or may be not: beaker-wizard -by 227655 /home/asaha/.beaker_client/config not found, using /etc/beaker/client.conf Contacting bugzilla... Fetching details for BZ#227655 Examining attachments for possible reproducers Traceback (most recent call last): File "/usr/bin/beaker-wizard", line 9, in <module> load_entry_point('bkr.client==0.11.2', 'console_scripts', 'beaker-wizard')() File "/usr/lib/python2.6/site-packages/bkr/client/wizard.py", line 2623, in main test = Test(options) File "/usr/lib/python2.6/site-packages/bkr/client/wizard.py", line 1089, in __init__ self.init() File "/usr/lib/python2.6/site-packages/bkr/client/wizard.py", line 2325, in init self.testname = Name(self.options) File "/usr/lib/python2.6/site-packages/bkr/client/wizard.py", line 1089, in __init__ self.init() File "/usr/lib/python2.6/site-packages/bkr/client/wizard.py", line 1846, in init self.bugs.fetchBugDetails() File "/usr/lib/python2.6/site-packages/bkr/client/wizard.py", line 1776, in fetchBugDetails self.reproducers.find(self.bug) File "/usr/lib/python2.6/site-packages/bkr/client/wizard.py", line 1908, in find if attachment['ispatch'] == 0 and attachment['isobsolete'] == 0: KeyError: 'ispatch' Verified: Which Bugzilla attachments do you wish to download? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Possible values: None, test.pl, libnet.cfg Wizard can download Bugzilla attachments for you. It suggests those which look like reproducers, but you can pick the right attachments manually as well. [test.pl, libnet.cfg?] None Beaker 0.12 has been released. |