commit 4318be52ebf847cc9b80486937418190a9c121a7
Author: Jon Ciesla <limburgher(a)gmail.com>
Date: Thu May 28 07:16:31 2015 -0500
Update EOL branch
scripts/process-git-requests/process-git-requests | 2 +-
scripts/process-git-requests/test | 51 +++++++++++++++++++++
2 files changed, 52 insertions(+), 1 deletions(-)
---
diff --git a/scripts/process-git-requests/process-git-requests
b/scripts/process-git-requests/process-git-requests
index 374af9c..9569090 100755
--- a/scripts/process-git-requests/process-git-requests
+++ b/scripts/process-git-requests/process-git-requests
@@ -3,7 +3,7 @@ VERSION = "1.0"
# Unfortunately pkgdb can't tell us when we stop accepting branches for the
# oldest supported release, so this needs updating manually.
-OBSOLETE_BRANCH='f19'
+OBSOLETE_BRANCH='f20'
# A bug for testing new types of badly formatted requests exists:
#
https://bugzilla.redhat.com/show_bug.cgi?id=622067
diff --git a/scripts/process-git-requests/test b/scripts/process-git-requests/test
new file mode 100644
index 0000000..d55965e
--- /dev/null
+++ b/scripts/process-git-requests/test
@@ -0,0 +1,51 @@
+[limb@tycho process-git-requests]$ ./process-git-requests
+Connecting to bugzilla...
+Querying bugzilla...
+Done; got 13.
+Making sure
pkgs.fedoraproject.org is available...
+Connecting to pkgdb...
+Getting valid branches....
+Connecting to FAS...
+Done.
+
+Parsing bug 832804 -
https://bugzilla.redhat.com/832804 - processing 1 of 13
+Checking owners...
+Traceback (most recent call last):
+ File "./process-git-requests", line 923, in <module>
+ (package, more) = process_new_request(i, j,
+comments['bugs'][str(i.id)]['comments'], firstfound, pkgdb, fas,
branches)
+ File "./process-git-requests", line 584, in process_new_request
+ frflag = bug.get_flags('fedora-review')
+ File "/usr/lib/python2.7/site-packages/bugzilla/bug.py", line 398, in
+get_flags
+ ft = self.get_flag_type(name)
+ File "/usr/lib/python2.7/site-packages/bugzilla/bug.py", line 389, in
+get_flag_type
+ for t in self.flags:
+ File "/usr/lib/python2.7/site-packages/bugzilla/bug.py", line 102, in
+__getattr__
+ self.refresh(extra_fields=[name])
+ File "/usr/lib/python2.7/site-packages/bugzilla/bug.py", line 115, in
+refresh
+ extra_fields=self._bug_fields + (extra_fields or []))
+ File "/usr/lib/python2.7/site-packages/bugzilla/base.py", line 972, in
+_getbug
+ extra_fields=extra_fields)[0]
+ File "/usr/lib/python2.7/site-packages/bugzilla/base.py", line 944, in
+_getbugs
+ r = self._proxy.Bug.get_bugs(getbugdata)
+ File "/usr/lib64/python2.7/xmlrpclib.py", line 1224, in __call__
+ return self.__send(self.__name, args)
+ File "/usr/lib/python2.7/site-packages/bugzilla/base.py", line 165, in
+_ServerProxy__request
+ ret = ServerProxy._ServerProxy__request(self, methodname, params)
+ File "/usr/lib64/python2.7/xmlrpclib.py", line 1578, in __request
+ verbose=self.__verbose
+ File "/usr/lib/python2.7/site-packages/bugzilla/base.py", line 256, in
+request
+ return self._request_helper(url, request_body)
+ File "/usr/lib/python2.7/site-packages/bugzilla/base.py", line 242, in
+_request_helper
+ raise sys.exc_info()[1]
+xmlrpclib.Fault: <Fault -32601: "The requested method 'Bug.get_bugs' was
not
+found.">