commit openSUSE-release-tools for openSUSE:Factory
Hello community, here is the log from the commit of package openSUSE-release-tools for openSUSE:Factory checked in at 2019-05-25 13:20:54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 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" Sat May 25 13:20:54 2019 rev:181 rq:705208 version:20190524.fa2a17cf Changes: -------- --- /work/SRC/openSUSE:Factory/openSUSE-release-tools/openSUSE-release-tools.changes 2019-05-24 11:31:35.341403314 +0200 +++ /work/SRC/openSUSE:Factory/.openSUSE-release-tools.new.5148/openSUSE-release-tools.changes 2019-05-25 13:21:03.696318118 +0200 @@ -1,0 +2,12 @@ +Fri May 24 10:26:34 UTC 2019 - opensuse-releaseteam@opensuse.org + +- Update to version 20190524.fa2a17cf: + * accept_command: fix missing the url for uploading product file change + +------------------------------------------------------------------- +Thu May 23 04:34:02 UTC 2019 - opensuse-releaseteam@opensuse.org + +- Update to version 20190523.823c5142: + * Fix factory-package-news to work with Python 3 + +------------------------------------------------------------------- Old: ---- openSUSE-release-tools-20190522.4ee44da8.obscpio New: ---- openSUSE-release-tools-20190524.fa2a17cf.obscpio ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ openSUSE-release-tools.spec ++++++ --- /var/tmp/diff_new_pack.i0CCHx/_old 2019-05-25 13:21:06.920316919 +0200 +++ /var/tmp/diff_new_pack.i0CCHx/_new 2019-05-25 13:21:06.920316919 +0200 @@ -20,7 +20,7 @@ %define source_dir openSUSE-release-tools %define announcer_filename factory-package-news Name: openSUSE-release-tools -Version: 20190522.4ee44da8 +Version: 20190524.fa2a17cf 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.i0CCHx/_old 2019-05-25 13:21:06.972316900 +0200 +++ /var/tmp/diff_new_pack.i0CCHx/_new 2019-05-25 13:21:06.972316900 +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">c4dccf80ab91f933a893b6faf5e0bc60abbb7210</param> + <param name="changesrevision">5d13e07b5a71b808c3ed1668be5d92065a288380</param> </service> </servicedata> ++++++ openSUSE-release-tools-20190522.4ee44da8.obscpio -> openSUSE-release-tools-20190524.fa2a17cf.obscpio ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/openSUSE-release-tools-20190522.4ee44da8/factory-package-news/factory-package-news.py new/openSUSE-release-tools-20190524.fa2a17cf/factory-package-news/factory-package-news.py --- old/openSUSE-release-tools-20190522.4ee44da8/factory-package-news/factory-package-news.py 2019-05-23 03:45:09.000000000 +0200 +++ new/openSUSE-release-tools-20190524.fa2a17cf/factory-package-news/factory-package-news.py 2019-05-24 12:24:49.000000000 +0200 @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python3 from pprint import pprint import os, sys, io @@ -9,7 +9,8 @@ import cmdln import re -SRPM_RE = re.compile(r'(?P<name>.+)-(?P<version>[^-]+)-(?P<release>[^-]+)\.(?P<suffix>(?:no)?src\.rpm)$') +SRPM_RE = re.compile( + r'(?P<name>.+)-(?P<version>[^-]+)-(?P<release>[^-]+)\.(?P<suffix>(?:no)?src\.rpm)$') data_version = 3 @@ -51,12 +52,13 @@ changelogs = dict() def _getdata(h): - srpm = h['sourcerpm'] + srpm = str(h['sourcerpm'], 'utf-8') + binrpm = str(h['name'], 'utf-8') evr = dict() for tag in ['name', 'version', 'release', 'sourcerpm']: - evr[tag] = h[tag] - pkgdata[h['name']] = evr + evr[tag] = str(h[tag], 'utf-8') + pkgdata[binrpm] = evr # dirty hack to reduce kernel spam m = SRPM_RE.match(srpm) @@ -77,15 +79,17 @@ 'kernel-xen', ): srpm = '%s-%s-%s.src.rpm'%('kernel-source', m.group('version'), m.group('release')) - pkgdata[h['name']]['sourcerpm'] = srpm - print("%s -> %s"%(h['sourcerpm'], srpm)) + pkgdata[binrpm]['sourcerpm'] = srpm + print("%s -> %s"%(str(h['sourcerpm'], 'utf-8'), srpm)) if srpm in changelogs: - changelogs[srpm]['packages'].append(h['name']) + changelogs[srpm]['packages'].append(binrpm) else: - data = { 'packages': [ h['name'] ] } - for tag in ['changelogtime', 'changelogtext']: - data[tag] = h[tag] + data = { 'packages': [ binrpm ] } + data['changelogtime'] = h['changelogtime'] + data['changelogtext'] = h['changelogtext'] + for (t, txt) in enumerate(data['changelogtext']): + data['changelogtext'][t] = str(txt, 'utf-8') changelogs[srpm] = data for arg in args: @@ -165,7 +169,8 @@ ${cmd_option_list} """ f = open(filename, 'rb') - (v, (pkgs, changelogs)) = pickle.load(f) + (v, (pkgs, changelogs)) = pickle.load( + f, encoding='utf-8', errors='backslashreplace') pprint(pkgs[package]) pprint(changelogs[pkgs[package]['sourcerpm']]) @@ -193,11 +198,13 @@ raise Exception("%s must be a directory"%opts.dir) f = open(os.path.join(opts.dir, version1), 'rb') - (v, (v1pkgs, v1changelogs)) = pickle.load(f) + (v, (v1pkgs, v1changelogs)) = pickle.load(f, + encoding='utf-8', errors='backslashreplace') if v != data_version: raise Exception("not matching version %s in %s"%(v, version1)) f = open(os.path.join(opts.dir, version2), 'rb') - (v, (v2pkgs, v2changelogs)) = pickle.load(f) + (v, (v2pkgs, v2changelogs)) = pickle.load(f, + encoding='utf-8', errors='backslashreplace') if v != data_version: raise Exception("not matching version %s in %s"%(v, version2)) @@ -233,8 +240,10 @@ pkgs = sorted(group[srpm]) details += "\n==== %s ====\n"%name if v1pkgs[pkgs[0]]['version'] != v2pkgs[pkgs[0]]['version']: - print(" %s (%s -> %s)"%(name, v1pkgs[pkgs[0]]['version'], v2pkgs[pkgs[0]]['version'])) - details += "Version update (%s -> %s)\n" % (v1pkgs[pkgs[0]]['version'], v2pkgs[pkgs[0]]['version']) + print(" %s (%s -> %s)" % (name, v1pkgs[pkgs[0]]['version'], + v2pkgs[pkgs[0]]['version'])) + details += "Version update (%s -> %s)\n" % (v1pkgs[pkgs[0]]['version'], + v2pkgs[pkgs[0]]['version']) else: print(" %s" % name) if len(pkgs) > 1: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/openSUSE-release-tools-20190522.4ee44da8/osclib/accept_command.py new/openSUSE-release-tools-20190524.fa2a17cf/osclib/accept_command.py --- old/openSUSE-release-tools-20190522.4ee44da8/osclib/accept_command.py 2019-05-23 03:45:09.000000000 +0200 +++ new/openSUSE-release-tools-20190524.fa2a17cf/osclib/accept_command.py 2019-05-24 12:24:49.000000000 +0200 @@ -306,6 +306,7 @@ if product_spec != new_product: update_version_attr = True + url = self.api.makeurl(['source', project, product_pkg, product_name]) http_PUT(url + '?comment=Update+version', data=new_product) if update_version_attr: ++++++ openSUSE-release-tools.obsinfo ++++++ --- /var/tmp/diff_new_pack.i0CCHx/_old 2019-05-25 13:21:07.720316623 +0200 +++ /var/tmp/diff_new_pack.i0CCHx/_new 2019-05-25 13:21:07.720316623 +0200 @@ -1,5 +1,5 @@ name: openSUSE-release-tools -version: 20190522.4ee44da8 -mtime: 1558575909 -commit: 4ee44da8ee8abf7d201ab72506679ae12d9025ff +version: 20190524.fa2a17cf +mtime: 1558693489 +commit: fa2a17cfec75d7eb9b99f987feff0aae1bf1cfa0
participants (1)
-
root