diff --git a/bugz/cli.py b/bugz/cli.py index aa45d3b..12e2224 100644 --- a/bugz/cli.py +++ b/bugz/cli.py @@ -240,7 +240,10 @@ class PrettyBugz: log_info(log_msg) if not 'status' in params.keys(): - params['status'] = ['CONFIRMED', 'IN_PROGRESS', 'UNCONFIRMED'] + params['status'] = ['CONFIRMED', 'IN_PROGRESS', + 'UNCONFIRMED', 'NEW', 'ASSIGNED', 'ON_DEV', + 'POST', 'MODIFIED', 'ON_QA', 'VERIFIED', + 'RELEASE_PENDING'] elif 'ALL' in params['status']: del params['status'] diff --git a/bugzrc.example b/bugzrc.example index f516bf0..e8e1234 100644 --- a/bugzrc.example +++ b/bugzrc.example @@ -59,3 +59,20 @@ # # All parameters listed above can be used in the default section if you # only use one bugzilla installation. + +[gentoo] +base: https://bugs.gentoo.org/xmlrpc.cgi +columns: 80 +encoding: utf-8 +# user: myname@my.project.com +# password: secret2 + +[redhat] +base: https://bugzilla.redhat.com/xmlrpc.cgi +columns: 80 +encoding: utf-8 +# user: myname@my.project.com +# password: secret2 + +[default] +connection: redhat diff --git a/man/bugz.1 b/man/bugz.1 index 5a88494..365ab7e 100644 --- a/man/bugz.1 +++ b/man/bugz.1 @@ -28,6 +28,12 @@ This man page is a stub; the bugz program has extensive built in help. will show the help for the global options and .B bugz [subcommand] -h will show the help for a specific subcommand. +.SH CONFIGURATION +PyBugz is still configured just using the ~/.bugzrc file. For simple template +look at the bugzrc.example +.B (rpm -qd pybugz | grep example) +- you may copy it directly into your home directory to make PyBugz work by +default with Red Hat bugzilla. .SH BUGS .PP The home page of this project is http://www.github.com/williamh/pybugz.