RFE: Ignore warnings in text-mode
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bug Helper |
Fix Released
|
Undecided
|
Unassigned | ||
python-launchpad-bugs |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The current output of bugnumbers looks like:
v$ ./bugnumbers -p inkscape --status "Fix Committed" --sort importance
/home/devel/
warnings.
/home/devel/
warnings.
/home/devel/
warnings.
/home/devel/
warnings.
/home/devel/
warnings.
/home/devel/
warnings.
/home/devel/
warnings.
/home/devel/
warnings.
[Bug 113980 inkscape: Fix Committed/Medium] - Color picker returns nonsense
[Bug 178139 inkscape: Fix Committed/Medium] - Array out of bounds in Icon preview dialog
[Bug 16724 inkscape: Fix Committed/Wishlist] - Inkscape does not use gnome print dialog
[Bug 174872 inkscape: Fix Committed/
It would be nice if we could ignore most of this warnings per default in bugnumbers.
In contrast the first two ones ("text_bug API not stable yet" and "text_buglist API not stable yet") should not be ignored to show the user that he/she is using an unstable version of py-lp-bugs.
Markus
This is fixed in the text.dev braches in py-lp-bugs rev 101 and in bughelper rev 222.
The default output now looks like:
$ ./bugnumbers -p inkscape --status "Fix Committed" --sort importance bughelper/ text.dev/ launchpadbugs/ text_bug. py:22: FutureWarning: text_bug API not stable yet warn("text_ bug API not stable yet", FutureWarning) bughelper/ text.dev/ launchpadbugs/ text_buglist. py:7: FutureWarning: text_buglist API not stable yet, LP returns a list of all bugs ever reported warn("text_ buglist API not stable yet, LP returns a list of all bugs ever reported", FutureWarning) Undecided] - Crash (inkscape 0.45.1-1) when exporting drawing (or blank page) to PNG
/home/devel/
warnings.
/home/devel/
warnings.
[Bug 113980 inkscape: Fix Committed/Medium] - Color picker returns nonsense
[Bug 178139 inkscape: Fix Committed/Medium] - Array out of bounds in Icon preview dialog
[Bug 16724 inkscape: Fix Committed/Wishlist] - Inkscape does not use gnome print dialog
[Bug 174872 inkscape: Fix Committed/
To also ignore the FeatureWarnings please run:
$ python -W ignore bugnumbers -p inkscape --status "Fix Committed" --sort importance Undecided] - Crash (inkscape 0.45.1-1) when exporting drawing (or blank page) to PNG
[Bug 113980 inkscape: Fix Committed/Medium] - Color picker returns nonsense
[Bug 178139 inkscape: Fix Committed/Medium] - Array out of bounds in Icon preview dialog
[Bug 16724 inkscape: Fix Committed/Wishlist] - Inkscape does not use gnome print dialog
[Bug 174872 inkscape: Fix Committed/
Markus