This is a feature request. Currently lzilla bug requires a bug ID. This is a request to add the ability to search by alias as well. The end result would be that the output of: lzilla bug monsierup and lzilla bug 282567 would show the contents of Gentoo's bug 282567 (assuming Gentoo's bugzilla is queried).
Ignore this comment. It's a libzilla test.
Thanks for the bug report. Sounds like a good feature to work on.
Test from undersys
Another test.
Please ignore.
monsieurp@epsilon ~/git_projects/libzilla/libzilla $ ./__main__.py bug monsieurp [2016-07-14 14:46:05,541][libzilla.configmanager][INFO]: File "/home/monsieurp/.libzillarc" found! [2016-07-14 14:46:05,544][libzilla.validator][INFO]: Validated URL: https://bugs.gentoo.org/rest [2016-07-14 14:46:05,545][libzilla.connection][INFO]: Logging in ... [2016-07-14 14:46:05,562][requests.packages.urllib3.connectionpool][INFO]: Starting new HTTPS connection (1): bugs.gentoo.org [2016-07-14 14:46:07,612][libzilla.connection][INFO]: Logged in! [2016-07-14 14:46:07,613][libzilla.connection][INFO]: Querying Bugzilla for bug #monsieurp ... [2016-07-14 14:46:07,617][requests.packages.urllib3.connectionpool][INFO]: Starting new HTTPS connection (1): bugs.gentoo.org [2016-07-14 14:46:09,704][libzilla.connection][INFO]: More info about this bug: https://bugs.gentoo.org/monsieurp. [2016-07-14 14:46:09,706][libzilla.connection][INFO]: STATUS: RESOLVED [2016-07-14 14:46:09,707][libzilla.connection][INFO]: Summary: New developer Patrice Clement (monsieurp) [2016-07-14 14:46:09,708][libzilla.connection][INFO]: RESOLUTION: FIXED [2016-07-14 14:46:09,709][libzilla.connection][INFO]: Nothing to update for bug #monsieurp. Looks goods. ;) This change will be part of libzilla v1.3.
commit dcd31fe32639d5d625aa106f0c2d57071e420aa6 (HEAD -> master, tag: v1.2, origin/master) Author: Patrice Clement <monsieurp@gentoo.org> AuthorDate: Thu Jul 14 17:01:16 2016 +0200 Commit: Patrice Clement <monsieurp@gentoo.org> CommitDate: Thu Jul 14 17:24:02 2016 +0200 Add ability to query a bug by using its alias. Instead of using a mere number, a bug report can now be queried by using its alias such as "hello". Beware, not all bug reports have aliases set up, meaning a look-up may fail and return an error. Gentoo-Bug: https://bugs.gentoo.org/588480 libzilla/cli/shell.py | 5 ----- libzilla/connection.py | 5 +++-- libzilla/resturlmaker.py | 19 +++++-------------- libzilla/session.py | 19 +------------------ 4 files changed, 9 insertions(+), 39 deletions(-) This feature is now available in v1.2. Thanks!
(In reply to Patrice Clement from comment #6) > Looks goods. ;) This change will be part of libzilla v1.3. This is a typo. I wrote v1.3 but I meant to write v1.2.
FIXED
Ignore comment pls.
This is a test. Disregard.