commit python-openqa_review for openSUSE:Factory

2020-08-04 Thread root
Hello community,

here is the log from the commit of package python-openqa_review for 
openSUSE:Factory checked in at 2020-08-04 20:19:28

Comparing /work/SRC/openSUSE:Factory/python-openqa_review (Old)
 and  /work/SRC/openSUSE:Factory/.python-openqa_review.new.3592 (New)


Package is "python-openqa_review"

Tue Aug  4 20:19:28 2020 rev:34 rq:824124 version:1.20.2

Changes:

--- 
/work/SRC/openSUSE:Factory/python-openqa_review/python-openqa_review.changes
2020-07-24 13:35:50.270708050 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-openqa_review.new.3592/python-openqa_review.changes
  2020-08-04 20:20:04.424970083 +0200
@@ -1,0 +2,7 @@
+Mon Aug 03 12:26:03 UTC 2020 - ok...@suse.com
+
+- Update to version 1.20.2:
+  * Delete unused import json
+  * Fix "ValueError: Expecting ',' delimiter: line 1..." when trying to parse 
soft-fail details
+
+---

Old:

  python-openqa_review-1.20.1.obscpio

New:

  python-openqa_review-1.20.2.obscpio



Other differences:
--
++ python-openqa_review.spec ++
--- /var/tmp/diff_new_pack.Vt7Mc6/_old  2020-08-04 20:20:10.432971638 +0200
+++ /var/tmp/diff_new_pack.Vt7Mc6/_new  2020-08-04 20:20:10.432971638 +0200
@@ -31,7 +31,7 @@
 %define binaries openqa-review openqa-review-daily-email 
openqa-review-sles-ha tumblesle-release openqa-review-functional_yast_concise
 %define oldpython python
 Name:   python-%{short_name}%{?name_ext}
-Version:1.20.1
+Version:1.20.2
 Release:0
 Summary:A review helper script for openQA
 License:MIT

++ python-openqa_review-1.20.1.obscpio -> 
python-openqa_review-1.20.2.obscpio ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/python-openqa_review-1.20.1/openqa_review/openqa_review.py 
new/python-openqa_review-1.20.2/openqa_review/openqa_review.py
--- old/python-openqa_review-1.20.1/openqa_review/openqa_review.py  
2020-07-24 12:49:26.0 +0200
+++ new/python-openqa_review-1.20.2/openqa_review/openqa_review.py  
2020-08-03 14:22:00.0 +0200
@@ -102,7 +102,6 @@
 import os.path
 import re
 import sys
-import json
 from builtins import str
 from collections import defaultdict, OrderedDict
 from configparser import ConfigParser, NoSectionError, NoOptionError  # 
isort:skip can not make isort happy here
@@ -909,7 +908,7 @@
 def _get_bugref_for_softfailed_module(self, result_item, module_name):
 details_url = '%s/file/details-%s.json' % (result_item['href'], 
module_name)
 log.debug("Retrieving '%s'" % details_url)
-details_json = 
json.loads(self.test_browser.get_soup(details_url).getText())
+details_json = self.test_browser.get_json(details_url)
 details = details_json['details'] if 'details' in details_json else 
details_json
 for field in details:
 if 'title' in field and 'Soft Fail' in field['title']:

++ python-openqa_review.obsinfo ++
--- /var/tmp/diff_new_pack.Vt7Mc6/_old  2020-08-04 20:20:11.084971806 +0200
+++ /var/tmp/diff_new_pack.Vt7Mc6/_new  2020-08-04 20:20:11.084971806 +0200
@@ -1,5 +1,5 @@
 name: python-openqa_review
-version: 1.20.1
-mtime: 1595587766
-commit: 935b63b9a536b3aa6eb76cc184fd22b3a720df86
+version: 1.20.2
+mtime: 1596457320
+commit: d02138fd922c1b799a4e3f9a5b5bf9ab9f78a228
 




commit python-openqa_review for openSUSE:Factory

2020-07-24 Thread root
Hello community,

here is the log from the commit of package python-openqa_review for 
openSUSE:Factory checked in at 2020-07-24 13:35:32

Comparing /work/SRC/openSUSE:Factory/python-openqa_review (Old)
 and  /work/SRC/openSUSE:Factory/.python-openqa_review.new.3592 (New)


Package is "python-openqa_review"

Fri Jul 24 13:35:32 2020 rev:33 rq:822609 version:1.20.1

Changes:

--- 
/work/SRC/openSUSE:Factory/python-openqa_review/python-openqa_review.changes
2020-05-28 09:15:58.196772689 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-openqa_review.new.3592/python-openqa_review.changes
  2020-07-24 13:35:50.270708050 +0200
@@ -1,0 +2,6 @@
+Fri Jul 24 10:51:24 UTC 2020 - ok...@suse.com
+
+- Update to version 1.20.1:
+  * Read text data from details JSON if present
+
+---

Old:

  python-openqa_review-1.20.0.obscpio

New:

  python-openqa_review-1.20.1.obscpio



Other differences:
--
++ python-openqa_review.spec ++
--- /var/tmp/diff_new_pack.M7j3Vl/_old  2020-07-24 13:35:52.994710759 +0200
+++ /var/tmp/diff_new_pack.M7j3Vl/_new  2020-07-24 13:35:52.998710763 +0200
@@ -31,7 +31,7 @@
 %define binaries openqa-review openqa-review-daily-email 
openqa-review-sles-ha tumblesle-release openqa-review-functional_yast_concise
 %define oldpython python
 Name:   python-%{short_name}%{?name_ext}
-Version:1.20.0
+Version:1.20.1
 Release:0
 Summary:A review helper script for openQA
 License:MIT

++ python-openqa_review-1.20.0.obscpio -> 
python-openqa_review-1.20.1.obscpio ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/python-openqa_review-1.20.0/openqa_review/openqa_review.py 
new/python-openqa_review-1.20.1/openqa_review/openqa_review.py
--- old/python-openqa_review-1.20.0/openqa_review/openqa_review.py  
2020-05-26 15:15:33.0 +0200
+++ new/python-openqa_review-1.20.1/openqa_review/openqa_review.py  
2020-07-24 12:49:26.0 +0200
@@ -913,7 +913,10 @@
 details = details_json['details'] if 'details' in details_json else 
details_json
 for field in details:
 if 'title' in field and 'Soft Fail' in field['title']:
-unformated_str = self.test_browser.get_soup('%s/file/%s' % 
(result_item['href'], quote(field['text']))).getText()
+if 'text_data' in field:
+unformated_str = field['text_data']
+else:
+unformated_str = self.test_browser.get_soup('%s/file/%s' % 
(result_item['href'], quote(field['text']))).getText()
 return re.search('Soft Failure:\n(.*)', 
unformated_str.strip()).group(1)
 elif 'properties' in field and len(field['properties']) > 0 and 
field['properties'][0] == 'workaround':
 log.debug("Evaluating potential workaround needle '%s'" % 
field['needle'])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/python-openqa_review-1.20.0/tests/tags_labels/:tests:684839:file:details-zypper_info.json
 
new/python-openqa_review-1.20.1/tests/tags_labels/:tests:684839:file:details-zypper_info.json
--- 
old/python-openqa_review-1.20.0/tests/tags_labels/:tests:684839:file:details-zypper_info.json
   2020-05-26 15:15:33.0 +0200
+++ 
new/python-openqa_review-1.20.1/tests/tags_labels/:tests:684839:file:details-zypper_info.json
   2020-07-24 12:49:26.0 +0200
@@ -10,6 +10,7 @@
   "result": "unk"
 },
 "title": "Soft Failed",
-"text": "zypper_info-4.txt"
+"text": "zypper_info-4.txt",
+"text_data": "# Soft Failure:\nfor 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 ✓"
   }
 ]
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/python-openqa_review-1.20.0/tests/tags_labels/:tests:684839:file:zypper_info-4.txt
 
new/python-openqa_review-1.20.1/tests/tags_labels/:tests:684839:file:zypper_info-4.txt
--- 
old/python-openqa_review-1.20.0/tests/tags_labels/:tests:684839:file:zypper_info-4.txt
  2020-05-26 15:15:33.0 +0200
+++ 
new/python-openqa_review-1.20.1/tests/tags_labels/:tests:684839:file:zypper_info-4.txt
  1970-01-01 01:00:00.0 +0100
@@ -1,2 +0,0 @@
-# Soft Failure:
-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 ✓

++ python-openqa_review.obsinfo ++
--- 

commit python-openqa_review for openSUSE:Factory

2020-05-28 Thread root
Hello community,

here is the log from the commit of package python-openqa_review for 
openSUSE:Factory checked in at 2020-05-28 09:15:26

Comparing /work/SRC/openSUSE:Factory/python-openqa_review (Old)
 and  /work/SRC/openSUSE:Factory/.python-openqa_review.new.3606 (New)


Package is "python-openqa_review"

Thu May 28 09:15:26 2020 rev:32 rq:809163 version:1.20.0

Changes:

--- 
/work/SRC/openSUSE:Factory/python-openqa_review/python-openqa_review.changes
2020-05-09 22:20:03.239594516 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-openqa_review.new.3606/python-openqa_review.changes
  2020-05-28 09:15:58.196772689 +0200
@@ -1,0 +2,7 @@
+Wed May 27 06:35:20 UTC 2020 - ok...@suse.com
+
+- Update to version 1.20.0:
+  * Fix 'E741 ambiguous variable name' in tests
+  * Adapt parsing of soft-failure details on openQA >= 
4.5.1528009330.e68ebe2b-3454-gd19c50d6b
+
+---

Old:

  python-openqa_review-1.19.0.obscpio

New:

  python-openqa_review-1.20.0.obscpio



Other differences:
--
++ python-openqa_review.spec ++
--- /var/tmp/diff_new_pack.vVXkdH/_old  2020-05-28 09:15:59.776776416 +0200
+++ /var/tmp/diff_new_pack.vVXkdH/_new  2020-05-28 09:15:59.776776416 +0200
@@ -31,7 +31,7 @@
 %define binaries openqa-review openqa-review-daily-email 
openqa-review-sles-ha tumblesle-release openqa-review-functional_yast_concise
 %define oldpython python
 Name:   python-%{short_name}%{?name_ext}
-Version:1.19.0
+Version:1.20.0
 Release:0
 Summary:A review helper script for openQA
 License:MIT

++ python-openqa_review-1.19.0.obscpio -> 
python-openqa_review-1.20.0.obscpio ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/python-openqa_review-1.19.0/openqa_review/openqa_review.py 
new/python-openqa_review-1.20.0/openqa_review/openqa_review.py
--- old/python-openqa_review-1.19.0/openqa_review/openqa_review.py  
2020-05-05 21:34:49.0 +0200
+++ new/python-openqa_review-1.20.0/openqa_review/openqa_review.py  
2020-05-26 15:15:33.0 +0200
@@ -889,9 +889,13 @@
 
 def _get_url_to_softfailed_module(self, job_url):
 log.debug('job_url %s' % job_url)
-url = job_url + '/details_ajax'
+url = job_url + '/module_components_ajax'
 try:
 test_details_html = 
self.test_browser.get_soup(url).find(title='Soft Failed')
+if test_details_html is None:  # pragma: no cover
+log.debug('Found older openQA, before 
https://github.com/os-autoinst/openQA/pull/3080')
+url = job_url + '/details_ajax'
+test_details_html = 
self.test_browser.get_soup(url).find(title='Soft Failed')
 except DownloadError:
 log.debug('Found older openQA, before 
https://github.com/os-autoinst/openQA/pull/2932')
 url = job_url
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/python-openqa_review-1.19.0/tests/test_openqa_review.py 
new/python-openqa_review-1.20.0/tests/test_openqa_review.py
--- old/python-openqa_review-1.19.0/tests/test_openqa_review.py 2020-05-05 
21:34:49.0 +0200
+++ new/python-openqa_review-1.20.0/tests/test_openqa_review.py 2020-05-26 
15:15:33.0 +0200
@@ -192,7 +192,7 @@
 report = str(openqa_review.generate_report(args))
 assert args.job_groups in report
 # There must be only one job group tag
-assert len([l for l in report.splitlines() if l.startswith('#')]) == 1
+assert len([line for line in report.splitlines() if line.startswith('#')]) 
== 1
 
 # Invalid name should yield assertion with helpful message
 args.job_groups = 'openSUSE Tumbleweed FOO'

++ python-openqa_review.obsinfo ++
--- /var/tmp/diff_new_pack.vVXkdH/_old  2020-05-28 09:16:00.244777521 +0200
+++ /var/tmp/diff_new_pack.vVXkdH/_new  2020-05-28 09:16:00.244777521 +0200
@@ -1,5 +1,5 @@
 name: python-openqa_review
-version: 1.19.0
-mtime: 1588707289
-commit: b1b3b110653693ee308fa41b570e6d33e8e283da
+version: 1.20.0
+mtime: 1590498933
+commit: 30c728f38d18ceb9fe797c79c1c0615ee68c46d1
 




commit python-openqa_review for openSUSE:Factory

2020-05-09 Thread root
Hello community,

here is the log from the commit of package python-openqa_review for 
openSUSE:Factory checked in at 2020-05-09 22:19:50

Comparing /work/SRC/openSUSE:Factory/python-openqa_review (Old)
 and  /work/SRC/openSUSE:Factory/.python-openqa_review.new.2738 (New)


Package is "python-openqa_review"

Sat May  9 22:19:50 2020 rev:31 rq:802238 version:1.19.0

Changes:

--- 
/work/SRC/openSUSE:Factory/python-openqa_review/python-openqa_review.changes
2020-03-09 18:34:18.358024096 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-openqa_review.new.2738/python-openqa_review.changes
  2020-05-09 22:20:03.239594516 +0200
@@ -1,0 +2,12 @@
+Sat May  9 12:27:12 UTC 2020 - Oliver Kurz 
+
+- Update test-package to use python3 variant also to fix Factory build tests
+
+---
+Tue May 05 19:40:50 UTC 2020 - ok...@suse.com
+
+- Update to version 1.19.0:
+  * Adapt parsing of soft-failure details to openQA >= 
4.5.1528009330.e68ebe2b-3120-g92a4d55ef
+  * Adapt soft-fail parsing to new details format produced by openQA
+
+---

Old:

  python-openqa_review-1.17.0.obscpio

New:

  python-openqa_review-1.19.0.obscpio



Other differences:
--
++ python-openqa_review.spec ++
--- /var/tmp/diff_new_pack.yVVGxk/_old  2020-05-09 22:20:08.023591529 +0200
+++ /var/tmp/diff_new_pack.yVVGxk/_new  2020-05-09 22:20:08.027591527 +0200
@@ -31,7 +31,7 @@
 %define binaries openqa-review openqa-review-daily-email 
openqa-review-sles-ha tumblesle-release openqa-review-functional_yast_concise
 %define oldpython python
 Name:   python-%{short_name}%{?name_ext}
-Version:1.17.0
+Version:1.19.0
 Release:0
 Summary:A review helper script for openQA
 License:MIT
@@ -40,7 +40,7 @@
 URL:https://github.com/okurz/%{short_name}
 BuildRequires:  python-rpm-macros
 %if 0%{?_test}
-BuildRequires:  %{oldpython}-%{short_name} == %{version}
+BuildRequires:  python3-%{short_name} == %{version}
 %else
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
@@ -69,7 +69,10 @@
 Obsoletes:  %{oldpython}-%{short_name} < %{version}
 %endif
 
+%if 0%{?_test}
+%else
 %python_subpackages
+%endif
 
 %description
 A review helper script for openQA. For more details look into the README file.

++ python-openqa_review-1.17.0.obscpio -> 
python-openqa_review-1.19.0.obscpio ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/python-openqa_review-1.17.0/openqa_review/openqa_review.py 
new/python-openqa_review-1.19.0/openqa_review/openqa_review.py
--- old/python-openqa_review-1.17.0/openqa_review/openqa_review.py  
2020-03-09 10:19:48.0 +0100
+++ new/python-openqa_review-1.19.0/openqa_review/openqa_review.py  
2020-05-05 21:34:49.0 +0200
@@ -888,16 +888,26 @@
 return total
 
 def _get_url_to_softfailed_module(self, job_url):
-test_details_html = 
self.test_browser.get_soup(job_url).find(title='Soft Failed')
+log.debug('job_url %s' % job_url)
+url = job_url + '/details_ajax'
+try:
+test_details_html = 
self.test_browser.get_soup(url).find(title='Soft Failed')
+except DownloadError:
+log.debug('Found older openQA, before 
https://github.com/os-autoinst/openQA/pull/2932')
+url = job_url
+test_details_html = 
self.test_browser.get_soup(url).find(title='Soft Failed')
 if test_details_html is None:
-log.debug('Could not find soft failed info box, looking for 
workaround needle in job %s' % job_url)
-test_details_html = 
self.test_browser.get_soup(job_url).find(class_='resborder_softfailed').parent
+log.debug('Could not find soft failed info box, looking for 
workaround needle in job %s' % url)
+test_details_html = 
self.test_browser.get_soup(url).find(class_='resborder_softfailed').parent
 assert test_details_html, 'Found neither soft failed info box nor 
workaround needle'
 return test_details_html.get('data-url')
 
 def _get_bugref_for_softfailed_module(self, result_item, module_name):
-details_json = 
json.loads(self.test_browser.get_soup('%s/file/details-%s.json' % 
(result_item['href'], module_name)).getText())
-for field in details_json:
+details_url = '%s/file/details-%s.json' % (result_item['href'], 
module_name)
+log.debug("Retrieving '%s'" % details_url)
+details_json = 
json.loads(self.test_browser.get_soup(details_url).getText())
+details = details_json['details'] if 'details' in 

commit python-openqa_review for openSUSE:Factory

2020-03-09 Thread root
Hello community,

here is the log from the commit of package python-openqa_review for 
openSUSE:Factory checked in at 2020-03-09 18:34:16

Comparing /work/SRC/openSUSE:Factory/python-openqa_review (Old)
 and  /work/SRC/openSUSE:Factory/.python-openqa_review.new.26092 (New)


Package is "python-openqa_review"

Mon Mar  9 18:34:16 2020 rev:30 rq:783012 version:1.17.0

Changes:

--- 
/work/SRC/openSUSE:Factory/python-openqa_review/python-openqa_review.changes
2020-01-27 20:17:23.452520813 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-openqa_review.new.26092/python-openqa_review.changes
 2020-03-09 18:34:18.358024096 +0100
@@ -1,0 +2,8 @@
+Mon Mar 09 16:12:01 UTC 2020 - ok...@suse.com
+
+- Update to version 1.17.0:
+  * Add python 3.8 to testing as in openSUSE Tumbleweed
+  * Add error message for failed ssl connections
+  * Simplify generation code of 'skipped' section
+
+---

Old:

  python-openqa_review-1.16.0.obscpio

New:

  python-openqa_review-1.17.0.obscpio



Other differences:
--
++ python-openqa_review.spec ++
--- /var/tmp/diff_new_pack.3WjhFm/_old  2020-03-09 18:34:19.754024855 +0100
+++ /var/tmp/diff_new_pack.3WjhFm/_new  2020-03-09 18:34:19.758024856 +0100
@@ -31,7 +31,7 @@
 %define binaries openqa-review openqa-review-daily-email 
openqa-review-sles-ha tumblesle-release openqa-review-functional_yast_concise
 %define oldpython python
 Name:   python-%{short_name}%{?name_ext}
-Version:1.16.0
+Version:1.17.0
 Release:0
 Summary:A review helper script for openQA
 License:MIT

++ python-openqa_review-1.16.0.obscpio -> 
python-openqa_review-1.17.0.obscpio ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-openqa_review-1.16.0/.travis.yml 
new/python-openqa_review-1.17.0/.travis.yml
--- old/python-openqa_review-1.16.0/.travis.yml 2020-01-21 22:44:30.0 
+0100
+++ new/python-openqa_review-1.17.0/.travis.yml 2020-03-09 10:19:48.0 
+0100
@@ -4,6 +4,7 @@
   - "2.7"
   - "3.6"
   - "3.7"
+  - "3.8"
 install: pip install tox-travis
 script: tox
 
@@ -17,4 +18,4 @@
   on:
 tags: true
 branch: master
-python: '3.7'
+python: '3.8'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-openqa_review-1.16.0/openqa_review/browser.py 
new/python-openqa_review-1.17.0/openqa_review/browser.py
--- old/python-openqa_review-1.16.0/openqa_review/browser.py2020-01-21 
22:44:30.0 +0100
+++ new/python-openqa_review-1.17.0/openqa_review/browser.py2020-03-09 
10:19:48.0 +0100
@@ -9,7 +9,8 @@
 import os.path
 import sys
 import errno
-from urllib.parse import quote, unquote, urljoin
+from urllib.parse import quote, unquote, urljoin, urlparse
+import ssl
 
 import requests
 from bs4 import BeautifulSoup
@@ -111,6 +112,24 @@
 for i in range(1, 7):
 try:
 r = requests.get(url, auth=self.auth)
+except requests.exceptions.SSLError as e:
+try:
+import OpenSSL
+except ImportError:
+raise e
+# as we go one layer deeper from http now, we're just 
interested in the hostname
+server_name = urlparse(url).netloc
+cert = ssl.get_server_certificate((server_name, 443))
+x509 = 
OpenSSL.crypto.load_certificate(OpenSSL.crypto.FILETYPE_PEM, cert)
+issuer_components = x509.get_issuer().get_components()
+# we're only interested in the b'O'rganizational unit
+issuers = filter(lambda component: component[0] == b'O', 
issuer_components)
+issuer = next(issuers)[1].decode('utf-8', 'ignore')
+sha1digest = x509.digest('sha1').decode('utf-8', 'ignore')
+sha256digest = x509.digest('sha256').decode('utf-8', 'ignore')
+msg = 'Certificate for "%s" from "%s" (sha1: %s, sha256 %s) is 
not trusted by the system' % (server_name, issuer, sha1digest, sha256digest)
+log.error(msg)
+raise DownloadError(msg)
 except requests.exceptions.ConnectionError:
 log.info('Connection error encountered accessing %s, retrying 
try %s' % (url, i))
 continue
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/python-openqa_review-1.16.0/openqa_review/openqa_review.py 
new/python-openqa_review-1.17.0/openqa_review/openqa_review.py
--- old/python-openqa_review-1.16.0/openqa_review/openqa_review.py  
2020-01-21 

commit python-openqa_review for openSUSE:Factory

2020-01-27 Thread root
Hello community,

here is the log from the commit of package python-openqa_review for 
openSUSE:Factory checked in at 2020-01-27 20:17:07

Comparing /work/SRC/openSUSE:Factory/python-openqa_review (Old)
 and  /work/SRC/openSUSE:Factory/.python-openqa_review.new.26092 (New)


Package is "python-openqa_review"

Mon Jan 27 20:17:07 2020 rev:29 rq:767592 version:1.16.0

Changes:

--- 
/work/SRC/openSUSE:Factory/python-openqa_review/python-openqa_review.changes
2019-10-02 11:58:45.291053349 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-openqa_review.new.26092/python-openqa_review.changes
 2020-01-27 20:17:23.452520813 +0100
@@ -1,0 +2,9 @@
+Mon Jan 27 08:52:34 UTC 2020 - ok...@suse.com
+
+- Update to version 1.16.0:
+  * Fix error on repeated test modules when reading out details from soft-fail 
bugrefs
+  * Fix failed assertion on build with only incompletes
+  * Rely only on POSIX 'command -v' rather than non-standard which
+  * In the bug reminder comment explain options to prevent further reminders
+
+---

Old:

  python-openqa_review-1.15.0.obscpio

New:

  python-openqa_review-1.16.0.obscpio



Other differences:
--
++ python-openqa_review.spec ++
--- /var/tmp/diff_new_pack.APX7cF/_old  2020-01-27 20:17:25.75650 +0100
+++ /var/tmp/diff_new_pack.APX7cF/_new  2020-01-27 20:17:25.784522237 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -31,13 +31,13 @@
 %define binaries openqa-review openqa-review-daily-email 
openqa-review-sles-ha tumblesle-release openqa-review-functional_yast_concise
 %define oldpython python
 Name:   python-%{short_name}%{?name_ext}
-Version:1.15.0
+Version:1.16.0
 Release:0
 Summary:A review helper script for openQA
 License:MIT
 Group:  Development/Languages/Python
 Source: python-%{short_name}-%{version}.tar.xz
-Url:https://github.com/okurz/%{short_name}
+URL:https://github.com/okurz/%{short_name}
 BuildRequires:  python-rpm-macros
 %if 0%{?_test}
 BuildRequires:  %{oldpython}-%{short_name} == %{version}

++ python-openqa_review-1.15.0.obscpio -> 
python-openqa_review-1.16.0.obscpio ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-openqa_review-1.15.0/bin/dashboard 
new/python-openqa_review-1.16.0/bin/dashboard
--- old/python-openqa_review-1.15.0/bin/dashboard   2019-09-30 
22:58:26.0 +0200
+++ new/python-openqa_review-1.16.0/bin/dashboard   2020-01-21 
22:44:30.0 +0100
@@ -5,7 +5,7 @@
 
 TPL="${TPL:-"dashboard_files/dashboard.html.in"}"
 OUT="${OUT:-"dashboard.html"}"
-if which openqa-review >/dev/null 2>&1 ; then
+if command -v openqa-review >/dev/null ; then
 OPENQA_REVIEW="${OPENQA_REVIEW:-"openqa-review"}"
 else
 OPENQA_REVIEW="${OPENQA_REVIEW:-"./openqa_review/openqa_review.py"}"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/python-openqa_review-1.15.0/bin/openqa-review-daily-email 
new/python-openqa_review-1.16.0/bin/openqa-review-daily-email
--- old/python-openqa_review-1.15.0/bin/openqa-review-daily-email   
2019-09-30 22:58:26.0 +0200
+++ new/python-openqa_review-1.16.0/bin/openqa-review-daily-email   
2020-01-21 22:44:30.0 +0100
@@ -18,7 +18,7 @@
 # and if we call it here and also in a later step we would end up with
 # duplicate reminder comments
 
openqa_review_save_args="${openqa_review_save_args:-"--reminder-comment-on-issues
 --save --save-dir ${tmp}"}"
-openqa_review="${openqa_review:-"$(which openqa-review)"}"
+openqa_review="${openqa_review:-"$(command -v openqa-review)"}"
 TPL="${TPL:-"$(dirname $0)/../dashboard_files/dashboard.html.in"}"
 # We have to preserve the '$@' until here to prevent too early evaluation of 
parameters with spaces
 save_report="$(${openqa_review} ${openqa_review_args} 
${openqa_review_save_args} "$@")"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/python-openqa_review-1.15.0/openqa_review/openqa_review.py 
new/python-openqa_review-1.16.0/openqa_review/openqa_review.py
--- old/python-openqa_review-1.15.0/openqa_review/openqa_review.py  
2019-09-30 22:58:26.0 +0200
+++ new/python-openqa_review-1.16.0/openqa_review/openqa_review.py  
2020-01-21 22:44:30.0 +0100
@@ -192,6 +192,11 @@
 
 This bug is still referenced in 

commit python-openqa_review for openSUSE:Factory

2019-10-02 Thread root
Hello community,

here is the log from the commit of package python-openqa_review for 
openSUSE:Factory checked in at 2019-10-02 11:58:42

Comparing /work/SRC/openSUSE:Factory/python-openqa_review (Old)
 and  /work/SRC/openSUSE:Factory/.python-openqa_review.new.2352 (New)


Package is "python-openqa_review"

Wed Oct  2 11:58:42 2019 rev:28 rq:734161 version:1.15.0

Changes:

--- 
/work/SRC/openSUSE:Factory/python-openqa_review/python-openqa_review.changes
2018-12-24 11:47:48.209112150 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-openqa_review.new.2352/python-openqa_review.changes
  2019-10-02 11:58:45.291053349 +0200
@@ -1,0 +2,23 @@
+Mon Sep 30 21:06:47 UTC 2019 - ok...@suse.com
+
+- Update to version 1.15.0:
+  * Fix new style check Q003 about quotes
+  * Update tested python versions to 3.6 (Leap), 3.7 (Tumbleweed)
+  * Use consistent single-tick default quoting style
+  * Also skip output of "Skipped tests" when option for skipping empty is 
enabled
+  * Fix superfluous blank line in output after "Skipped tests"
+  * Fix deprecation warning about "log.warn"
+  * Delete superfluous blank line
+  * Use same text format for "Skipped tests" as for "issues" and "bugs"
+  * Fix all style issues introduced by PR #119 and #121
+  * Fix tests for pika 1.0
+  * Skipped tests includes links
+  * Fix output of 'type' for debugging
+  * Another try to fix ASCII encoding errors in python2
+  * Add testdata for unicode signs *everywhere*
+  * Fix sporadic ASCII encoding errors in python2 on complete report
+  * openqa-review-daily-email: Save time by skipping report-links
+  * openqa-review-daily-email: Allow to override the temporary output directory
+  * Fix style for flake 3.7.5
+
+---

Old:

  python-openqa_review-1.14.1.obscpio

New:

  python-openqa_review-1.15.0.obscpio



Other differences:
--
++ python-openqa_review.spec ++
--- /var/tmp/diff_new_pack.YS9CiG/_old  2019-10-02 11:58:46.083051319 +0200
+++ /var/tmp/diff_new_pack.YS9CiG/_new  2019-10-02 11:58:46.087051309 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 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
@@ -31,7 +31,7 @@
 %define binaries openqa-review openqa-review-daily-email 
openqa-review-sles-ha tumblesle-release openqa-review-functional_yast_concise
 %define oldpython python
 Name:   python-%{short_name}%{?name_ext}
-Version:1.14.1
+Version:1.15.0
 Release:0
 Summary:A review helper script for openQA
 License:MIT

++ python-openqa_review-1.14.1.obscpio -> 
python-openqa_review-1.15.0.obscpio ++
 11784 lines of diff (skipped)

++ python-openqa_review.obsinfo ++
--- /var/tmp/diff_new_pack.YS9CiG/_old  2019-10-02 11:58:46.447050386 +0200
+++ /var/tmp/diff_new_pack.YS9CiG/_new  2019-10-02 11:58:46.447050386 +0200
@@ -1,5 +1,5 @@
 name: python-openqa_review
-version: 1.14.1
-mtime: 1545125551
-commit: bb61b9a83b63ccf21478a12128bd4ac042963b44
+version: 1.15.0
+mtime: 1569877106
+commit: a28a115190a55cfee6db7d23540a0c7b34e141d3
 




commit python-openqa_review for openSUSE:Factory

2018-12-24 Thread root
Hello community,

here is the log from the commit of package python-openqa_review for 
openSUSE:Factory checked in at 2018-12-24 11:47:46

Comparing /work/SRC/openSUSE:Factory/python-openqa_review (Old)
 and  /work/SRC/openSUSE:Factory/.python-openqa_review.new.28833 (New)


Package is "python-openqa_review"

Mon Dec 24 11:47:46 2018 rev:27 rq:660710 version:1.14.1

Changes:

--- 
/work/SRC/openSUSE:Factory/python-openqa_review/python-openqa_review.changes
2018-11-15 12:41:13.014197616 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-openqa_review.new.28833/python-openqa_review.changes
 2018-12-24 11:47:48.209112150 +0100
@@ -1,0 +2,20 @@
+Sat Dec 22 15:50:32 UTC 2018 - ok...@suse.com
+
+- Update to version 1.14.1:
+  * Fix path to openqa-review-functional_yast_conice
+  * openqa-review-functional_yast_concise: Adapt job group name to recent 
changes on OSD
+  * Use version compare algo to compare builds
+  * Fix python style checks for new flake8
+  * Adapt upstream target to os-autoinst
+  * Add test for multi-version build_compare_urls
+  * Use 'key' instead of 'build' for comparison
+  * .travis.yml: Try to fix repeated pypi deployment tries in all python 
versions
+  * dashboard: Provide explanation on top as requested
+  * dashboard: Try to discover the template file from current dir
+
+---
+Mon Dec 10 13:50:02 UTC 2018 - ok...@suse.com
+
+- Adapt upstream target to os-autoinst
+
+---

Old:

  python-openqa_review-1.13.1.obscpio

New:

  python-openqa_review-1.14.1.obscpio



Other differences:
--
++ python-openqa_review.spec ++
--- /var/tmp/diff_new_pack.pwNjd5/_old  2018-12-24 11:47:48.733111690 +0100
+++ /var/tmp/diff_new_pack.pwNjd5/_new  2018-12-24 11:47:48.733111690 +0100
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -28,10 +28,10 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define short_name openqa_review
-%define binaries openqa-review openqa-review-daily-email 
openqa-review-sles-ha tumblesle-release 
openqa-review-functional_autoyast_concise
+%define binaries openqa-review openqa-review-daily-email 
openqa-review-sles-ha tumblesle-release openqa-review-functional_yast_concise
 %define oldpython python
 Name:   python-%{short_name}%{?name_ext}
-Version:1.13.1
+Version:1.14.1
 Release:0
 Summary:A review helper script for openQA
 License:MIT
@@ -120,7 +120,7 @@
 %python_alternative %{_bindir}/openqa-review
 %python_alternative %{_bindir}/openqa-review-sles-ha
 %python_alternative %{_bindir}/openqa-review-daily-email
-%python_alternative %{_bindir}/openqa-review-functional_autoyast_concise
+%python_alternative %{_bindir}/openqa-review-functional_yast_concise
 %python_alternative %{_bindir}/tumblesle-release
 
 %endif

++ _service ++
--- /var/tmp/diff_new_pack.pwNjd5/_old  2018-12-24 11:47:48.76665 +0100
+++ /var/tmp/diff_new_pack.pwNjd5/_new  2018-12-24 11:47:48.76665 +0100
@@ -2,7 +2,7 @@
   
 python-openqa_review
 @PARENT_TAG@
-git://github.com/okurz/openqa_review.git
+git://github.com/os-autoinst/openqa_review.git
 git
 master
 enable

++ python-openqa_review-1.13.1.obscpio -> 
python-openqa_review-1.14.1.obscpio ++
 13340 lines of diff (skipped)

++ python-openqa_review.obsinfo ++
--- /var/tmp/diff_new_pack.pwNjd5/_old  2018-12-24 11:47:49.125111346 +0100
+++ /var/tmp/diff_new_pack.pwNjd5/_new  2018-12-24 11:47:49.125111346 +0100
@@ -1,5 +1,5 @@
 name: python-openqa_review
-version: 1.13.1
-mtime: 1542203904
-commit: 47a907bb5f4dfe3c5e7fe29c5803c11f51de060e
+version: 1.14.1
+mtime: 1545125551
+commit: bb61b9a83b63ccf21478a12128bd4ac042963b44
 




commit python-openqa_review for openSUSE:Factory

2018-11-15 Thread root
Hello community,

here is the log from the commit of package python-openqa_review for 
openSUSE:Factory checked in at 2018-11-15 12:41:08

Comparing /work/SRC/openSUSE:Factory/python-openqa_review (Old)
 and  /work/SRC/openSUSE:Factory/.python-openqa_review.new (New)


Package is "python-openqa_review"

Thu Nov 15 12:41:08 2018 rev:26 rq:648990 version:1.13.1

Changes:

--- 
/work/SRC/openSUSE:Factory/python-openqa_review/python-openqa_review.changes
2018-09-24 13:13:33.865675176 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-openqa_review.new/python-openqa_review.changes
   2018-11-15 12:41:13.014197616 +0100
@@ -1,0 +2,9 @@
+Wed Nov 14 14:01:40 UTC 2018 - ok...@suse.com
+
+- Update to version 1.13.1:
+  * dashboard: Provide explanation on top as requested
+  * dashboard: Try to discover the template file from current dir
+  * dashboard: Replace the fake openQA footer with an explanation of the 
report content
+  * Handle connection error while sending POST
+
+---

Old:

  python-openqa_review-1.13.0.obscpio

New:

  python-openqa_review-1.13.1.obscpio



Other differences:
--
++ python-openqa_review.spec ++
--- /var/tmp/diff_new_pack.xuUwBa/_old  2018-11-15 12:41:13.682196855 +0100
+++ /var/tmp/diff_new_pack.xuUwBa/_new  2018-11-15 12:41:13.682196855 +0100
@@ -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.13.0
+Version:1.13.1
 Release:0
 Summary:A review helper script for openQA
 License:MIT

++ python-openqa_review-1.13.0.obscpio -> 
python-openqa_review-1.13.1.obscpio ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/python-openqa_review-1.13.0/bin/openqa-review-daily-email 
new/python-openqa_review-1.13.1/bin/openqa-review-daily-email
--- old/python-openqa_review-1.13.0/bin/openqa-review-daily-email   
2018-09-22 12:12:52.0 +0200
+++ new/python-openqa_review-1.13.1/bin/openqa-review-daily-email   
2018-11-14 14:58:24.0 +0100
@@ -17,7 +17,7 @@
 # duplicate reminder comments
 openqa_review_save_args="${openqa_review_save_args:-"--report-links 
--reminder-comment-on-issues --save --save-dir ${tmp}"}"
 openqa_review="${openqa_review:-"$(which openqa-review)"}"
-TPL="${TPL:-"dashboard_files/dashboard.html.in"}"
+TPL="${TPL:-"$(dirname $0)/../dashboard_files/dashboard.html.in"}"
 # We have to preserve the '$@' until here to prevent too early evaluation of 
parameters with spaces
 save_report="$(${openqa_review} ${openqa_review_args} 
${openqa_review_save_args} "$@")"
 email_report="$(${openqa_review} $openqa_review_args $openqa_review_email_args 
"$@")"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/python-openqa_review-1.13.0/dashboard_files/dashboard.html.in 
new/python-openqa_review-1.13.1/dashboard_files/dashboard.html.in
--- old/python-openqa_review-1.13.0/dashboard_files/dashboard.html.in   
2018-09-22 12:12:52.0 +0200
+++ new/python-openqa_review-1.13.1/dashboard_files/dashboard.html.in   
2018-11-14 14:58:24.0 +0100
@@ -75,18 +75,25 @@
 
 
 
+
+  
+  Explanation for the status fields:
+  The status Green/Amber/Red is set simply based on the number of
+  failed test scenarios. If there are any issues reported as "New
+  Issues", i.e. have not been seen in the reference build, the
+  status is always considered "Red". "Amber" when there are
+  multiple, existing issues, "Green" otherwise.
+  
+  
+  Special sections simply repeat the corresponding status from the 
complete report above.
+  
+  
+  Any feedback regarding the script processing or contact can be 
communicated using issues on the github repo https://github.com/okurz/openqa_review;>okurz/openqa_review or 
directly to ok...@suse.de
+  
+
 
 
 ${TPL_OPENQA_CONTENT}
 
   
-
-  
-
-  
-  openQA is licensed
-  https://github.com/os-autoinst/openQA;>GPL-2.0
-  
-
-  
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-openqa_review-1.13.0/openqa_review/browser.py 
new/python-openqa_review-1.13.1/openqa_review/browser.py
--- old/python-openqa_review-1.13.0/openqa_review/browser.py2018-09-22 
12:12:52.0 +0200
+++ 

commit python-openqa_review for openSUSE:Factory

2018-09-24 Thread root
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 - ok...@suse.com
+
+- 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.py2018-07-25 
07:59:04.0 +0200
+++ new/python-openqa_review-1.13.0/openqa_review/browser.py2018-09-22 
12:12:52.0 +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.0 +0200
+++ new/python-openqa_review-1.13.0/openqa_review/openqa_review.py  
2018-09-22 12:12:52.0 +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(')', '') if 
self.subject else ''
-bugref_str = 

commit python-openqa_review for openSUSE:Factory

2018-07-27 Thread root
Hello community,

here is the log from the commit of package python-openqa_review for 
openSUSE:Factory checked in at 2018-07-27 10:56:02

Comparing /work/SRC/openSUSE:Factory/python-openqa_review (Old)
 and  /work/SRC/openSUSE:Factory/.python-openqa_review.new (New)


Package is "python-openqa_review"

Fri Jul 27 10:56:02 2018 rev:24 rq:625324 version:1.12.1

Changes:

--- 
/work/SRC/openSUSE:Factory/python-openqa_review/python-openqa_review.changes
2018-07-12 09:21:51.126644044 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-openqa_review.new/python-openqa_review.changes
   2018-07-27 10:56:04.405627200 +0200
@@ -1,0 +2,9 @@
+Wed Jul 25 07:03:33 UTC 2018 - ok...@suse.com
+
+- Update to version 1.12.1:
+  * Fix problem introduced in 4189852 parsing the URL parameter
+  * Fix non-ascii characters in external references
+  * Fix report_link for pre-4.6
+  * Add backwards-compatible support for pre-4.6 openQA
+
+---

Old:

  python-openqa_review-1.11.0.obscpio

New:

  python-openqa_review-1.12.1.obscpio



Other differences:
--
++ python-openqa_review.spec ++
--- /var/tmp/diff_new_pack.Tr3Jik/_old  2018-07-27 10:56:05.161628647 +0200
+++ /var/tmp/diff_new_pack.Tr3Jik/_new  2018-07-27 10:56:05.165628655 +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.11.0
+Version:1.12.1
 Release:0
 Summary:A review helper script for openQA
 License:MIT

++ _update.sh ++
--- /var/tmp/diff_new_pack.Tr3Jik/_old  2018-07-27 10:56:05.189628700 +0200
+++ /var/tmp/diff_new_pack.Tr3Jik/_new  2018-07-27 10:56:05.193628709 +0200
@@ -1,11 +1,9 @@
 #!/bin/sh -e
 osc up
+osc rm *.obscpio
 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
-rm *.tar.xz
-osc rm *.tar.gz
-osc service localrun download_files
-osc add *.tar.gz
+sc add *.obscpio
 osc ci -m "Update to $version"
 osc sr -m "Update to $version"

++ python-openqa_review-1.11.0.obscpio -> 
python-openqa_review-1.12.1.obscpio ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/python-openqa_review-1.11.0/openqa_review/openqa_review.py 
new/python-openqa_review-1.12.1/openqa_review/openqa_review.py
--- old/python-openqa_review-1.11.0/openqa_review/openqa_review.py  
2018-07-11 07:55:36.0 +0200
+++ new/python-openqa_review-1.12.1/openqa_review/openqa_review.py  
2018-07-25 07:59:04.0 +0200
@@ -89,7 +89,7 @@
 
 # Python 2 and 3: easiest option
 # see http://python-future.org/compatible_idioms.html
-from __future__ import absolute_import
+from __future__ import absolute_import, unicode_literals
 from future.standard_library import install_aliases  # isort:skip to keep 
'install_aliases()'
 install_aliases()
 from future.utils import iteritems
@@ -101,6 +101,7 @@
 import re
 import sys
 import json
+from builtins import str
 from collections import defaultdict, OrderedDict
 from configparser import ConfigParser, NoSectionError, NoOptionError  # 
isort:skip can not make isort happy here
 from requests.exceptions import HTTPError
@@ -489,7 +490,7 @@
 return name, url, details
 
 
-def issue_report_link(root_url, f, test_browser=None):
+def issue_report_link(root_url, f, test_browser=None):  # noqa: C901  # too 
complex, we might want to remove this function anyway as openQA has it already
 """Generate a bug reporting link for the current issue."""
 # always select the first failed module.
 # It might not be the fatal one but better be safe and assume the first
@@ -500,11 +501,20 @@
 overview_params = parse_qs(current_build_overview[-1])
 group = overview_params['groupid'][0]
 build = overview_params['build'][0]
-scenario_div = test_details_page.find(class_='next_previous').div.div
-scenario = re.findall('Next & previous results for (.*) \(', 
scenario_div.text)[0]
+try:
+scenario_div = test_details_page.find(class_='next_previous').div.div
+scenario = re.findall('Next & previous results for (.*) \(', 
scenario_div.text)[0]
+except AttributeError:  # pragma: no cover
+# pre-4.6
+scenario_div = test_details_page.find(class_='previous').div.div
+scenario = re.findall('[Rr]esults for (.*) \(', scenario_div.text)[0]
 latest_link = absolute_url(root_url, scenario_div.a)
 module, url, details = 

commit python-openqa_review for openSUSE:Factory

2018-07-12 Thread root
Hello community,

here is the log from the commit of package python-openqa_review for 
openSUSE:Factory checked in at 2018-07-12 09:20:16

Comparing /work/SRC/openSUSE:Factory/python-openqa_review (Old)
 and  /work/SRC/openSUSE:Factory/.python-openqa_review.new (New)


Package is "python-openqa_review"

Thu Jul 12 09:20:16 2018 rev:23 rq:622059 version:1.11.0

Changes:

--- 
/work/SRC/openSUSE:Factory/python-openqa_review/python-openqa_review.changes
2018-05-29 16:47:37.830072274 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-openqa_review.new/python-openqa_review.changes
   2018-07-12 09:21:51.126644044 +0200
@@ -1,0 +2,20 @@
+Wed Jul 11 06:56:41 UTC 2018 - ok...@suse.com
+
+- Update to version 1.11.0:
+  * Fix workaround bugref not detected on string after bugref
+  * tox.ini: Specify pika as test dependency for tox environment "cov"
+  * Adapt script to the openQA layout changes
+  * Fix report filter for issues with not valid bugref
+  * Test filter report  with not valid bugref
+  * Fix reminder comment when issue type is not valid
+  * Test reminder comment when issue type is not valid
+  * Fix report generation for issues without bugid
+  * Test if issue without bugid processed correctly
+  * Add request retry on HTTP error 504
+  * Add soft-fails without bugref to openqa report
+  * Add test data for softfailed test without bugref
+  * Add hint for custom CA store locations
+  * Process poo#0/boo#0/bsc#0 ticket labels
+- Switch package build to obs_scm service
+
+---

Old:

  python-openqa_review-1.10.1.tar.gz

New:

  python-openqa_review-1.11.0.obscpio
  python-openqa_review.obsinfo



Other differences:
--
++ python-openqa_review.spec ++
--- /var/tmp/diff_new_pack.nAdA1P/_old  2018-07-12 09:21:51.626644743 +0200
+++ /var/tmp/diff_new_pack.nAdA1P/_new  2018-07-12 09:21:51.626644743 +0200
@@ -31,16 +31,16 @@
 %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.10.1
+Version:1.11.0
 Release:0
 Summary:A review helper script for openQA
 License:MIT
 Group:  Development/Languages/Python
-Source: 
https://github.com/okurz/%{short_name}/archive/%{version}.tar.gz#/python-%{short_name}-%{version}.tar.gz
+Source: python-%{short_name}-%{version}.tar.xz
 Url:https://github.com/okurz/%{short_name}
 BuildRequires:  python-rpm-macros
 %if 0%{?_test}
-BuildRequires:  %{oldpython}-%{short_name}
+BuildRequires:  %{oldpython}-%{short_name} == %{version}
 %else
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
@@ -80,7 +80,7 @@
 # reason
 touch %{_sourcedir}/%{short_name}
 %else
-%setup -q -n %{short_name}-%{version}
+%setup -q
 # delete shebang of files not in executable path
 find %{short_name}/ -name '*.py' -print0 | xargs -0 sed -i '1s/#!.*$//'
 %endif

++ _service ++
--- /var/tmp/diff_new_pack.nAdA1P/_old  2018-07-12 09:21:51.662644794 +0200
+++ /var/tmp/diff_new_pack.nAdA1P/_new  2018-07-12 09:21:51.662644794 +0200
@@ -1,5 +1,5 @@
 
-  
+  
 python-openqa_review
 @PARENT_TAG@
 git://github.com/okurz/openqa_review.git
@@ -8,9 +8,10 @@
 enable
 ok...@suse.com
   
-  
+  
+  
+  
 xz
 *.tar
   
-  
 

++ python-openqa_review.obsinfo ++
name: python-openqa_review
version: 1.11.0
mtime: 1531288536
commit: c73bfc6bf6604a3e28002832da3dc00d2042ed0b




commit python-openqa_review for openSUSE:Factory

2018-05-29 Thread root
Hello community,

here is the log from the commit of package python-openqa_review for 
openSUSE:Factory checked in at 2018-05-29 16:47:36

Comparing /work/SRC/openSUSE:Factory/python-openqa_review (Old)
 and  /work/SRC/openSUSE:Factory/.python-openqa_review.new (New)


Package is "python-openqa_review"

Tue May 29 16:47:36 2018 rev:22 rq:605874 version:1.10.1

Changes:

--- 
/work/SRC/openSUSE:Factory/python-openqa_review/python-openqa_review.changes
2018-05-04 11:29:56.854780360 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-openqa_review.new/python-openqa_review.changes
   2018-05-29 16:47:37.830072274 +0200
@@ -1,0 +2,7 @@
+Wed May 09 18:45:40 UTC 2018 - ok...@suse.com
+
+- Update to version 1.10.1:
+  * Fix parsing of failedmodules for bootstrap4
+  * Align travis python test versions to tox.ini
+
+---

Old:

  python-openqa_review-1.10.0.tar.gz

New:

  python-openqa_review-1.10.1.tar.gz



Other differences:
--
++ python-openqa_review.spec ++
--- /var/tmp/diff_new_pack.QpbIsf/_old  2018-05-29 16:47:38.438049900 +0200
+++ /var/tmp/diff_new_pack.QpbIsf/_new  2018-05-29 16:47:38.438049900 +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.10.0
+Version:1.10.1
 Release:0
 Summary:A review helper script for openQA
 License:MIT

++ python-openqa_review-1.10.0.tar.gz -> python-openqa_review-1.10.1.tar.gz 
++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/openqa_review-1.10.0/.travis.yml 
new/openqa_review-1.10.1/.travis.yml
--- old/openqa_review-1.10.0/.travis.yml2018-02-09 14:34:50.0 
+0100
+++ new/openqa_review-1.10.1/.travis.yml2018-04-27 12:01:41.0 
+0200
@@ -3,7 +3,7 @@
 python:
   - "2.7"
   - "3.4"
-  - "3.5"
+  - "3.6"
 install: pip install tox-travis
 script: tox
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/openqa_review-1.10.0/openqa_review/openqa_review.py 
new/openqa_review-1.10.1/openqa_review/openqa_review.py
--- old/openqa_review-1.10.0/openqa_review/openqa_review.py 2018-02-09 
14:34:50.0 +0100
+++ new/openqa_review-1.10.1/openqa_review/openqa_review.py 2018-04-27 
12:01:41.0 +0200
@@ -246,8 +246,16 @@
 
 def get_test_details(entry):
 failedmodules = entry.find_all(class_='failedmodule')
+
+def find_module_href(m):
+# optional fallback to old openQA code, 4.5, pre bootstrap4
+try:
+return m['href']
+except KeyError:
+return m.a['href']
+
 return {'href': entry.a['href'],
-'failedmodules': [{'href': m.a['href'], 'name': m.text.strip(), 
'needles': get_failed_needles(m)} for m in failedmodules]
+'failedmodules': [{'href': find_module_href(m), 'name': 
m.text.strip(), 'needles': get_failed_needles(m)} for m in failedmodules]
 }
 
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/openqa_review-1.10.0/tests/openqa_4.5_dashboard/:tests:overview%3Fdistri%3Dkubic%26version%3DTumbleweed%26build%3D20180423%26groupid%3D41
 
new/openqa_review-1.10.1/tests/openqa_4.5_dashboard/:tests:overview%3Fdistri%3Dkubic%26version%3DTumbleweed%26build%3D20180423%26groupid%3D41
--- 
old/openqa_review-1.10.0/tests/openqa_4.5_dashboard/:tests:overview%3Fdistri%3Dkubic%26version%3DTumbleweed%26build%3D20180423%26groupid%3D41
   1970-01-01 01:00:00.0 +0100
+++ 
new/openqa_review-1.10.1/tests/openqa_4.5_dashboard/:tests:overview%3Fdistri%3Dkubic%26version%3DTumbleweed%26build%3D20180423%26groupid%3D41
   2018-04-27 12:01:41.0 +0200
@@ -0,0 +1,70 @@
+
+
+   
+  
+  
+
+
+
+Test result overview
+
+
+Overall Summary of
+Development Kubic
+build 20180423
+
+
+Passed: 0
+
+Failed: 1
+
+
+
+Flavor: DVD
+
+
+
+Test
+x86_64
+
+
+
+
+
+MicroOS-autoyast-minimal
+
+
+
+
+
+ 
+ 
+ 
+ 
+ 
+
+
+
+installation
+
+
+ 
+
+
+
+
+
+
+
+
+  
+  
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 

commit python-openqa_review for openSUSE:Factory

2018-05-04 Thread root
Hello community,

here is the log from the commit of package python-openqa_review for 
openSUSE:Factory checked in at 2018-05-04 11:29:42

Comparing /work/SRC/openSUSE:Factory/python-openqa_review (Old)
 and  /work/SRC/openSUSE:Factory/.python-openqa_review.new (New)


Package is "python-openqa_review"

Fri May  4 11:29:42 2018 rev:21 rq:603181 version:1.10.0

Changes:

--- 
/work/SRC/openSUSE:Factory/python-openqa_review/python-openqa_review.changes
2018-02-10 17:58:21.863703907 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-openqa_review.new/python-openqa_review.changes
   2018-05-04 11:29:56.854780360 +0200
@@ -1,0 +2,5 @@
+Wed May  2 15:45:13 UTC 2018 - tchva...@suse.com
+
+- Move install call on proper location
+
+---



Other differences:
--
++ python-openqa_review.spec ++
--- /var/tmp/diff_new_pack.LdNyos/_old  2018-05-04 11:29:57.402760255 +0200
+++ /var/tmp/diff_new_pack.LdNyos/_new  2018-05-04 11:29:57.406760109 +0200
@@ -93,11 +93,11 @@
 %python_build
 %endif
 
+%install
 %if 0%{?_test}
 # disable debug packages in package test to prevent error about missing files
 %define debug_package %{nil}
 %else
-%install
 %python_install
 rm %{buildroot}/%{python_sitelib}/version.*
 




commit python-openqa_review for openSUSE:Factory

2018-02-10 Thread root
Hello community,

here is the log from the commit of package python-openqa_review for 
openSUSE:Factory checked in at 2018-02-10 17:58:21

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 Feb 10 17:58:21 2018 rev:20 rq:574664 version:1.10.0

Changes:

--- 
/work/SRC/openSUSE:Factory/python-openqa_review/python-openqa_review.changes
2018-01-20 11:27:47.177359463 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-openqa_review.new/python-openqa_review.changes
   2018-02-10 17:58:21.863703907 +0100
@@ -1,0 +2,26 @@
+Fri Feb 09 13:31:37 UTC 2018 - ok...@suse.com
+
+- Update to version 1.10.0:
+  * Add helper script for SLE15 functional+autoyast concise report
+  * Reference new review wrapper script in setup.py
+
+---
+Thu Feb  8 09:26:55 UTC 2018 - ok...@suse.com
+
+- Adapt license file location according to new suggestion around %license
+
+---
+Wed Feb 07 16:21:34 UTC 2018 - ok...@suse.com
+
+- Update to version 1.9.0:
+  * openqa-review-daily-email: Fix passing of additional options with 
whitespace
+  * Add two options to further abbreviate condensed reports
+  * Include difference in numbers on verbosity level above 3
+  * Correct optional code for updating reference reports
+  * Encode severity together with priority for ticket references
+  * Mark closed tickets as red
+  * setup.py: Fix flake8 reported style issues with explicit except
+  * setup.py: Catch errors as reported on no version.py from OBS build
+  * setup.py: python2 backward cruft/craft
+
+---

Old:

  python-openqa_review-1.8.3.tar.gz

New:

  python-openqa_review-1.10.0.tar.gz



Other differences:
--
++ python-openqa_review.spec ++
--- /var/tmp/diff_new_pack.BGprGo/_old  2018-02-10 17:58:22.527679871 +0100
+++ /var/tmp/diff_new_pack.BGprGo/_new  2018-02-10 17:58:22.531679726 +0100
@@ -19,17 +19,19 @@
 # Define just "test" as a package in _multibuild file to distinguish test
 # instructions here
 %if "@BUILD_FLAVOR@" == ""
-%bcond_with test
+%define _test 0
+%define name_ext %nil
 %else
-%bcond_without test
+%define _test 1
+%define name_ext -test
 %endif
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define short_name openqa_review
-%define binaries openqa-review openqa-review-daily-email 
openqa-review-sles-ha tumblesle-release
+%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.8.3
+Version:1.10.0
 Release:0
 Summary:A review helper script for openQA
 License:MIT
@@ -37,7 +39,7 @@
 Source: 
https://github.com/okurz/%{short_name}/archive/%{version}.tar.gz#/python-%{short_name}-%{version}.tar.gz
 Url:https://github.com/okurz/%{short_name}
 BuildRequires:  python-rpm-macros
-%if %{with test}
+%if 0%{?_test}
 BuildRequires:  %{oldpython}-%{short_name}
 %else
 BuildRequires:  %{python_module setuptools}
@@ -73,7 +75,7 @@
 A review helper script for openQA. For more details look into the README file.
 
 %prep
-%if %{with test}
+%if 0%{?_test}
 # workaround to prevent post/install failing assuming this file for whatever
 # reason
 touch %{_sourcedir}/%{short_name}
@@ -84,14 +86,16 @@
 %endif
 
 %build
-%if %{with test}
+%if 0%{?_test}
 openqa-review --help
 tumblesle-release --help
 %else
 %python_build
 %endif
 
-%if %{with test}
+%if 0%{?_test}
+# disable debug packages in package test to prevent error about missing files
+%define debug_package %{nil}
 %else
 %install
 %python_install
@@ -110,16 +114,15 @@
 
 %files %{python_files}
 %defattr(-,root,root,-)
-%doc LICENSE README.md
+%license LICENSE
+%doc README.md
 %{python_sitelib}
 %python_alternative %{_bindir}/openqa-review
 %python_alternative %{_bindir}/openqa-review-sles-ha
 %python_alternative %{_bindir}/openqa-review-daily-email
+%python_alternative %{_bindir}/openqa-review-functional_autoyast_concise
 %python_alternative %{_bindir}/tumblesle-release
 
-%else
-# disable debug packages in package test to prevent error about missing files
-%define debug_package %{nil}
 %endif
 
 %changelog

++ _service ++
--- /var/tmp/diff_new_pack.BGprGo/_old  2018-02-10 17:58:22.567678423 +0100
+++ /var/tmp/diff_new_pack.BGprGo/_new  2018-02-10 17:58:22.571678278 +0100
@@ -1,7 +1,7 @@
 
   
 python-openqa_review
-

commit python-openqa_review for openSUSE:Factory

2018-01-20 Thread root
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 - ok...@suse.com
+
+- 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.0 +0100
+++ new/openqa_review-1.8.3/openqa_review/openqa_review.py  2018-01-19 
08:36:01.0 +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):




commit python-openqa_review for openSUSE:Factory

2017-12-21 Thread root
Hello community,

here is the log from the commit of package python-openqa_review for 
openSUSE:Factory checked in at 2017-12-21 11:29:01

Comparing /work/SRC/openSUSE:Factory/python-openqa_review (Old)
 and  /work/SRC/openSUSE:Factory/.python-openqa_review.new (New)


Package is "python-openqa_review"

Thu Dec 21 11:29:01 2017 rev:18 rq:558732 version:1.8.2

Changes:

--- 
/work/SRC/openSUSE:Factory/python-openqa_review/python-openqa_review.changes
2017-10-13 14:15:59.900464217 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-openqa_review.new/python-openqa_review.changes
   2017-12-21 11:29:03.936362594 +0100
@@ -1,0 +2,28 @@
+Wed Dec 20 08:13:24 UTC 2017 - ok...@suse.com
+
+- Update to version 1.8.2:
+  * browser: Status code is not always available on error
+  * setup.py: Correct name of tests_require
+  * Project is no production stable
+  * Only require separate configparser for python2
+  * Fix require of configparser for python3
+
+---
+Sun Dec 17 13:38:22 UTC 2017 - ok...@suse.com
+
+- Provide singlespec file with update-alternatives including self-test
+  * Better multibuild-evaluation with valid syntax allowing local use of
+'-M test'
+  * Complete runtime requirements including "python-setuptools"
+  * Complete set of scripts for both python2 and python3
+  * Package self-test for all repositories and python2/python3
+
+---
+Sat Dec 16 11:54:53 UTC 2017 - ok...@suse.com
+
+- Update to version 1.8.0:
+  * Provide job references in failed soft-fail parsing
+  * Add review wrapper script for 'functional' group on openqa.suse.de
+  * Handle disconnects by remote end on API get gracefully
+
+---

Old:

  python-openqa_review-1.7.5.tar.gz

New:

  _multibuild
  python-openqa_review-1.8.2.tar.gz



Other differences:
--
++ python-openqa_review.spec ++
--- /var/tmp/diff_new_pack.HG50pL/_old  2017-12-21 11:29:04.476336265 +0100
+++ /var/tmp/diff_new_pack.HG50pL/_new  2017-12-21 11:29:04.480336070 +0100
@@ -1,5 +1,5 @@
 #
-# spec file for package python-openqa_review
+# spec file for package python
 #
 # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
@@ -16,52 +16,110 @@
 #
 
 
+# Define just "test" as a package in _multibuild file to distinguish test
+# instructions here
+%if "@BUILD_FLAVOR@" == ""
+%bcond_with test
+%else
+%bcond_without test
+%endif
+
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define short_name openqa_review
-Name:   python-%{short_name}
-Version:1.7.5
+%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
 Release:0
 Summary:A review helper script for openQA
 License:MIT
 Group:  Development/Languages/Python
-Source: 
https://github.com/okurz/%{short_name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
+Source: 
https://github.com/okurz/%{short_name}/archive/%{version}.tar.gz#/python-%{short_name}-%{version}.tar.gz
 Url:https://github.com/okurz/%{short_name}
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  python-setuptools
-Requires:   python-PyYAML
-Requires:   python-beautifulsoup4
-Requires:   python-certifi
-Requires:   python-configparser
+BuildRequires:  python-rpm-macros
+%if %{with test}
+BuildRequires:  %{oldpython}-%{short_name}
+%else
+BuildRequires:  %{python_module setuptools}
+BuildRequires:  fdupes
 # workaround because of python-configparser not providing the '__init__.py'
 # file within site-packages/backports
+%if "%{python_flavor}" == "python2"
 Requires:   python-backports.ssl_match_hostname
+Requires:   python-configparser
+%endif
+Requires:   python-PyYAML
+Requires:   python-beautifulsoup4
+Requires:   python-certifi
 Requires:   python-future
 Requires:   python-humanfriendly
 Requires:   python-pika
 Requires:   python-requests
 Requires:   python-setuptools
 Requires:   python-sortedcontainers
+Requires(post): update-alternatives
+Requires(preun): update-alternatives
+%endif
+BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildArch:  noarch
 
+%ifpython2
+Obsoletes:  %{oldpython}-%{short_name} < %{version}
+%endif
+
+%python_subpackages
+
 %description
 A review helper script for openQA. For more details look into the README file.
 
 %prep
+%if %{with test}
+# workaround to prevent post/install failing assuming this file 

commit python-openqa_review for openSUSE:Factory

2017-10-13 Thread root
Hello community,

here is the log from the commit of package python-openqa_review for 
openSUSE:Factory checked in at 2017-10-13 14:15:55

Comparing /work/SRC/openSUSE:Factory/python-openqa_review (Old)
 and  /work/SRC/openSUSE:Factory/.python-openqa_review.new (New)


Package is "python-openqa_review"

Fri Oct 13 14:15:55 2017 rev:17 rq:533140 version:1.7.5

Changes:

--- 
/work/SRC/openSUSE:Factory/python-openqa_review/python-openqa_review.changes
2017-09-20 17:13:43.964756139 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-openqa_review.new/python-openqa_review.changes
   2017-10-13 14:15:59.900464217 +0200
@@ -1,0 +2,5 @@
+Thu Sep 21 06:50:40 UTC 2017 - ok...@suse.com
+
+- Update version to support more recent openQA web structure (boo#1059661)
+
+---



Other differences:
--



commit python-openqa_review for openSUSE:Factory

2017-09-20 Thread root
Hello community,

here is the log from the commit of package python-openqa_review for 
openSUSE:Factory checked in at 2017-09-20 17:13:43

Comparing /work/SRC/openSUSE:Factory/python-openqa_review (Old)
 and  /work/SRC/openSUSE:Factory/.python-openqa_review.new (New)


Package is "python-openqa_review"

Wed Sep 20 17:13:43 2017 rev:16 rq:527457 version:1.7.5

Changes:

--- 
/work/SRC/openSUSE:Factory/python-openqa_review/python-openqa_review.changes
2017-08-28 15:19:09.875868826 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-openqa_review.new/python-openqa_review.changes
   2017-09-20 17:13:43.964756139 +0200
@@ -1,0 +2,7 @@
+Wed Sep 20 06:26:21 UTC 2017 - ok...@suse.com
+
+- Update to version 1.7.5:
+  * Add preliminary tumblesle release script for SLE 15
+  * Support multi-distri job groups with openQA#037ffd33
+
+---

Old:

  python-openqa_review-1.7.4.tar.gz

New:

  python-openqa_review-1.7.5.tar.gz



Other differences:
--
++ python-openqa_review.spec ++
--- /var/tmp/diff_new_pack.ltlTfs/_old  2017-09-20 17:13:44.528676757 +0200
+++ /var/tmp/diff_new_pack.ltlTfs/_new  2017-09-20 17:13:44.532676194 +0200
@@ -18,7 +18,7 @@
 
 %define short_name openqa_review
 Name:   python-%{short_name}
-Version:1.7.4
+Version:1.7.5
 Release:0
 Summary:A review helper script for openQA
 License:MIT

++ python-openqa_review-1.7.4.tar.gz -> python-openqa_review-1.7.5.tar.gz 
++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/openqa_review-1.7.4/bin/tumblesle-release-15-x86_64 
new/openqa_review-1.7.5/bin/tumblesle-release-15-x86_64
--- old/openqa_review-1.7.4/bin/tumblesle-release-15-x86_64 1970-01-01 
01:00:00.0 +0100
+++ new/openqa_review-1.7.5/bin/tumblesle-release-15-x86_64 2017-09-19 
08:02:36.0 +0200
@@ -0,0 +1 @@
+flock -n /tmp/tumblesle_release.lock -c "tumblesle-release --openqa-host 
http://openqa.suse.de --group-id 110 --product 'Leanos' --src 
openqa:/var/lib/openqa/factory/ --match 'SLE-15*Leanos*x86_64*' --match-hdd 
'SLES-15-x86_64*' - --post-release-hook /home/tumblesle/bin/update_jekyll 
--seen-maxlen=24 $@" 2>&1 | tee -a /var/log/tumblesle/tumblesle-release.log
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/openqa_review-1.7.4/openqa_review/openqa_review.py 
new/openqa_review-1.7.5/openqa_review/openqa_review.py
--- old/openqa_review-1.7.4/openqa_review/openqa_review.py  2017-08-26 
10:51:56.0 +0200
+++ new/openqa_review-1.7.5/openqa_review/openqa_review.py  2017-09-19 
08:02:36.0 +0200
@@ -433,7 +433,9 @@
 r = get_group_result()
 b = r.get(build, next(iter(r.values(
 build = b.get('build', build)
-return '/tests/overview?distri=%s=%s=%s=%i' % 
(b['distri'], b['version'], quote(build), job_group['group']['id'])
+# openQA introduced multi-distri support for the job groups with 
openQA#037ffd33
+distri_str = 'distri=%s' % b['distri'] if 'distri' in b.keys() else 
'distri=' + '='.join(sorted(b['distris'].keys()))
+return '/tests/overview?%s=%s=%s=%i' % 
(distri_str, b['version'], quote(build), job_group['group']['id'])
 
 finished_builds = find_builds(get_group_result(), running_threshold)
 # find last finished and previous one
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/openqa_review-1.7.4/tests/https%3A::openqa.opensuse.org:group_overview:25.json
 
new/openqa_review-1.7.5/tests/https%3A::openqa.opensuse.org:group_overview:25.json
--- 
old/openqa_review-1.7.4/tests/https%3A::openqa.opensuse.org:group_overview:25.json
  2017-08-26 10:51:56.0 +0200
+++ 
new/openqa_review-1.7.5/tests/https%3A::openqa.opensuse.org:group_overview:25.json
  2017-09-19 08:02:36.0 +0200
@@ -10,7 +10,7 @@
"group": {"id": 25, "name": "openSUSE Tumbleweed Gnome"},
"result": {
"0299": {
-   "distri": "opensuse",
+   "distris": {"opensuse": 1, "kubic": 1},
"version": "42.1",
"reviewed": "",
"reviewed_all_passed": "",




commit python-openqa_review for openSUSE:Factory

2017-08-28 Thread root
Hello community,

here is the log from the commit of package python-openqa_review for 
openSUSE:Factory checked in at 2017-08-28 15:17:46

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 Aug 28 15:17:46 2017 rev:15 rq:518876 version:1.7.4

Changes:

--- 
/work/SRC/openSUSE:Factory/python-openqa_review/python-openqa_review.changes
2017-07-25 11:41:23.607895027 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-openqa_review.new/python-openqa_review.changes
   2017-08-28 15:19:09.875868826 +0200
@@ -1,0 +2,9 @@
+Sat Aug 26 08:53:36 UTC 2017 - ok...@suse.com
+
+- Update to version 1.7.4:
+  * Fix error 401 on redmine after server side ngingx update
+  * Ignore cscope.out
+  * Fix whitespace as reported by flake8
+  * Fix handling of dotted build numbers parsing from comments
+
+---

Old:

  python-openqa_review-1.7.2.tar.gz

New:

  python-openqa_review-1.7.4.tar.gz



Other differences:
--
++ python-openqa_review.spec ++
--- /var/tmp/diff_new_pack.iYob47/_old  2017-08-28 15:19:11.747605796 +0200
+++ /var/tmp/diff_new_pack.iYob47/_new  2017-08-28 15:19:11.751605234 +0200
@@ -18,7 +18,7 @@
 
 %define short_name openqa_review
 Name:   python-%{short_name}
-Version:1.7.2
+Version:1.7.4
 Release:0
 Summary:A review helper script for openQA
 License:MIT

++ _update.sh ++
--- /var/tmp/diff_new_pack.iYob47/_old  2017-08-28 15:19:11.887586125 +0200
+++ /var/tmp/diff_new_pack.iYob47/_new  2017-08-28 15:19:11.887586125 +0200
@@ -8,3 +8,4 @@
 osc service localrun download_files
 osc add *.tar.gz
 osc ci -m "Update to $version"
+osc sr -m "Update to $version"

++ python-openqa_review-1.7.2.tar.gz -> python-openqa_review-1.7.4.tar.gz 
++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/openqa_review-1.7.2/.gitignore 
new/openqa_review-1.7.4/.gitignore
--- old/openqa_review-1.7.2/.gitignore  2017-07-24 17:06:59.0 +0200
+++ new/openqa_review-1.7.4/.gitignore  2017-08-26 10:51:56.0 +0200
@@ -8,3 +8,4 @@
 version.py
 coverage_html/
 .*.swp
+cscope.out
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/openqa_review-1.7.2/openqa_review/browser.py 
new/openqa_review-1.7.4/openqa_review/browser.py
--- old/openqa_review-1.7.2/openqa_review/browser.py2017-07-24 
17:06:59.0 +0200
+++ new/openqa_review-1.7.4/openqa_review/browser.py2017-08-26 
10:51:56.0 +0200
@@ -154,7 +154,7 @@
 else:  # pragma: no cover
 absolute_url = url if not url.startswith('/') else 
urljoin(str(self.root_url), str(url))
 data = json.dumps(data)
-r = requests.request(method, absolute_url, data=data, 
auth=self.auth, headers={'content-type': 'application/json'})
+r = requests.request(method, absolute_url, data=data, 
headers={'X-Redmine-API-Key': self.auth[0], 'content-type': 'application/json'})
 r.raise_for_status()
 return r.json() if r.text else None
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/openqa_review-1.7.2/openqa_review/openqa_review.py 
new/openqa_review-1.7.4/openqa_review/openqa_review.py
--- old/openqa_review-1.7.2/openqa_review/openqa_review.py  2017-07-24 
17:06:59.0 +0200
+++ new/openqa_review-1.7.4/openqa_review/openqa_review.py  2017-08-26 
10:51:56.0 +0200
@@ -229,6 +229,7 @@
 'poo': lambda i: 'https://progress.opensuse.org/issues/%s' % i,
 }
 
+
 def status(entry):
 """Return test status from entry, e.g. 'result_passed'."""
 return [s for s in entry.i['class'] if re.search('(state|result)_', s)][0]
@@ -397,7 +398,7 @@
 # Could also find previous one with a comment on the build status,
 # i.e. a reviewed finished build
 # The build number itself might be prefixed with a redundant 'Build' which 
we ignore
-build_re = re.compile('[bB]uild:(\*\*)? 
*(Build)?([\w@]*)(.*reference.*)?(\*\*)?\r\n')
+build_re = re.compile('[bB]uild:(\*\*)? 
*(Build)?([\w@.]*)(.*reference.*)?(\*\*)?\r\n')
 # Assuming the most recent with a build number also has the most recent 
review
 for c in reversed(comments):
 match = build_re.search(c['text'])
@@ -807,7 +808,6 @@
 assert bug_id, "No bug_id found for %s" % v
 v['bugref_href'] = issue_tracker[bugref](bug_id)
 
-
 @property
 def total_issues(self):
 """Return Number of issue entries for this arch."""
diff -urN '--exclude=CVS' 

commit python-openqa_review for openSUSE:Factory

2017-07-25 Thread root
Hello community,

here is the log from the commit of package python-openqa_review for 
openSUSE:Factory checked in at 2017-07-25 11:41:07

Comparing /work/SRC/openSUSE:Factory/python-openqa_review (Old)
 and  /work/SRC/openSUSE:Factory/.python-openqa_review.new (New)


Package is "python-openqa_review"

Tue Jul 25 11:41:07 2017 rev:14 rq:512317 version:1.7.2

Changes:

--- 
/work/SRC/openSUSE:Factory/python-openqa_review/python-openqa_review.changes
2017-07-23 12:16:41.048384791 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-openqa_review.new/python-openqa_review.changes
   2017-07-25 11:41:23.607895027 +0200
@@ -1,0 +2,6 @@
+Mon Jul 24 15:08:40 UTC 2017 - ok...@suse.com
+
+- Update to version 1.7.2:
+  * Extend soft-fail issue tracker support
+
+---

Old:

  python-openqa_review-1.7.1.tar.gz

New:

  python-openqa_review-1.7.2.tar.gz



Other differences:
--
++ python-openqa_review.spec ++
--- /var/tmp/diff_new_pack.TAbC1t/_old  2017-07-25 11:41:24.331792824 +0200
+++ /var/tmp/diff_new_pack.TAbC1t/_new  2017-07-25 11:41:24.331792824 +0200
@@ -18,7 +18,7 @@
 
 %define short_name openqa_review
 Name:   python-%{short_name}
-Version:1.7.1
+Version:1.7.2
 Release:0
 Summary:A review helper script for openQA
 License:MIT

++ python-openqa_review-1.7.1.tar.gz -> python-openqa_review-1.7.2.tar.gz 
++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/openqa_review-1.7.1/openqa_review/openqa_review.py 
new/openqa_review-1.7.2/openqa_review/openqa_review.py
--- old/openqa_review-1.7.1/openqa_review/openqa_review.py  2017-07-23 
09:55:07.0 +0200
+++ new/openqa_review-1.7.2/openqa_review/openqa_review.py  2017-07-24 
17:06:59.0 +0200
@@ -223,6 +223,11 @@
 
 interesting_states_names = [i for i in set(change_state.values()) if i != 
'STABLE'] + ['INCOMPLETE']
 
+issue_tracker = {  # pragma: no branch
+'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,
+}
 
 def status(entry):
 """Return test status from entry, e.g. 'result_passed'."""
@@ -787,13 +792,21 @@
 v['bugref'] = self._get_bugref_for_softfailed_module(v, 
module_name)
 if not v['bugref']:  # pragma: no cover
 continue
-assert re.match('(bsc|boo)#?', v['bugref']), 'TODO 
implement: more bugref matching'
-# TODO the following re.search fails to find the bugref in 
e.g. https://openqa.opensuse.org/tests/447927#step/bootloader/7 where the bugref
-# is not at the end of line
-v['bugref_href'] = 
"https://bugzilla.suse.com/show_bug.cgi?id=%s; % re.search("[0-9]*$", 
v['bugref']).group(0)
+except AttributeError:  # pragma: no cover
+log.info('Could find neither soft failed info box nor 
needle, assuming an old openQA job, skipping.')
+continue
 except DownloadError as e:  # pragma: no cover
 log.error("Failed to process %s with error %s. Skipping 
current result" % (v, e))
 continue
+match = re.search('([a-z]{3})#?([0-9]+)', v['bugref'])
+if not match:  # pragma: no cover
+log.info('Could not find bug reference in text \'%s\', 
skipping.' % v['bugref'])
+continue
+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)
+
 
 @property
 def total_issues(self):
@@ -820,7 +833,7 @@
 return re.search("Soft Failure:\n([^/]*)", 
unformated_str.strip()).group(1)
 elif 'properties' in field and len(field['properties']) > 0 and 
field['properties'][0] == 'workaround':
 log.debug('Evaluating potential workaround needle \'%s\'' % 
field['needle'])
-match = re.search('([a-z]{3})([0-9]+)-[0-9]+', field['needle'])
+match = re.search('([a-z]{3})#?([0-9]+)-[0-9]+', 
field['needle'])
 if not match:  # pragma: no cover
 log.warn('Found workaround needle without bugref that 
could be understood, looking for a better bugref (if any)')
 continue
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 

commit python-openqa_review for openSUSE:Factory

2017-07-23 Thread root
Hello community,

here is the log from the commit of package python-openqa_review for 
openSUSE:Factory checked in at 2017-07-23 12:16:31

Comparing /work/SRC/openSUSE:Factory/python-openqa_review (Old)
 and  /work/SRC/openSUSE:Factory/.python-openqa_review.new (New)


Package is "python-openqa_review"

Sun Jul 23 12:16:31 2017 rev:13 rq:512118 version:1.7.1

Changes:

--- 
/work/SRC/openSUSE:Factory/python-openqa_review/python-openqa_review.changes
2017-07-21 22:50:51.896323101 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-openqa_review.new/python-openqa_review.changes
   2017-07-23 12:16:41.048384791 +0200
@@ -1,0 +2,6 @@
+Sun Jul 23 07:59:23 UTC 2017 - ok...@suse.com
+
+- Update to version 1.7.1:
+  * Also parse soft-fail needles
+
+---

Old:

  python-openqa_review-1.7.0.tar.gz

New:

  python-openqa_review-1.7.1.tar.gz



Other differences:
--
++ python-openqa_review.spec ++
--- /var/tmp/diff_new_pack.2HX54y/_old  2017-07-23 12:16:41.784280844 +0200
+++ /var/tmp/diff_new_pack.2HX54y/_new  2017-07-23 12:16:41.784280844 +0200
@@ -18,7 +18,7 @@
 
 %define short_name openqa_review
 Name:   python-%{short_name}
-Version:1.7.0
+Version:1.7.1
 Release:0
 Summary:A review helper script for openQA
 License:MIT

++ python-openqa_review-1.7.0.tar.gz -> python-openqa_review-1.7.1.tar.gz 
++
 1851 lines of diff (skipped)




commit python-openqa_review for openSUSE:Factory

2017-07-21 Thread root
Hello community,

here is the log from the commit of package python-openqa_review for 
openSUSE:Factory checked in at 2017-07-21 22:50:49

Comparing /work/SRC/openSUSE:Factory/python-openqa_review (Old)
 and  /work/SRC/openSUSE:Factory/.python-openqa_review.new (New)


Package is "python-openqa_review"

Fri Jul 21 22:50:49 2017 rev:12 rq:511845 version:1.7.0

Changes:

--- 
/work/SRC/openSUSE:Factory/python-openqa_review/python-openqa_review.changes
2017-03-16 09:51:58.802010660 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-openqa_review.new/python-openqa_review.changes
   2017-07-21 22:50:51.896323101 +0200
@@ -1,0 +2,36 @@
+Fri Jul 21 12:09:25 UTC 2017 - ok...@suse.com
+
+- Update to version 1.7.0:
+  * Skip error on writing reminder comments gracefully
+  * Get bugref details for softfails as well
+  * Split big 'bugrefs' test into more subtests
+  * Remove not used variables (#70)
+
+---
+Sun Jul 16 07:02:54 UTC 2017 - ok...@suse.com
+
+- Update to version 1.6.8:
+  * .gitignore: Also exclude pycharm
+  * Extract reading reference report in test for simpler ref report updating
+  * Fix 'interesting_states' not really filtering out STABLE results
+  * Use lowercase 'todo' dict key for easier distinction from TODO in source 
code comments
+  * Tiny duplication removal in tox.ini
+  * Fix potential wrong import of not-backported configparser within py27 tests
+  * Delete again configparser2 reference which is another module
+  * Simplify handling of results/results_by_bugref dicts
+  * Delete obsolete test data entry for soft-failed with failed modules
+  * Use newer python3.6 as in openSUSE Tumbleweed for testing
+  * Also include 'IMPROVED' in soft fail states
+  * Simplify 'soft-fail' calculation within IssueEntry
+  * Delete some redundant soft-fails for easier testing
+
+---
+Wed Jun 14 14:20:39 UTC 2017 - ok...@suse.com
+
+- Update to version 1.6.6:
+  * Add CLOSED to issue states for non-open tickets (#61)
+  * Fix broken HTML
+  * Fix doc-strings issue D401, not imperative mood
+  * Retry download in case of 502
+
+---

Old:

  python-openqa_review-1.6.4.tar.gz

New:

  python-openqa_review-1.7.0.tar.gz



Other differences:
--
++ python-openqa_review.spec ++
--- /var/tmp/diff_new_pack.lnEJ0w/_old  2017-07-21 22:50:52.624220422 +0200
+++ /var/tmp/diff_new_pack.lnEJ0w/_new  2017-07-21 22:50:52.624220422 +0200
@@ -18,7 +18,7 @@
 
 %define short_name openqa_review
 Name:   python-%{short_name}
-Version:1.6.4
+Version:1.7.0
 Release:0
 Summary:A review helper script for openQA
 License:MIT

++ _update.sh ++
--- /var/tmp/diff_new_pack.lnEJ0w/_old  2017-07-21 22:50:52.684211959 +0200
+++ /var/tmp/diff_new_pack.lnEJ0w/_new  2017-07-21 22:50:52.684211959 +0200
@@ -1,4 +1,5 @@
 #!/bin/sh -e
+osc up
 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

++ python-openqa_review-1.6.4.tar.gz -> python-openqa_review-1.7.0.tar.gz 
++
 2277 lines of diff (skipped)




commit python-openqa_review for openSUSE:Factory

2017-03-16 Thread root
Hello community,

here is the log from the commit of package python-openqa_review for 
openSUSE:Factory checked in at 2017-03-16 09:43:30

Comparing /work/SRC/openSUSE:Factory/python-openqa_review (Old)
 and  /work/SRC/openSUSE:Factory/.python-openqa_review.new (New)


Package is "python-openqa_review"

Thu Mar 16 09:43:30 2017 rev:11 rq:479748 version:1.6.4

Changes:

--- 
/work/SRC/openSUSE:Factory/python-openqa_review/python-openqa_review.changes
2017-03-12 20:04:02.289433026 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-openqa_review.new/python-openqa_review.changes
   2017-03-16 09:51:58.802010660 +0100
@@ -1,0 +2,14 @@
+Wed Mar 15 16:21:22 UTC 2017 - ok...@suse.com
+
+- Update to version 1.6.4:
+  * Remove unused webtests (#58)
+  * dashboard: Prevent duplicate reminder comments
+  * Extend review-daily-email for use with opensuse.org
+  * Install 'openqa-review-daily-email' script
+
+---
+Wed Mar 15 16:21:09 UTC 2017 - ok...@suse.com
+
+- Include new binary 'openqa-review-daily-email'
+
+---

Old:

  python-openqa_review-1.6.2.tar.gz

New:

  python-openqa_review-1.6.4.tar.gz



Other differences:
--
++ python-openqa_review.spec ++
--- /var/tmp/diff_new_pack.sgBOo0/_old  2017-03-16 09:51:59.289941560 +0100
+++ /var/tmp/diff_new_pack.sgBOo0/_new  2017-03-16 09:51:59.293940993 +0100
@@ -18,7 +18,7 @@
 
 %define short_name openqa_review
 Name:   python-%{short_name}
-Version:1.6.2
+Version:1.6.4
 Release:0
 Summary:A review helper script for openQA
 License:MIT
@@ -61,6 +61,7 @@
 %{python_sitelib}
 %attr(755, -, -) %{_bindir}/openqa-review
 %attr(755, -, -) %{_bindir}/openqa-review-sles-ha
+%attr(755, -, -) %{_bindir}/openqa-review-daily-email
 %attr(755, -, -) %{_bindir}/tumblesle-release
 
 %changelog

++ python-openqa_review-1.6.2.tar.gz -> python-openqa_review-1.6.4.tar.gz 
++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/openqa_review-1.6.2/bin/openqa-review-daily-email 
new/openqa_review-1.6.4/bin/openqa-review-daily-email
--- old/openqa_review-1.6.2/bin/openqa-review-daily-email   1970-01-01 
01:00:00.0 +0100
+++ new/openqa_review-1.6.4/bin/openqa-review-daily-email   2017-03-15 
16:36:12.0 +0100
@@ -0,0 +1,50 @@
+#!/bin/sh -e
+
+. $(dirname $0)/_common
+setup_tmpdir
+
+openqa_host="${openqa_host:-"https://openqa.suse.de"};
+recv="${recv:-"openqa-suse-sta...@suse.de"}"
+html_target_file="${html_target_file:-"openqa_suse_de_status.html"}"
+html_target="${html_target:-"/suse/okurz/Export/${html_target_file}"}"
+openqa_review_args="${openqa_review_args:-"--host ${openqa_host} -n -r -T 
--query-issue-status --no-empty-sections --include-softfails 
--running-threshold=2 --exclude-job-groups ^(Released|Development|old) $@"}"
+load_args="${load_args:-"--load --load-dir=${tmp}"}"
+openqa_review_email_args="${openqa_review_email_args:-"${load_args}"}"
+openqa_review_html_args="${openqa_review_html_args:-"${load_args} 
--report-links"}"
+# this is also putting reminder comments on issues. We can not do this in an
+# explicit later steps as we need all requests to be done when saving the data
+# and if we call it here and also in a later step we would end up with
+# duplicate reminder comments
+openqa_review_save_args="${openqa_review_save_args:-"--report-links 
--reminder-comment-on-issues --save --save-dir ${tmp}"}"
+openqa_review="${openqa_review:-"$(which openqa-review)"}"
+TPL="${TPL:-"dashboard_files/dashboard.html.in"}"
+save_report="$(${openqa_review} $openqa_review_args $openqa_review_save_args)"
+email_report="$(${openqa_review} $openqa_review_args 
$openqa_review_email_args)"
+(echo -e "This is an automated message generated by 'openqa-review', see 
https://github.com/okurz/openqa_review for details. An HTML version of this 
report is available on https://w3.nue.suse.com/~okurz/${html_target_file}. 
Status of tests and builds on ${openqa_host} as of $(date 
--iso-8601='seconds'):\n" && \
+ echo "$email_report" && \
+ echo -e "\nAny feedback regarding the script processing or contact can be 
communicated using issues on the github repo or directly to 
ok...@suse.de\n\nRegards,\nYour openqa_review") | mutt -s "Daily status from 
${openqa_host}" -e 'my_hdr From: openqa-review ' $recv
+
+html_report="$(${openqa_review} $openqa_review_args $openqa_review_html_args | 
decrease_header | markdown)"
+html_report_closed="$(${openqa_review} $openqa_review_args $load_args -f 
closed | decrease_header | markdown)"
+html_report_unassigned="$(${openqa_review} 

commit python-openqa_review for openSUSE:Factory

2017-03-12 Thread root
Hello community,

here is the log from the commit of package python-openqa_review for 
openSUSE:Factory checked in at 2017-03-12 20:04:01

Comparing /work/SRC/openSUSE:Factory/python-openqa_review (Old)
 and  /work/SRC/openSUSE:Factory/.python-openqa_review.new (New)


Package is "python-openqa_review"

Sun Mar 12 20:04:01 2017 rev:10 rq:40 version:1.6.2

Changes:

--- 
/work/SRC/openSUSE:Factory/python-openqa_review/python-openqa_review.changes
2017-03-03 17:56:14.497910926 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-openqa_review.new/python-openqa_review.changes
   2017-03-12 20:04:02.289433026 +0100
@@ -1,0 +2,14 @@
+Wed Mar 08 14:29:14 UTC 2017 - ok...@suse.com
+
+- Update to version 1.6.2:
+  * dashboard: Correct exclude regex syntax after live test
+
+---
+Wed Mar 08 12:04:22 UTC 2017 - ok...@suse.com
+
+- Update to version 1.6.1:
+  * Add option to exclude job groups by regex
+  * Fix flake8 checks in tumblesle_release
+  * Ignore obsolete released and development job groups in dashboard report
+
+---

Old:

  python-openqa_review-1.5.2.tar.gz

New:

  python-openqa_review-1.6.2.tar.gz



Other differences:
--
++ python-openqa_review.spec ++
--- /var/tmp/diff_new_pack.sknSUG/_old  2017-03-12 20:04:02.997332857 +0100
+++ /var/tmp/diff_new_pack.sknSUG/_new  2017-03-12 20:04:02.997332857 +0100
@@ -18,7 +18,7 @@
 
 %define short_name openqa_review
 Name:   python-%{short_name}
-Version:1.5.2
+Version:1.6.2
 Release:0
 Summary:A review helper script for openQA
 License:MIT

++ _service ++
--- /var/tmp/diff_new_pack.sknSUG/_old  2017-03-12 20:04:03.037327197 +0100
+++ /var/tmp/diff_new_pack.sknSUG/_new  2017-03-12 20:04:03.041326631 +0100
@@ -6,6 +6,7 @@
 git
 master
 enable
+ok...@suse.com
   
   
 xz

++ python-openqa_review-1.5.2.tar.gz -> python-openqa_review-1.6.2.tar.gz 
++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/openqa_review-1.5.2/bin/openqa_review_osd_daily_email 
new/openqa_review-1.6.2/bin/openqa_review_osd_daily_email
--- old/openqa_review-1.5.2/bin/openqa_review_osd_daily_email   2017-03-03 
06:14:56.0 +0100
+++ new/openqa_review-1.6.2/bin/openqa_review_osd_daily_email   2017-03-08 
15:20:04.0 +0100
@@ -5,7 +5,7 @@
 
 recv="${recv:-"openqa-suse-sta...@suse.de"}"
 html_target="${html_target:-"/suse/okurz/Export/openqa_suse_de_status.html"}"
-openqa_review_args="${openqa_review_args:-"--host http://openqa.suse.de -n -r 
-T --query-issue-status --no-empty-sections --include-softfails 
--running-threshold=2 $@"}"
+openqa_review_args="${openqa_review_args:-"--host http://openqa.suse.de -n -r 
-T --query-issue-status --no-empty-sections --include-softfails 
--running-threshold=2 --exclude-job-groups ^(Released|Development) $@"}"
 load_args="${load_args:-"--load --load-dir=${tmp}"}"
 openqa_review_email_args="${openqa_review_email_args:-"${load_args}"}"
 openqa_review_html_args="${openqa_review_html_args:-"${load_args} 
--report-links"}"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/openqa_review-1.5.2/openqa_review/openqa_review.py 
new/openqa_review-1.6.2/openqa_review/openqa_review.py
--- old/openqa_review-1.5.2/openqa_review/openqa_review.py  2017-03-03 
06:14:56.0 +0100
+++ new/openqa_review-1.6.2/openqa_review/openqa_review.py  2017-03-08 
15:20:04.0 +0100
@@ -881,6 +881,8 @@
 parser.add_argument('-j', '--job-groups',
 help="""Only handle selected job group(s), comma 
separated, e.g. \'openSUSE Tumbleweed Gnome\'.
 A regex also works, e.g. \'openSUSE Tumbleweed\' or 
\'(Gnome|KDE)\'.""")
+parser.add_argument('--exclude-job-groups',
+help="""Exclude selected job groups by regex, inverse 
of '--job-groups'.""")
 parser.add_argument('-J', '--job-group-urls',
 help="""Only handle selected job group(s) specified by 
URL, comma separated. Overwrites "--host" argument.
 Skips parsing on main page and can actually save some 
seconds.""")
@@ -984,6 +986,10 @@
 job_pattern = re.compile('(%s)' % 
'|'.join(args.job_groups.split(',')))
 job_groups = {k: v for k, v in iteritems(job_groups) if 
job_pattern.search(k)}
 log.info("Job group URL for %s: %s" % (args.job_groups, 
job_groups))
+if args.exclude_job_groups:
+job_pattern = re.compile('(%s)' % 
'|'.join(args.exclude_job_groups.split(',')))
+  

commit python-openqa_review for openSUSE:Factory

2017-03-03 Thread root
Hello community,

here is the log from the commit of package python-openqa_review for 
openSUSE:Factory checked in at 2017-03-03 17:56:13

Comparing /work/SRC/openSUSE:Factory/python-openqa_review (Old)
 and  /work/SRC/openSUSE:Factory/.python-openqa_review.new (New)


Package is "python-openqa_review"

Fri Mar  3 17:56:13 2017 rev:9 rq:462046 version:1.5.2

Changes:

--- 
/work/SRC/openSUSE:Factory/python-openqa_review/python-openqa_review.changes
2017-02-24 02:54:53.528341688 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-openqa_review.new/python-openqa_review.changes
   2017-03-03 17:56:14.497910926 +0100
@@ -1,0 +2,15 @@
+Fri Mar 03 05:19:17 UTC 2017 - opensuse-packag...@opensuse.org
+
+- Update to version 1.5.2:
+  * tumblesle_release: Add optional AMQP authentication
+  * Add CII badge after review
+  * Replace obsolete gitlab with github reference
+  * Fix version file parsing when there is no git tag
+  * tumblesle-release: Retry on AMQP connection lost
+
+---
+Fri Mar  3 05:09:49 UTC 2017 - ok...@suse.com
+
+- Fix import error on backports.configparser by workaround (boo#1025589)
+
+---

Old:

  python-openqa_review-1.5.1.tar.gz

New:

  python-openqa_review-1.5.2.tar.gz



Other differences:
--
++ python-openqa_review.spec ++
--- /var/tmp/diff_new_pack.p0VlHQ/_old  2017-03-03 17:56:15.117823363 +0100
+++ /var/tmp/diff_new_pack.p0VlHQ/_new  2017-03-03 17:56:15.121822798 +0100
@@ -18,7 +18,7 @@
 
 %define short_name openqa_review
 Name:   python-%{short_name}
-Version:1.5.1
+Version:1.5.2
 Release:0
 Summary:A review helper script for openQA
 License:MIT
@@ -31,6 +31,9 @@
 Requires:   python-beautifulsoup4
 Requires:   python-certifi
 Requires:   python-configparser
+# workaround because of python-configparser not providing the '__init__.py'
+# file within site-packages/backports
+Requires:   python-backports.ssl_match_hostname
 Requires:   python-future
 Requires:   python-humanfriendly
 Requires:   python-pika
@@ -50,6 +53,7 @@
 
 %install
 python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+rm %{buildroot}/%{python_sitelib}/version.*
 
 %files
 %defattr(-,root,root,-)

++ python-openqa_review-1.5.1.tar.gz -> python-openqa_review-1.5.2.tar.gz 
++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/openqa_review-1.5.1/README.md 
new/openqa_review-1.5.2/README.md
--- old/openqa_review-1.5.1/README.md   2017-02-09 14:17:42.0 +0100
+++ new/openqa_review-1.5.2/README.md   2017-03-03 06:14:56.0 +0100
@@ -1,4 +1,4 @@
-# openqa_review_script [![Build 
Status](https://travis-ci.org/okurz/openqa_review.svg?branch=master)](https://travis-ci.org/okurz/openqa_review)
+# openqa_review_script [![Build 
Status](https://travis-ci.org/okurz/openqa_review.svg?branch=master)](https://travis-ci.org/okurz/openqa_review)
 [![CII Best 
Practices](https://bestpractices.coreinfrastructure.org/projects/699/badge)](https://bestpractices.coreinfrastructure.org/projects/699)
 
 A review helper script for openQA.
 
@@ -36,9 +36,9 @@
 
 This project lives in https://github.com/okurz/openqa_review
 
-Feel free to add issues in gitlab or send pull requests.
+Feel free to add issues in github or send pull requests.
 
-TODOs and ideas are tracked in the file `TODO` as well as gitlab issues.
+TODOs and ideas are tracked in the file `TODO` as well as github issues.
 
 ### Rules for commits
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/openqa_review-1.5.1/TODO new/openqa_review-1.5.2/TODO
--- old/openqa_review-1.5.1/TODO2017-02-09 14:17:42.0 +0100
+++ new/openqa_review-1.5.2/TODO2017-03-03 06:14:56.0 +0100
@@ -9,14 +9,9 @@
  - think about updating a wiki page on redmine with a report
http://www.redmine.org/projects/redmine/wiki/Rest_WikiPages
 
- - Review https://gitlab.suse.de/security/tools/tree/master and
-   especially https://gitlab.suse.de/security/tools/blob/master/bzmass for
-   mass filing bugs
-
  - Add mode to count bug occurences (e.g. parse previous)
 
- - check install error when cloned from gitlab w/o tags maybe based on 
pylibrary cookiecutter template? missing tag is causing version to fail
-  - tags added but should also work without, try "bumpversion"? see 
cookiecutter-pylibrary template
+ - try pylibrary cookiecutter template or "bumpversion"? see 
cookiecutter-pylibrary template
 
  - offer to automatically post comment on webpage
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' 

commit python-openqa_review for openSUSE:Factory

2017-02-23 Thread root
Hello community,

here is the log from the commit of package python-openqa_review for 
openSUSE:Factory checked in at 2017-02-24 02:54:52

Comparing /work/SRC/openSUSE:Factory/python-openqa_review (Old)
 and  /work/SRC/openSUSE:Factory/.python-openqa_review.new (New)


Package is "python-openqa_review"

Changes:

--- 
/work/SRC/openSUSE:Factory/python-openqa_review/python-openqa_review.changes
2017-02-07 12:08:20.668222109 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-openqa_review.new/python-openqa_review.changes
   2017-02-24 02:54:53.528341688 +0100
@@ -1,0 +2,6 @@
+Tue Feb 14 18:21:20 UTC 2017 - opensuse-packag...@opensuse.org
+
+- Update to version 1.5.1:
+  * Fix openqa_review_osd_daily_email running in dry-run by default
+
+---

Old:

  python-openqa_review-1.5.0.tar.gz

New:

  python-openqa_review-1.5.1.tar.gz



Other differences:
--
++ python-openqa_review.spec ++
--- /var/tmp/diff_new_pack.Tgnbjn/_old  2017-02-24 02:54:54.208236494 +0100
+++ /var/tmp/diff_new_pack.Tgnbjn/_new  2017-02-24 02:54:54.212235875 +0100
@@ -18,7 +18,7 @@
 
 %define short_name openqa_review
 Name:   python-%{short_name}
-Version:1.5.0
+Version:1.5.1
 Release:0
 Summary:A review helper script for openQA
 License:MIT
@@ -29,8 +29,11 @@
 BuildRequires:  python-setuptools
 Requires:   python-PyYAML
 Requires:   python-beautifulsoup4
+Requires:   python-certifi
+Requires:   python-configparser
 Requires:   python-future
 Requires:   python-humanfriendly
+Requires:   python-pika
 Requires:   python-requests
 Requires:   python-setuptools
 Requires:   python-sortedcontainers

++ python-openqa_review-1.5.0.tar.gz -> python-openqa_review-1.5.1.tar.gz 
++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/openqa_review-1.5.0/bin/openqa_review_osd_daily_email 
new/openqa_review-1.5.1/bin/openqa_review_osd_daily_email
--- old/openqa_review-1.5.0/bin/openqa_review_osd_daily_email   2017-02-06 
18:06:38.0 +0100
+++ new/openqa_review-1.5.1/bin/openqa_review_osd_daily_email   2017-02-09 
14:17:42.0 +0100
@@ -9,7 +9,7 @@
 load_args="${load_args:-"--load --load-dir=${tmp}"}"
 openqa_review_email_args="${openqa_review_email_args:-"${load_args}"}"
 openqa_review_html_args="${openqa_review_html_args:-"${load_args} 
--report-links"}"
-openqa_review_save_args="${openqa_review_save_args:-"--report-links 
--reminder-comment-on-issues --dry-run --save --save-dir ${tmp}"}"
+openqa_review_save_args="${openqa_review_save_args:-"--report-links 
--reminder-comment-on-issues --save --save-dir ${tmp}"}"
 openqa_review_reminder_args="${openqa_review_reminder_args:-"${load_args} 
--reminder-comment-on-issues"}"
 openqa_review="${openqa_review:-"$(which openqa-review)"}"
 TPL="${TPL:-"dashboard_files/dashboard.html.in"}"




commit python-openqa_review for openSUSE:Factory

2017-02-07 Thread root
Hello community,

here is the log from the commit of package python-openqa_review for 
openSUSE:Factory checked in at 2017-02-07 12:08:20

Comparing /work/SRC/openSUSE:Factory/python-openqa_review (Old)
 and  /work/SRC/openSUSE:Factory/.python-openqa_review.new (New)


Package is "python-openqa_review"

Changes:

--- 
/work/SRC/openSUSE:Factory/python-openqa_review/python-openqa_review.changes
2017-02-03 18:57:56.900896765 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-openqa_review.new/python-openqa_review.changes
   2017-02-07 12:08:20.668222109 +0100
@@ -1,0 +2,18 @@
+Mon Feb 06 17:09:31 UTC 2017 - opensuse-packag...@opensuse.org
+
+- Update to version 1.5.0:
+  * Post issue reminder comments from daily review script
+  * tumblesle_release: Add AMQP notification support for 'suse_msg'
+  * tumblesle_release: Add documentation for AMQP notifications
+  * tumblesle_release: Prevent spammy repetition of AMQP notifications
+  * Get rid of duplicate update_jekyll
+  * More tumblesle notifications
+  * Fix tumblesle script not checking for new builds / updated job results
+  * Make tumblesle_release notification connection more resilient
+  * tumblesle_release: Only store in notify_seen on success
+  * Recommend safer installation proposals
+  * Ensure valid python certificates with certifi
+  * Be more specific about the error when file not found in cache
+  * Ensure all data is cached on save in openqa_review_osd_daily_email
+
+---

Old:

  python-openqa_review-1.4.1.tar.gz

New:

  python-openqa_review-1.5.0.tar.gz



Other differences:
--
++ python-openqa_review.spec ++
--- /var/tmp/diff_new_pack.wSZm0W/_old  2017-02-07 12:08:21.188148544 +0100
+++ /var/tmp/diff_new_pack.wSZm0W/_new  2017-02-07 12:08:21.188148544 +0100
@@ -18,7 +18,7 @@
 
 %define short_name openqa_review
 Name:   python-%{short_name}
-Version:1.4.1
+Version:1.5.0
 Release:0
 Summary:A review helper script for openQA
 License:MIT

++ python-openqa_review-1.4.1.tar.gz -> python-openqa_review-1.5.0.tar.gz 
++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/openqa_review-1.4.1/README.md 
new/openqa_review-1.5.0/README.md
--- old/openqa_review-1.4.1/README.md   2017-01-20 14:23:49.0 +0100
+++ new/openqa_review-1.5.0/README.md   2017-02-06 18:06:38.0 +0100
@@ -6,11 +6,19 @@
 
 ## Usage
 
-* Install requirements and package, e.g.
+* Install requirements and package, using an isolated Python environment
+  such as 
[VirtualEnv](http://docs.python-guide.org/en/latest/dev/virtualenvs/).
 
 ```
-sudo pip install -r requirements.txt
-sudo pip install .
+pip install -r requirements.txt
+pip install .
+```
+
+or if you are using openSUSE distribution, it is recommended to use `zypper`,
+e.g.:
+
+```
+zypper in python-openqa_review
 ```
 
 * Call `openqa-review` from PATH, e.g. with `--help`
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/openqa_review-1.4.1/bin/openqa_review_osd_daily_email 
new/openqa_review-1.5.0/bin/openqa_review_osd_daily_email
--- old/openqa_review-1.4.1/bin/openqa_review_osd_daily_email   2017-01-20 
14:23:49.0 +0100
+++ new/openqa_review-1.5.0/bin/openqa_review_osd_daily_email   2017-02-06 
18:06:38.0 +0100
@@ -9,7 +9,8 @@
 load_args="${load_args:-"--load --load-dir=${tmp}"}"
 openqa_review_email_args="${openqa_review_email_args:-"${load_args}"}"
 openqa_review_html_args="${openqa_review_html_args:-"${load_args} 
--report-links"}"
-openqa_review_save_args="${openqa_review_save_args:-"--report-links --save 
--save-dir ${tmp}"}"
+openqa_review_save_args="${openqa_review_save_args:-"--report-links 
--reminder-comment-on-issues --dry-run --save --save-dir ${tmp}"}"
+openqa_review_reminder_args="${openqa_review_reminder_args:-"${load_args} 
--reminder-comment-on-issues"}"
 openqa_review="${openqa_review:-"$(which openqa-review)"}"
 TPL="${TPL:-"dashboard_files/dashboard.html.in"}"
 # the awk call is to ignore the "InsecureWarning" and the following blank line
@@ -48,3 +49,5 @@
 $(<$TPL)
 EOF
 " > ${html_target}
+
+${openqa_review} $openqa_review_args $openqa_review_reminder_args > /dev/null
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/openqa_review-1.4.1/bin/tumblesle-release-server-12sp3-x86_64 
new/openqa_review-1.5.0/bin/tumblesle-release-server-12sp3-x86_64
--- old/openqa_review-1.4.1/bin/tumblesle-release-server-12sp3-x86_64   
2017-01-20 14:23:49.0 +0100
+++ new/openqa_review-1.5.0/bin/tumblesle-release-server-12sp3-x86_64   
2017-02-06 18:06:38.0 

commit python-openqa_review for openSUSE:Factory

2017-02-03 Thread root
Hello community,

here is the log from the commit of package python-openqa_review for 
openSUSE:Factory checked in at 2017-01-29 10:38:26

Comparing /work/SRC/openSUSE:Factory/python-openqa_review (Old)
 and  /work/SRC/openSUSE:Factory/.python-openqa_review.new (New)


Package is "python-openqa_review"

Changes:

--- 
/work/SRC/openSUSE:Factory/python-openqa_review/python-openqa_review.changes
2017-01-24 10:37:58.979373572 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-openqa_review.new/python-openqa_review.changes
   2017-02-03 18:57:56.900896765 +0100
@@ -1,0 +2,5 @@
+Thu Jan 26 11:17:32 UTC 2017 - ok...@suse.com
+
+- Correct missing package content for update to 1.4.1
+
+---

Old:

  python-openqa_review-1.4.0.tar.gz

New:

  python-openqa_review-1.4.1.tar.gz



Other differences:
--
++ python-openqa_review.spec ++
--- /var/tmp/diff_new_pack.jAJxFj/_old  2017-02-03 18:57:57.312838911 +0100
+++ /var/tmp/diff_new_pack.jAJxFj/_new  2017-02-03 18:57:57.316838349 +0100
@@ -18,7 +18,7 @@
 
 %define short_name openqa_review
 Name:   python-%{short_name}
-Version:1.4.0
+Version:1.4.1
 Release:0
 Summary:A review helper script for openQA
 License:MIT

++ python-openqa_review-1.4.0.tar.gz -> python-openqa_review-1.4.1.tar.gz 
++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/openqa_review-1.4.0/openqa_review/openqa_review.py 
new/openqa_review-1.4.1/openqa_review/openqa_review.py
--- old/openqa_review-1.4.0/openqa_review/openqa_review.py  2017-01-20 
13:06:58.0 +0100
+++ new/openqa_review-1.4.1/openqa_review/openqa_review.py  2017-01-20 
14:23:49.0 +0100
@@ -370,7 +370,9 @@
 threshold = float(running_threshold) if running_threshold is not None else 0
 
 # filter out empty builds
-builds = {build: result for build, result in iteritems(builds) if 
result['total'] != 0 and result['total'] > result['skipped']}
+def non_empty(r):
+return r['total'] != 0 and r['total'] > r['skipped'] and not ('build' 
in r.keys() and r['build'] is None)
+builds = {build: result for build, result in iteritems(builds) if 
non_empty(result)}
 
 finished = {build: result for build, result in iteritems(builds) if not 
result['unfinished'] or
 (100 * float(result['unfinished']) / result['total']) <= 
threshold}




commit python-openqa_review for openSUSE:Factory

2017-01-24 Thread root
Hello community,

here is the log from the commit of package python-openqa_review for 
openSUSE:Factory checked in at 2017-01-24 10:37:37

Comparing /work/SRC/openSUSE:Factory/python-openqa_review (Old)
 and  /work/SRC/openSUSE:Factory/.python-openqa_review.new (New)


Package is "python-openqa_review"

Changes:

--- 
/work/SRC/openSUSE:Factory/python-openqa_review/python-openqa_review.changes
2016-10-31 09:54:28.0 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-openqa_review.new/python-openqa_review.changes
   2017-01-24 10:37:58.979373572 +0100
@@ -1,0 +2,32 @@
+Fri Jan 20 13:24:33 UTC 2017 - opensuse-packag...@opensuse.org
+
+- Update to version 1.4.1:
+  * Ignore builds which have an actual empty build value
+
+---
+Fri Jan 20 12:08:40 UTC 2017 - opensuse-packag...@opensuse.org
+
+- Update to version 1.4.0:
+  * Add tumblesle example scripts
+  * Use index.json to get job groups (#36)
+  * Prepare for wellformed json (#38)
+  * Fix #41: Handle broken bugrefs gracefully (#42)
+  * Fix for parent groups: Use API to get job_groups (#43)
+  * Use JSON version of group_overview (#44)
+  * TODO: Add entry about configparser travis error
+  * Ensure configparser is available for py2+3
+  * Fix py27 errors only observable on travis
+  * Handle job groups with builds not having any 'done' jobs at all
+  * Try to get distri/version for each build (#47)
+  * Ensure proper URL concatenation on py2 for bug details retrieval
+  * Show parent group in report (#48)
+  * Add tumblesle helper script for 12sp3
+  * Add update_jekyll for tumblesle release
+  * Use blank build value without version prefix (#51)
+  * Comment on old bugs with new failed test url (#50)
+  * Fix flake8 reported issues after 48fb659
+  * Fix parsing of job groups after openQA#9b50b22
+  * Run all envs on travis
+  * Add command line option for '--min-days-unchanged' for reminder comments
+
+---

Old:

  python-openqa_review-1.3.2.tar.gz

New:

  python-openqa_review-1.4.0.tar.gz



Other differences:
--
++ python-openqa_review.spec ++
--- /var/tmp/diff_new_pack.jlEqjf/_old  2017-01-24 10:37:59.667275868 +0100
+++ /var/tmp/diff_new_pack.jlEqjf/_new  2017-01-24 10:37:59.671275299 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-openqa_review
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 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
@@ -18,7 +18,7 @@
 
 %define short_name openqa_review
 Name:   python-%{short_name}
-Version:1.3.2
+Version:1.4.0
 Release:0
 Summary:A review helper script for openQA
 License:MIT

++ _update.sh ++
--- /var/tmp/diff_new_pack.jlEqjf/_old  2017-01-24 10:37:59.711269619 +0100
+++ /var/tmp/diff_new_pack.jlEqjf/_new  2017-01-24 10:37:59.711269619 +0100
@@ -5,5 +5,5 @@
 rm *.tar.xz
 osc rm *.tar.gz
 osc service localrun download_files
-osc add *.tar.gz *.changes *.spec
+osc add *.tar.gz
 osc ci -m "Update to $version"

++ python-openqa_review-1.3.2.tar.gz -> python-openqa_review-1.4.0.tar.gz 
++
 14804 lines of diff (skipped)




commit python-openqa_review for openSUSE:Factory

2016-10-10 Thread h_root
Hello community,

here is the log from the commit of package python-openqa_review for 
openSUSE:Factory checked in at 2016-10-10 16:21:18

Comparing /work/SRC/openSUSE:Factory/python-openqa_review (Old)
 and  /work/SRC/openSUSE:Factory/.python-openqa_review.new (New)


Package is "python-openqa_review"

Changes:

--- 
/work/SRC/openSUSE:Factory/python-openqa_review/python-openqa_review.changes
2016-10-06 12:42:46.0 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-openqa_review.new/python-openqa_review.changes
   2016-10-10 16:21:19.0 +0200
@@ -1,0 +2,7 @@
+Thu Oct 06 10:43:24 UTC 2016 - opensuse-packag...@opensuse.org
+
+- Update to version 1.3.1:
+  * tests: Correct test files for 'after_61b4db60'
+  * Prevent "no builds" found for weird combination of python packages for 
some users
+
+---

Old:

  python-openqa_review-1.3.0.tar.gz

New:

  python-openqa_review-1.3.1.tar.gz



Other differences:
--
++ python-openqa_review.spec ++
--- /var/tmp/diff_new_pack.89pdfv/_old  2016-10-10 16:21:20.0 +0200
+++ /var/tmp/diff_new_pack.89pdfv/_new  2016-10-10 16:21:20.0 +0200
@@ -18,7 +18,7 @@
 
 %define short_name openqa_review
 Name:   python-%{short_name}
-Version:1.3.0
+Version:1.3.1
 Release:0
 Summary:A review helper script for openQA
 License:MIT

++ python-openqa_review-1.3.0.tar.gz -> python-openqa_review-1.3.1.tar.gz 
++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/openqa_review-1.3.0/openqa_review/openqa_review.py 
new/openqa_review-1.3.1/openqa_review/openqa_review.py
--- old/openqa_review-1.3.0/openqa_review/openqa_review.py  2016-09-29 
20:15:42.0 +0200
+++ new/openqa_review-1.3.1/openqa_review/openqa_review.py  2016-10-06 
12:41:00.0 +0200
@@ -359,7 +359,7 @@
 def below_threshold(bar):
 threshold = float(running_threshold) if running_threshold is not None 
else 0
 return float(bar['style'].lstrip('width: ').rstrip(';').rstrip('%')) 
<= threshold
-builds = [bar.parent.parent for bar in 
soup.find_all(class_=re.compile("progress build-dashboard"))]
+builds = [bar.parent.parent for bar in soup.find_all(class_='progress 
build-dashboard')]
 finished = [build for build in builds if not 
build.find(class_='progress-bar-striped') or
 below_threshold(build.find(class_='progress-bar-striped'))]
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/openqa_review-1.3.0/tests/openqa_dashboard_after_61b4db60/https%3A::openqa.opensuse.org:group_overview:1
 
new/openqa_review-1.3.1/tests/openqa_dashboard_after_61b4db60/https%3A::openqa.opensuse.org:group_overview:1
--- 
old/openqa_review-1.3.0/tests/openqa_dashboard_after_61b4db60/https%3A::openqa.opensuse.org:group_overview:1
2016-09-29 20:15:42.0 +0200
+++ 
new/openqa_review-1.3.1/tests/openqa_dashboard_after_61b4db60/https%3A::openqa.opensuse.org:group_overview:1
2016-10-06 12:41:00.0 +0200
@@ -24,18 +24,10 @@
 
 
 
-
-42 passed
-
-
-5 unfinished
-
-
-38 softfailed
-
-
-16 failed
-
+42 passed
+5 unfinished
+38 softfailed
+16 failed
 
 
 
@@ -50,18 +42,9 @@
 
 
 
-
-55 passed
-
-
-0 unfinished
-
-
-43 softfailed
-
-
-5 failed
-
+55 passed
+43 softfailed
+5 failed
 
 
 
@@ -76,18 +59,9 @@
 
 
 
-
-53 passed
-
-
-0 unfinished
-
-
-43 softfailed
-
-
-6 failed
-
+53 passed
+43 softfailed
+6 failed
 
 
 
@@ -102,18 +76,9 @@
 
 

commit python-openqa_review for openSUSE:Factory

2016-10-06 Thread h_root
Hello community,

here is the log from the commit of package python-openqa_review for 
openSUSE:Factory checked in at 2016-10-06 12:42:46

Comparing /work/SRC/openSUSE:Factory/python-openqa_review (Old)
 and  /work/SRC/openSUSE:Factory/.python-openqa_review.new (New)


Package is "python-openqa_review"

Changes:

--- 
/work/SRC/openSUSE:Factory/python-openqa_review/python-openqa_review.changes
2016-09-28 11:30:52.0 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-openqa_review.new/python-openqa_review.changes
   2016-10-06 12:42:46.0 +0200
@@ -1,0 +2,42 @@
+Thu Sep 29 19:59:24 UTC 2016 - opensuse-packag...@opensuse.org
+
+- Update to version 1.3.0:
+  * report_links: Make 'latest' a link in markdown format
+  * wip -- add bug report links, also for progress, for later
+  * TODO: correct indendation of some entries
+  * TODO: Remove implemented bug reporting links
+  * browser: Support saving pages with unicode content in python2
+  * issue_report_link: Support non-digit builds
+  * issue_report_link: Handle non-existing product mapping option gracefully
+  * Allow filtering for closed / unassigned bugs
+  * TODO: Add some ideas
+  * Add dashboard generation script
+  * Store dashboard file at common "bin" location
+  * Delete unnecessary bootstrap.js and font files
+  * Add LICENSE.GPL-2 for files under dashboard_files/
+  * dashboard: Use robust 'sh -e' shebang
+  * Add bin/openqa_review_osd_daily_email script
+  * dashboard: Make all variables options with defaults
+  * dashboard: Replace three-step sed replace by proper template replace
+  * dashboard: Customize logo with a big 'R' on top for 'review'
+  * Merge 'dashboard' and 'openqa_review_osd_daily_email'
+  * issue_report_link: Fix unsupported failures without failed modules
+  * TODO: Mark 'use test verbosity for existing' as fixed
+  * Do not fail when there are no closed/unass bugs (#28)
+  * Fix #21: Put hr to own line and use md syntax (#29)
+  * Make hr between products on dashboard page thicker (#31)
+  * Fix ") in issue subject breaking markdown (#30)
+  * Support new-style progress bars of openQA
+
+---
+Wed Sep 21 20:05:02 UTC 2016 - opensuse-packag...@opensuse.org
+
+- Update to version 1.2.0:
+  * Display ticket priority (#25)
+  * Show __doc__ as port of help
+  * Add links to verbose reports to directly report bugs
+  * Use host specific issue tracker product mapping
+  * Ensure multiple missing archs are sorted
+  * Add more information to bug report links
+
+---

Old:

  python-openqa_review-1.1.0.tar.gz

New:

  python-openqa_review-1.3.0.tar.gz



Other differences:
--
++ python-openqa_review.spec ++
--- /var/tmp/diff_new_pack.DzahUW/_old  2016-10-06 12:42:47.0 +0200
+++ /var/tmp/diff_new_pack.DzahUW/_new  2016-10-06 12:42:47.0 +0200
@@ -18,7 +18,7 @@
 
 %define short_name openqa_review
 Name:   python-%{short_name}
-Version:1.1.0
+Version:1.3.0
 Release:0
 Summary:A review helper script for openQA
 License:MIT

++ python-openqa_review-1.1.0.tar.gz -> python-openqa_review-1.3.0.tar.gz 
++
 23138 lines of diff (skipped)




commit python-openqa_review for openSUSE:Factory

2016-09-28 Thread h_root
Hello community,

here is the log from the commit of package python-openqa_review for 
openSUSE:Factory checked in at 2016-09-28 11:30:51

Comparing /work/SRC/openSUSE:Factory/python-openqa_review (Old)
 and  /work/SRC/openSUSE:Factory/.python-openqa_review.new (New)


Package is "python-openqa_review"

Changes:

New Changes file:

--- /dev/null   2016-09-15 12:42:18.240042505 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-openqa_review.new/python-openqa_review.changes
   2016-09-28 11:30:52.0 +0200
@@ -0,0 +1,67 @@
+---
+Tue Sep 20 15:24:45 UTC 2016 - opensuse-packag...@opensuse.org
+
+- Update to version 1.1.0:
+  * Get objects up into the main function (#22)
+  * Fix arch matching (#23)
+  * Treat incomplete->failed as new failures
+
+---
+Mon Sep 19 15:00:14 UTC 2016 - opensuse-packag...@opensuse.org
+
+- Update to version 1.0.0:
+  * Simplify script usage (#13)
+  * Add Browser cache (#15)
+  * Be more strict about bugrefs read on openQA webpages
+  * Use Objects to handle Issues and ArchReport
+  * Add .swp files to .gitignore
+  * Fix soft failed: Use new 'result_softfailed' str
+  * TODO: Add idea about bug reporting links
+  * Add ArchReports and IssueEntry obj (#19)
+  * '-r' and '-T' are not mutually exclusive anymore
+  * Get objects up into the main function (#22)
+
+---
+Tue Sep 13 11:05:47 UTC 2016 - opensuse-packag...@opensuse.org
+
+- Update to version 0.8.1:
+  * Fix 'missing architectures' entry not yielding proper table row
+  * Fix D403 style issues
+  * Prevent flake8 check running on existing .tox dir
+  * Ensure proper python2+3 testing on different distributions
+  * TODO: DONE "Using labels …" with commit fd1b373
+  * TODO: DONE "package for openSUSE"
+
+---
+Mon Sep 12 21:08:50 UTC 2016 - opensuse-packag...@opensuse.org
+
+- Update to version 0.8.0:
+  * Read Bugzilla issue status & subject (#8)
+  * Fix config parsing for python2 (#9)
+  * Fix insecure ssl warning (#10)
+  * TODO: Add reference to mass bug filing tool
+  * Let --query-issue-status" arg implie --bugrefs (#11)
+  * Extract Browser into module
+  * Extract report generator object for 'new issue'
+  * Use absolute imports for python2
+
+---
+Thu Aug 25 09:29:41 UTC 2016 - opensuse-packag...@opensuse.org
+
+- Update to version 0.7.1:
+  * .travis.yml: Add pypi deploy commands
+  * Correct name in setup.py to 'openqa_review'
+  * Add reference for pypi deploy to .travis.yml
+  * Accept 'not enough finished builds' as expected behaviour
+  * Prevent inactive job groups showing up in openQA >= 4.4
+  * Add wrapper script for SLES/HA review
+  * Correct markdown syntax of code segments
+  * Handle download errors graciously
+  * Correct log message for saving files in Browser
+  * Fix 'KeyError TODO' with builds having only bugref'd jobs
+
+---
+Sun Jan 24 12:16:00 UTC 2016 - ok...@suse.de
+
+- initial package
+

New:

  _service
  _update.sh
  python-openqa_review-1.1.0.tar.gz
  python-openqa_review.changes
  python-openqa_review.spec



Other differences:
--
++ python-openqa_review.spec ++
#
# spec file for package python-openqa_review
#
# Copyright (c) 2016 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


%define short_name openqa_review
Name:   python-%{short_name}
Version:1.1.0
Release:0
Summary:A review helper script for openQA
License:MIT
Group:  Development/Languages/Python
Source: 
https://github.com/okurz/%{short_name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
Url:https://github.com/okurz/%{short_name}
BuildRoot:  %{_tmppath}/%{name}-%{version}-build
BuildRequires:  python-setuptools
Requires:   python-PyYAML
Requires:   python-beautifulsoup4
Requires:   python-future