Hello community,
here is the log from the commit of package python-openqa_review for
openSUSE:Factory checked in at 2018-01-20 11:27:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-openqa_review (Old)
and /work/SRC/openSUSE:Factory/.python-openqa_review.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-openqa_review"
Sat Jan 20 11:27:41 2018 rev:19 rq:567580 version:1.8.3
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-openqa_review/python-openqa_review.changes
2017-12-21 11:29:03.936362594 +0100
+++
/work/SRC/openSUSE:Factory/.python-openqa_review.new/python-openqa_review.changes
2018-01-20 11:27:47.177359463 +0100
@@ -1,0 +2,7 @@
+Fri Jan 19 07:37:11 UTC 2018 - [email protected]
+
+- Update to version 1.8.3:
+ * Add 'bgo' bugref
+ * Handle unknown bugtrackers gracefully
+
+-------------------------------------------------------------------
Old:
----
python-openqa_review-1.8.2.tar.gz
New:
----
python-openqa_review-1.8.3.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-openqa_review.spec ++++++
--- /var/tmp/diff_new_pack.IYMzMK/_old 2018-01-20 11:27:47.781331217 +0100
+++ /var/tmp/diff_new_pack.IYMzMK/_new 2018-01-20 11:27:47.789330842 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python
#
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -29,7 +29,7 @@
%define binaries openqa-review openqa-review-daily-email
openqa-review-sles-ha tumblesle-release
%define oldpython python
Name: python-%{short_name}%{?name_ext}
-Version: 1.8.2
+Version: 1.8.3
Release: 0
Summary: A review helper script for openQA
License: MIT
++++++ python-openqa_review-1.8.2.tar.gz -> python-openqa_review-1.8.3.tar.gz
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/openqa_review-1.8.2/openqa_review/openqa_review.py
new/openqa_review-1.8.3/openqa_review/openqa_review.py
--- old/openqa_review-1.8.2/openqa_review/openqa_review.py 2017-12-20
08:57:27.000000000 +0100
+++ new/openqa_review-1.8.3/openqa_review/openqa_review.py 2018-01-19
08:36:01.000000000 +0100
@@ -227,6 +227,7 @@
'bsc': lambda i: 'https://bugzilla.suse.com/show_bug.cgi?id=%s' % i,
'boo': lambda i: 'https://bugzilla.opensuse.org/show_bug.cgi?id=%s' % i,
'poo': lambda i: 'https://progress.opensuse.org/issues/%s' % i,
+ 'bgo': lambda i: 'https://bugzilla.gnome.org/show_bug.cgi?id=%s' % i,
}
@@ -808,7 +809,11 @@
bugref, bug_id = match.group(1), match.group(2)
assert bugref, "No bugref found for %s" % v
assert bug_id, "No bug_id found for %s" % v
- v['bugref_href'] = issue_tracker[bugref](bug_id)
+ try:
+ v['bugref_href'] = issue_tracker[bugref](bug_id)
+ except KeyError as e: # pragma: no cover
+ log.error("Failed to find valid bug tracker URL for %s
with error %s. Skipping current result" % (v, e))
+ continue
@property
def total_issues(self):