Replace the old Bugzilla interface with code that sets up a proxy so we can communicate with Bugzilla through its xmlrpc interface. This is much more stable than the previous interface to Bugzilla, and it is the documented way for client software to communicate with Bugzilla. I would like to thank Mike Gilbert <firstname.lastname@example.org> for contributing the Bugzilla Proxy code.
As of this commit, PyBugz no longer uses the **kwds syntax. Now it uses the args object which is created from the command line and configuration file to pass all arguments, and each routine uses the arguments it needs from the object.
If the -t option wasn't used in an attach command, a traceback was happening. This commit fixes that issue.
The priorities have been changed from P1, P2 ... P5 to Highest, High, Normal, Low and Lowest. This fixes gentoo bug http://bugs.gentoo.org/show_bug.cgi?id=374347.
The modify routine was passing fields to bugzilla which had None as their value. This was causing issues when attempting to post or modify bugs.
all comparisons against None should use "is" or "is not" instead of equality operators.
This is a modified version of a patch from djmdjm and fixes issue 1. The command line parser now allows global options and sub-command specific options to share the same option letter, so I used -p instead of -D to flag an attachment as a patch.
This fixes an issue which would not allow bugs to be marked "assigned". This closes gentoo bug #280395. Thanks to email@example.com for the patch.
This was done because authentication is needed for most commands. The only time you might not want to authenticate is if using the search, get or attachment commands.
This was done due to it being much easier for me to deal with with a screen reader than using spaces.
This changes the bugzilla interface to check and prompt for the username and password separately so that the tools using it can provide one or the other. This fixes google code issue 12.
This is an attempt to fix google code issue 3.
All of the modules need to import locale for locale support. Also, thanks again to firstname.lastname@example.org for the patch for importing readline correctly since some platforms do not have it.
This fixes google code issue #16.
This adds the ability to run stored searches such as: bugz namedcmd "Amd64 stable" Thanks to email@example.com for the patch.
This fixes gentoo bug 186293.
The code has been re-factored so that the command line interface, bugzilla interface and configuration are all in the bugz package. The bugz script just imports the portions of the package it needs to allow it to be run from the command line.