Hello community,
here is the log from the commit of package openSUSE-release-tools for
openSUSE:Factory checked in at 2019-05-16 22:09:05
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/openSUSE-release-tools (Old)
and /work/SRC/openSUSE:Factory/.openSUSE-release-tools.new.5148 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "openSUSE-release-tools"
Thu May 16 22:09:05 2019 rev:175 rq:703233 version:20190515.5a1b08d8
Changes:
--------
---
/work/SRC/openSUSE:Factory/openSUSE-release-tools/openSUSE-release-tools.changes
2019-05-15 12:35:18.156384513 +0200
+++
/work/SRC/openSUSE:Factory/.openSUSE-release-tools.new.5148/openSUSE-release-tools.changes
2019-05-16 22:09:13.610326980 +0200
@@ -1,0 +2,22 @@
+Wed May 15 18:26:28 UTC 2019 - [email protected]
+
+- Update to version 20190515.5a1b08d8:
+ * osclib: make source_file_load() always return string
+ * Switch to newly created account to update OSRT
+ * pkglistgen: Output strings on the console
+
+-------------------------------------------------------------------
+Wed May 15 04:38:35 UTC 2019 - [email protected]
+
+- Update to version 20190515.077c32aa:
+ * check_tags_in_requests: escalate loss of issue references to a decline.
+ * check_tags_in_requests: make issue singular since references is plural.
+ * check_tags_in_requests: issue state is deleted not removed.
+
+-------------------------------------------------------------------
+Wed May 15 03:19:22 UTC 2019 - [email protected]
+
+- Update to version 20190514.a1e436cb:
+ * Add CNAME for github pages serving.
+
+-------------------------------------------------------------------
Old:
----
openSUSE-release-tools-20190514.3df85367.obscpio
New:
----
openSUSE-release-tools-20190515.5a1b08d8.obscpio
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ openSUSE-release-tools.spec ++++++
--- /var/tmp/diff_new_pack.MTgd56/_old 2019-05-16 22:09:14.822325878 +0200
+++ /var/tmp/diff_new_pack.MTgd56/_new 2019-05-16 22:09:14.830325872 +0200
@@ -31,7 +31,7 @@
%define source_dir openSUSE-release-tools
%define announcer_filename factory-package-news
Name: openSUSE-release-tools
-Version: 20190514.3df85367
+Version: 20190515.5a1b08d8
Release: 0
Summary: Tools to aid in staging and release work for openSUSE/SUSE
License: GPL-2.0-or-later AND MIT
++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.MTgd56/_old 2019-05-16 22:09:14.866325838 +0200
+++ /var/tmp/diff_new_pack.MTgd56/_new 2019-05-16 22:09:14.870325835 +0200
@@ -1,6 +1,6 @@
<servicedata>
<service name="tar_scm">
<param
name="url">https://github.com/openSUSE/openSUSE-release-tools.git</param>
- <param
name="changesrevision">3df85367fb155dc05fd4b94511247049acfb7254</param>
+ <param
name="changesrevision">5a1b08d81bf4a42d4413e340d555a3fee25cf811</param>
</service>
</servicedata>
++++++ openSUSE-release-tools-20190514.3df85367.obscpio ->
openSUSE-release-tools-20190515.5a1b08d8.obscpio ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/openSUSE-release-tools-20190514.3df85367/CNAME
new/openSUSE-release-tools-20190515.5a1b08d8/CNAME
--- old/openSUSE-release-tools-20190514.3df85367/CNAME 1970-01-01
01:00:00.000000000 +0100
+++ new/openSUSE-release-tools-20190515.5a1b08d8/CNAME 2019-05-15
13:47:32.000000000 +0200
@@ -0,0 +1 @@
+osrt.opensuse.org
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/openSUSE-release-tools-20190514.3df85367/check_tags_in_requests.py
new/openSUSE-release-tools-20190515.5a1b08d8/check_tags_in_requests.py
--- old/openSUSE-release-tools-20190514.3df85367/check_tags_in_requests.py
2019-05-15 01:48:00.000000000 +0200
+++ new/openSUSE-release-tools-20190515.5a1b08d8/check_tags_in_requests.py
2019-05-15 13:47:32.000000000 +0200
@@ -79,13 +79,13 @@
xml = ET.parse(f)
issues = len(xml.findall('./issues/issue'))
- removed = len(xml.findall('./issues/issue[@state="removed"]'))
+ deleted = len(xml.findall('./issues/issue[@state="deleted"]'))
if issues == 0:
self.logger.debug("reject: diff contains no tags")
return False
- if removed > 0:
- self.review_messages['accepted'] = 'Warning: {} issues
reference(s) removed'.format(removed)
- return True
+ if deleted > 0:
+ self.review_messages['declined'] = '{} issue reference(s)
deleted'.format(deleted)
+ return False
return True
def checkTagNotRequired(self, req, a):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/openSUSE-release-tools-20190514.3df85367/gocd/update.osrt.gocd.yaml
new/openSUSE-release-tools-20190515.5a1b08d8/gocd/update.osrt.gocd.yaml
--- old/openSUSE-release-tools-20190514.3df85367/gocd/update.osrt.gocd.yaml
2019-05-15 01:48:00.000000000 +0200
+++ new/openSUSE-release-tools-20190515.5a1b08d8/gocd/update.osrt.gocd.yaml
2019-05-15 13:47:32.000000000 +0200
@@ -3,7 +3,7 @@
Update.Package.OSRT:
group: Admin
environment_variables:
- OSC_CONFIG: /home/go/config/oscrc-staging-bot
+ OSC_CONFIG: /home/go/config/oscrc-opensuse-tools-updater
OBS_PROJECT: openSUSE:Tools
OBS_PACKAGE: openSUSE-release-tools
OBS_TARGET_PROJECT: openSUSE:Factory
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/openSUSE-release-tools-20190514.3df85367/osclib/accept_command.py
new/openSUSE-release-tools-20190515.5a1b08d8/osclib/accept_command.py
--- old/openSUSE-release-tools-20190514.3df85367/osclib/accept_command.py
2019-05-15 01:48:00.000000000 +0200
+++ new/openSUSE-release-tools-20190515.5a1b08d8/osclib/accept_command.py
2019-05-15 13:47:32.000000000 +0200
@@ -301,8 +301,7 @@
for product in products.findall('product'):
product_name = product.get('name') + '.product'
product_pkg = product.get('originpackage')
- url = self.api.makeurl(['source', project, product_pkg,
product_name])
- product_spec = http_GET(url).read()
+ product_spec = source_file_load(self.api.apiurl, project,
product_pkg, product_name)
new_product = re.sub(r'<version>\d{8}</version>',
'<version>%s</version>' % curr_version, product_spec)
if product_spec != new_product:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/openSUSE-release-tools-20190514.3df85367/osclib/core.py
new/openSUSE-release-tools-20190515.5a1b08d8/osclib/core.py
--- old/openSUSE-release-tools-20190514.3df85367/osclib/core.py 2019-05-15
01:48:00.000000000 +0200
+++ new/openSUSE-release-tools-20190515.5a1b08d8/osclib/core.py 2019-05-15
13:47:32.000000000 +0200
@@ -26,6 +26,7 @@
from osc.core import show_package_meta
from osc.core import show_project_meta
from osc.core import show_results_meta
+from osc.util.helper import decode_it
from osclib.conf import Config
from osclib.memoize import memoize
@@ -261,7 +262,7 @@
query['rev'] = revision
url = makeurl(apiurl, ['source', project, package, filename], query)
try:
- return http_GET(url).read()
+ return decode_it(http_GET(url).read())
except HTTPError:
return None
@@ -288,7 +289,7 @@
project, package = project_pseudometa_package(apiurl, project)
source_file = source_file_load(apiurl, project, package, filename,
revision)
if source_file is not None:
- source_file = source_file.decode('utf-8').rstrip()
+ source_file = source_file.rstrip()
return source_file
def project_pseudometa_file_save(apiurl, project, filename, content,
comment=None):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/openSUSE-release-tools-20190514.3df85367/osclib/stagingapi.py
new/openSUSE-release-tools-20190515.5a1b08d8/osclib/stagingapi.py
--- old/openSUSE-release-tools-20190514.3df85367/osclib/stagingapi.py
2019-05-15 01:48:00.000000000 +0200
+++ new/openSUSE-release-tools-20190515.5a1b08d8/osclib/stagingapi.py
2019-05-15 13:47:32.000000000 +0200
@@ -1162,8 +1162,8 @@
# If adi project, check for baselibs.conf in all specs to catch both
# dynamically generated and static baselibs.conf.
baselibs = False if self.is_adi_project(project) else None
- if baselibs is False and 'baselibs.conf' in str(source_file_load(
- self.apiurl, src_prj, src_pkg, '{}.spec'.format(src_pkg),
src_rev)):
+ if baselibs is False and 'baselibs.conf' in source_file_load(
+ self.apiurl, src_prj, src_pkg, '{}.spec'.format(src_pkg),
src_rev):
baselibs = True
for sub_pkg in self.get_sub_packages(tar_pkg, project):
@@ -1173,8 +1173,8 @@
url = self.makeurl(['source', project, sub_pkg, '_link'])
http_PUT(url, data=ET.tostring(root))
- if baselibs is False and 'baselibs.conf' in str(source_file_load(
- self.apiurl, src_prj, src_pkg, '{}.spec'.format(sub_pkg),
src_rev)):
+ if baselibs is False and 'baselibs.conf' in source_file_load(
+ self.apiurl, src_prj, src_pkg, '{}.spec'.format(sub_pkg),
src_rev):
baselibs = True
if baselibs:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/openSUSE-release-tools-20190514.3df85367/pkglistgen/tool.py
new/openSUSE-release-tools-20190515.5a1b08d8/pkglistgen/tool.py
--- old/openSUSE-release-tools-20190514.3df85367/pkglistgen/tool.py
2019-05-15 01:48:00.000000000 +0200
+++ new/openSUSE-release-tools-20190515.5a1b08d8/pkglistgen/tool.py
2019-05-15 13:47:32.000000000 +0200
@@ -358,7 +358,7 @@
args.append(d)
p = subprocess.Popen(args, stdout=subprocess.PIPE)
for line in p.stdout:
- self.logger.info(line.rstrip())
+ self.logger.info(line.decode('utf-8').rstrip())
files = [os.path.join(d, f)
for f in os.listdir(d) if f.endswith('.rpm')]
++++++ openSUSE-release-tools.obsinfo ++++++
--- /var/tmp/diff_new_pack.MTgd56/_old 2019-05-16 22:09:15.590325181 +0200
+++ /var/tmp/diff_new_pack.MTgd56/_new 2019-05-16 22:09:15.590325181 +0200
@@ -1,5 +1,5 @@
name: openSUSE-release-tools
-version: 20190514.3df85367
-mtime: 1557877680
-commit: 3df85367fb155dc05fd4b94511247049acfb7254
+version: 20190515.5a1b08d8
+mtime: 1557920852
+commit: 5a1b08d81bf4a42d4413e340d555a3fee25cf811