allow query only in a give product and allow the user to change the distro

Bug #181450 reported by Markus Korn
2
Affects Status Importance Assigned to Milestone
Bug Helper
Fix Released
Wishlist
Markus Korn

Bug Description

If you do not want to use an url-option in bughelper/bugnumbers, both tools search in 'ubuntu' and if "-U" if given additionally in an 'upstream' product, example:

bugnumbers -p bughelper searches in bugs.launchpad.net/ubuntu/+source/bughelper/+bugs
bugnumbers -U -p bughelper searches in bugs.launchpad.net/ubuntu/+source/bughelper/+bugs AND bugs.launchpad.net/bughelper/+bugs

it is impossible to ONLY search in the bughelper product (bugs.launchpad.net/bughelper/+bugs), and also searching in another distro like bugs.launchpad.net/suse/+source/bughelper/+bugs is impossible.

This can be changed by adding two new commandline options:
 -P (product)
 -D (distro)

Markus

Related branches

Markus Korn (thekorn)
Changed in bughelper:
assignee: nobody → thekorn
importance: Undecided → Wishlist
status: New → In Progress
Revision history for this message
Markus Korn (thekorn) wrote :
Download full text (3.4 KiB)

Example usage of the implementation in my bughelper.text.dev branch rev 224:

markus@thekorn:/home/devel/bughelper/text.dev$ python -W ignore bugnumbers -p "inkscape" --importance CriticalUSING THIS URL, https://bugs.launchpad.net/ubuntu/+source/inkscape/+bugs?field.importance%3Alist=Critical
No bugs found.
markus@thekorn:/home/devel/bughelper/text.dev$ python -W ignore bugnumbers -P "inkscape" --importance Critical
USING THIS URL, https://bugs.launchpad.net/inkscape/+bugs?field.importance%3Alist=Critical
[Bug 169103 inkscape: Confirmed/Critical] - tooltip for menubar not localized
[Bug 168301 inkscape: Fix Committed/Critical] - Main window disabled if a modal dialog sinks
[Bug 179640 inkscape: Incomplete/Critical] - Fill with color leads to a crash
[Bug 168586 inkscape: Confirmed/Critical] - Crash related with ungrouping
[Bug 180890 inkscape: Confirmed/Critical] - work around deficiencies of feBlend-based blend modes
[Bug 177783 inkscape: Triaged/Critical] - cairo-ps export creates empty ps files on win32
[Bug 179326 inkscape: Confirmed/Critical] - openclipart import fails when descriptions contain entities
[Bug 169791 inkscape: In Progress/Critical] - application icon following the tango style guidelines
[Bug 179452 inkscape: Incomplete/Critical] - export to openclipart.org in dev version
markus@thekorn:/home/devel/bughelper/text.dev$ python -W ignore bugnumbers -p bughelper
USING THIS URL, https://bugs.launchpad.net/ubuntu/+source/bughelper/+bugs
[Bug 154024 bughelper: Fix Committed/Medium] - bughelper could crash if a bugreport changes during a run
[Bug 129341 bughelper: New/Wishlist] - bughelper would benefit from the ability to inherit clues from a clue file not named after a package
[Bug 88102 bughelper: Confirmed/Undecided] - sort report by issue type rather than bug number
[Bug 150887 bughelper: In Progress/Wishlist] - RFE: add 'atom'-feed output format
markus@thekorn:/home/devel/bughelper/text.dev$ python -W ignore bugnumbers -p bughelper -D suse
USING THIS URL, https://bugs.launchpad.net/suse/+source/bughelper/+bugs
No bugs found.
markus@thekorn:/home/devel/bughelper/text.dev$ python -W ignore bugnumbers -P bughelper
USING THIS URL, https://bugs.launchpad.net/bughelper/+bugs
[Bug 181209 bughelper: Fix Committed/Undecided] - RFE: Ignore warnings in text-mode
[Bug 109547 bughelper: Confirmed/Wishlist] - support to sort out matched clues to multiple files per package (e.g. one file per task)
[Bug 110937 bughelper: Confirmed/Wishlist] - show status updates during long bughelper runs
[Bug 181153 bughelper: Incomplete/Undecided] - [text-branch] "Style 'bugnumbers.wiki' not found"
[Bug 88521 bughelper: Confirmed/Wishlist] - selectively pulling attachments by name
[Bug 81291 bughelper: Confirmed/Wishlist] - RFE: Web interface to bughelper
[Bug 181064 bughelper: Fix Committed/Undecided] - buginfo reports "No cookie-file found"
[Bug 88102 bughelper: Confirmed/Medium] - sort report by issue type rather than bug number
[Bug 181149 bughelper: Fix Committed/Undecided] - [text-branch] ValueError: list.index(x): x not in list
[Bug 109628 bughelper: Confirmed/Wishlist] - allow clues to match "duplicate count > X"; e.g. to list top-crashers
[...

Read more...

Revision history for this message
Brian Murray (brian-murray) wrote :

This is looking good, thanks for implementing it.

Markus Korn (thekorn)
Changed in bughelper:
status: In Progress → Fix Committed
Revision history for this message
Brian Murray (brian-murray) wrote :

This is merged in the main branch and is available in the Hardy package of bughelper.

Changed in bughelper:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.