Hello community,

here is the log from the commit of package python-openqa_review for 
openSUSE:Factory checked in at 2018-09-24 13:13:32
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-openqa_review (Old)
 and      /work/SRC/openSUSE:Factory/.python-openqa_review.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-openqa_review"

Mon Sep 24 13:13:32 2018 rev:25 rq:637177 version:1.13.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-openqa_review/python-openqa_review.changes    
    2018-07-27 10:56:04.405627200 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-openqa_review.new/python-openqa_review.changes
   2018-09-24 13:13:33.865675176 +0200
@@ -1,0 +2,10 @@
+Sat Sep 22 10:15:30 UTC 2018 - [email protected]
+
+- Update to version 1.13.0:
+  * Delete obsolete warning about build number format
+  * Fix non-ascii encoding problems in the whole generated report
+  * Add request retry on HTTP error 503
+  * Add tests for urls formatting using markdown
+  * Format all urls in softfail message using markdown
+
+-------------------------------------------------------------------

Old:
----
  python-openqa_review-1.12.1.obscpio

New:
----
  python-openqa_review-1.13.0.obscpio

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-openqa_review.spec ++++++
--- /var/tmp/diff_new_pack.afuHTI/_old  2018-09-24 13:13:34.681673757 +0200
+++ /var/tmp/diff_new_pack.afuHTI/_new  2018-09-24 13:13:34.685673749 +0200
@@ -31,7 +31,7 @@
 %define         binaries openqa-review openqa-review-daily-email 
openqa-review-sles-ha tumblesle-release 
openqa-review-functional_autoyast_concise
 %define         oldpython python
 Name:           python-%{short_name}%{?name_ext}
-Version:        1.12.1
+Version:        1.13.0
 Release:        0
 Summary:        A review helper script for openQA
 License:        MIT

++++++ _update.sh ++++++
--- /var/tmp/diff_new_pack.afuHTI/_old  2018-09-24 13:13:34.729673673 +0200
+++ /var/tmp/diff_new_pack.afuHTI/_new  2018-09-24 13:13:34.729673673 +0200
@@ -4,6 +4,6 @@
 osc service disabledrun
 version=$(osc diff | sed -n 's/^.*Update to version \([0-9.]\+\):/\1/p')
 sed -i -e "s/^\(Version:\s*\)[0-9.]\+/\1$version/g" python-openqa_review.spec
-sc add *.obscpio
+osc add *.obscpio
 osc ci -m "Update to $version"
 osc sr -m "Update to $version"

++++++ python-openqa_review-1.12.1.obscpio -> 
python-openqa_review-1.13.0.obscpio ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-openqa_review-1.12.1/openqa_review/browser.py 
new/python-openqa_review-1.13.0/openqa_review/browser.py
--- old/python-openqa_review-1.12.1/openqa_review/browser.py    2018-07-25 
07:59:04.000000000 +0200
+++ new/python-openqa_review-1.13.0/openqa_review/browser.py    2018-09-22 
12:12:52.000000000 +0200
@@ -114,7 +114,7 @@
             except requests.exceptions.ConnectionError:
                 log.info("Connection error encountered accessing %s, retrying 
try %s" % (url, i))
                 continue
-            if r.status_code in {502, 504}:
+            if r.status_code in {502, 503, 504}:
                 log.info("Request to %s failed with status code %s, retrying 
try %s" % (url, r.status_code, i))
                 continue
             if r.status_code != 200:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/python-openqa_review-1.12.1/openqa_review/openqa_review.py 
new/python-openqa_review-1.13.0/openqa_review/openqa_review.py
--- old/python-openqa_review-1.12.1/openqa_review/openqa_review.py      
2018-07-25 07:59:04.000000000 +0200
+++ new/python-openqa_review-1.13.0/openqa_review/openqa_review.py      
2018-09-22 12:12:52.000000000 +0200
@@ -457,8 +457,7 @@
         # User has to be careful here. A page for non-existant builds is always
         # existant.
         builds_to_compare = builds.split(',')
-        if min(map(len, builds_to_compare)) < 4:
-            log.warning("A build number of at least four digits is expected 
with leading zero, expect weird results.")  # pragma: no cover
+        log.debug("Specified builds %s, parsed to %s" % (builds, ', 
'.join(builds_to_compare)))
     elif against_reviewed:
         try:
             last_reviewed = find_last_reviewed_build(job_group['comments'])
@@ -711,8 +710,13 @@
             msg = 'Ticket status: %s, prio/severity: %s, assignee: %s' % 
(status, self.priority, self.assignee)
         else:
             msg = None
+
+        def _format_all_urls_using_markdown(string):
+            url_pattern = 
r'http[s]?://(?:[a-zA-Z]|[0-9]|[$-_@.&+]|[!*\(\),]|(?:%[0-9a-fA-F][0-9a-fA-F]))+'
+            return re.sub(url_pattern, r'[\g<0>](\g<0>)', string)
+
         title_str = ' "%s"' % self.subject.replace(')', '&#41;') if 
self.subject else ''
-        bugref_str = '[%s](%s%s)' % (self.bugref, self.bugref_href, title_str) 
if self.bugref_href else self.bugref
+        bugref_str = '[%s](%s%s)' % (self.bugref, self.bugref_href, title_str) 
if self.bugref_href else _format_all_urls_using_markdown(self.bugref)
         msg_str = ' (%s)' % msg if msg else ''
         return '%s%s' % (bugref_str, msg_str)
 
@@ -1256,7 +1260,7 @@
             print("Available filters: %s" % ', '.join(ie_filters.keys()))
             sys.exit(1)
 
-    print(report)
+    print(str(report))
 
 
 if __name__ == "__main__":
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/python-openqa_review-1.12.1/tests/tags_labels/:tests:684839:file:zypper_info-4.txt
 
new/python-openqa_review-1.13.0/tests/tags_labels/:tests:684839:file:zypper_info-4.txt
--- 
old/python-openqa_review-1.12.1/tests/tags_labels/:tests:684839:file:zypper_info-4.txt
      2018-07-25 07:59:04.000000000 +0200
+++ 
new/python-openqa_review-1.13.0/tests/tags_labels/:tests:684839:file:zypper_info-4.txt
      2018-09-22 12:12:52.000000000 +0200
@@ -1,2 +1,2 @@
 # Soft Failure:
-for Leap:15.0:Ports aarch64 and ppc64le, do not enable source repo, waiting 
for solved issue https://progress.opensuse.org/issues/36256
+for Leap:15.0:Ports aarch64 and ppc64le, do not enable source repo, waiting 
for https://progress.opensuse.org/issues/36256 to be solved, and also 
http://fate.suse.com/12345
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/python-openqa_review-1.12.1/tests/tags_labels/report25_T_bugrefs_softfails.md
 
new/python-openqa_review-1.13.0/tests/tags_labels/report25_T_bugrefs_softfails.md
--- 
old/python-openqa_review-1.12.1/tests/tags_labels/report25_T_bugrefs_softfails.md
   2018-07-25 07:59:04.000000000 +0200
+++ 
new/python-openqa_review-1.13.0/tests/tags_labels/report25_T_bugrefs_softfails.md
   2018-09-22 12:12:52.000000000 +0200
@@ -14,7 +14,7 @@
 * [toolchain_zypper](https://openqa.opensuse.org/tests/384324 "Failed modules: 
install") -> [boo#931571](https://bugzilla.opensuse.org/show_bug.cgi?id=931571)
 * [toolchain_zypper@bar](https://openqa.opensuse.org/tests/3843245 "Failed 
modules: install") -> 
[boo#9315715](https://bugzilla.opensuse.org/show_bug.cgi?id=9315715)
 * soft fails: [create_hdd_textmode](https://openqa.opensuse.org/tests/447901) 
-> [boo#931572](https://bugzilla.opensuse.org/show_bug.cgi?id=931572)
-* soft fails: 
[soft_fail_without_bugref](https://openqa.opensuse.org/tests/684839) -> for 
Leap:15.0:Ports aarch64 and ppc64le, do not enable source repo, waiting for 
solved issue https://progress.opensuse.org/issues/36256
+* soft fails: 
[soft_fail_without_bugref](https://openqa.opensuse.org/tests/684839) -> for 
Leap:15.0:Ports aarch64 and ppc64le, do not enable source repo, waiting for 
[https://progress.opensuse.org/issues/36256](https://progress.opensuse.org/issues/36256)
 to be solved, and also [http://fate.suse.com/12345](http://fate.suse.com/12345)
 
 
 **Existing Product bugs:**
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/python-openqa_review-1.12.1/tests/tags_labels/report25_bugrefs_query_issues.md
 
new/python-openqa_review-1.13.0/tests/tags_labels/report25_bugrefs_query_issues.md
--- 
old/python-openqa_review-1.12.1/tests/tags_labels/report25_bugrefs_query_issues.md
  2018-07-25 07:59:04.000000000 +0200
+++ 
new/python-openqa_review-1.13.0/tests/tags_labels/report25_bugrefs_query_issues.md
  2018-09-22 12:12:52.000000000 +0200
@@ -14,7 +14,7 @@
 * toolchain_zypper -> 
[boo#931571](https://bugzilla.opensuse.org/show_bug.cgi?id=931571 "no space 
left on device when upgrading") (Ticket status: NEW, prio/severity: P2/Major, 
assignee: [email protected])
 * toolchain_zypper@bar -> 
[boo#9315715](https://bugzilla.opensuse.org/show_bug.cgi?id=9315715) (Ticket 
not found)
 * soft fails: create_hdd_textmode -> 
[boo#931572](https://bugzilla.opensuse.org/show_bug.cgi?id=931572 "no space 
left on device when upgrading") (Ticket status: NEW, prio/severity: P2/Major, 
assignee: [email protected])
-* soft fails: soft_fail_without_bugref -> for Leap:15.0:Ports aarch64 and 
ppc64le, do not enable source repo, waiting for solved issue 
https://progress.opensuse.org/issues/36256
+* soft fails: soft_fail_without_bugref -> for Leap:15.0:Ports aarch64 and 
ppc64le, do not enable source repo, waiting for 
[https://progress.opensuse.org/issues/36256](https://progress.opensuse.org/issues/36256)
 to be solved, and also [http://fate.suse.com/12345](http://fate.suse.com/12345)
 
 
 **Existing Product bugs:**
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/python-openqa_review-1.12.1/tests/tags_labels/report25_bugrefs_query_issues_filter_unassigned.md
 
new/python-openqa_review-1.13.0/tests/tags_labels/report25_bugrefs_query_issues_filter_unassigned.md
--- 
old/python-openqa_review-1.12.1/tests/tags_labels/report25_bugrefs_query_issues_filter_unassigned.md
        2018-07-25 07:59:04.000000000 +0200
+++ 
new/python-openqa_review-1.13.0/tests/tags_labels/report25_bugrefs_query_issues_filter_unassigned.md
        2018-09-22 12:12:52.000000000 +0200
@@ -13,7 +13,7 @@
 
 * toolchain_zypper -> 
[boo#931571](https://bugzilla.opensuse.org/show_bug.cgi?id=931571 "no space 
left on device when upgrading") (Ticket status: NEW, prio/severity: P2/Major, 
assignee: [email protected])
 * soft fails: create_hdd_textmode -> 
[boo#931572](https://bugzilla.opensuse.org/show_bug.cgi?id=931572 "no space 
left on device when upgrading") (Ticket status: NEW, prio/severity: P2/Major, 
assignee: [email protected])
-* soft fails: soft_fail_without_bugref -> for Leap:15.0:Ports aarch64 and 
ppc64le, do not enable source repo, waiting for solved issue 
https://progress.opensuse.org/issues/36256
+* soft fails: soft_fail_without_bugref -> for Leap:15.0:Ports aarch64 and 
ppc64le, do not enable source repo, waiting for 
[https://progress.opensuse.org/issues/36256](https://progress.opensuse.org/issues/36256)
 to be solved, and also [http://fate.suse.com/12345](http://fate.suse.com/12345)
 
 
 **Existing openQA-issues:**

++++++ python-openqa_review.obsinfo ++++++
--- /var/tmp/diff_new_pack.afuHTI/_old  2018-09-24 13:13:35.009673186 +0200
+++ /var/tmp/diff_new_pack.afuHTI/_new  2018-09-24 13:13:35.009673186 +0200
@@ -1,5 +1,5 @@
 name: python-openqa_review
-version: 1.12.1
-mtime: 1532498344
-commit: 42a115d7fb88c0616a3f5940677b9ed361f88e91
+version: 1.13.0
+mtime: 1537611172
+commit: aaab7bd1d23b0e4d65683c03f8c9033eb2fcdb16
 


Reply via email to