pybugz/pybugz-0.10-git683dd-rh-specific.patch
Pavel Raiskup 96a1e3439e Update to latest version
Also remove the downstream patches.  There is real that they are not going
to be pushed upstream so we really have to wait for upstream here.

Version: 0.10-3
2013-03-13 13:46:38 +01:00

58 lines
1.7 KiB
Diff

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.