Hello community, here is the log from the commit of package osc for openSUSE:Factory checked in at 2019-05-20 13:18:49 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/osc (Old) and /work/SRC/openSUSE:Factory/.osc.new.5148 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "osc" Mon May 20 13:18:49 2019 rev:132 rq:704176 version:0.165.1 Changes: -------- --- /work/SRC/openSUSE:Factory/osc/osc.changes 2019-04-25 16:20:50.194072396 +0200 +++ /work/SRC/openSUSE:Factory/.osc.new.5148/osc.changes 2019-05-20 13:18:53.563885820 +0200 @@ -1,0 +2,11 @@ +Mon May 20 06:39:33 UTC 2019 - Marco Strigl <marco.str...@suse.com> + +- 0.165.1 + * fix oscssl "urldefrag is not defined error" + * osc release command now python3 compatible + * add more decode logic in get_commitlog + * osc add <dir> in compressed mode now works with python3 + * osc getbinaries now prints the output instead of + using the quiet mode as a default + +------------------------------------------------------------------- Old: ---- osc-0.165.0.tar.gz New: ---- osc-0.165.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ osc.spec ++++++ --- /var/tmp/diff_new_pack.TgpxvR/_old 2019-05-20 13:18:54.943884482 +0200 +++ /var/tmp/diff_new_pack.TgpxvR/_new 2019-05-20 13:18:54.947884478 +0200 @@ -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/ # @@ -27,12 +27,12 @@ %define use_python python %endif -%define version_unconverted 0.165.0 +%define version_unconverted 0.165.1 %define osc_plugin_dir %{_prefix}/lib/osc-plugins %define macros_file macros.osc Name: osc -Version: 0.165.0 +Version: 0.165.1 Release: 0 Summary: Open Build Service Commander License: GPL-2.0-or-later ++++++ PKGBUILD ++++++ --- /var/tmp/diff_new_pack.TgpxvR/_old 2019-05-20 13:18:54.987884439 +0200 +++ /var/tmp/diff_new_pack.TgpxvR/_new 2019-05-20 13:18:54.987884439 +0200 @@ -1,5 +1,5 @@ pkgname=osc -pkgver=0.165.0 +pkgver=0.165.1 pkgrel=0 pkgdesc="Open Build Service client" arch=('i686' 'x86_64') ++++++ _service ++++++ --- /var/tmp/diff_new_pack.TgpxvR/_old 2019-05-20 13:18:55.011884416 +0200 +++ /var/tmp/diff_new_pack.TgpxvR/_new 2019-05-20 13:18:55.011884416 +0200 @@ -1,7 +1,7 @@ <services> <service name="tar_scm" mode="disabled"> - <param name="version">0.165.0</param> - <param name="revision">0.165.0</param> + <param name="version">0.165.1</param> + <param name="revision">0.165.1</param> <param name="url">git://github.com/openSUSE/osc.git</param> <param name="scm">git</param> </service> ++++++ debian.changelog ++++++ --- /var/tmp/diff_new_pack.TgpxvR/_old 2019-05-20 13:18:55.051884377 +0200 +++ /var/tmp/diff_new_pack.TgpxvR/_new 2019-05-20 13:18:55.051884377 +0200 @@ -1,4 +1,4 @@ -osc (0.165.0) unstable; urgency=low +osc (0.165.1) unstable; urgency=low - Update to 0.161.1 -- Marco Strigl <marco.str...@suse.com> Thu, 26 Oct 2017 14:42:00 +0200 ++++++ osc-0.165.0.tar.gz -> osc-0.165.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/osc-0.165.0/NEWS new/osc-0.165.1/NEWS --- old/osc-0.165.0/NEWS 2019-04-18 14:27:42.000000000 +0200 +++ new/osc-0.165.1/NEWS 2019-05-20 08:35:27.000000000 +0200 @@ -1,3 +1,11 @@ +0.165.1 + - fix oscssl "urldefrag is not defined error" + - osc release command now python3 compatible + - add more decode logic in get_commitlog + - osc add <dir> in compressed mode now works with python3 + - osc getbinaries now prints the output instead of + using the quiet mode as a default + 0.165.0 - full python3 compatibility diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/osc-0.165.0/osc/commandline.py new/osc-0.165.1/osc/commandline.py --- old/osc-0.165.0/osc/commandline.py 2019-04-18 14:27:42.000000000 +0200 +++ new/osc-0.165.1/osc/commandline.py 2019-05-20 08:35:27.000000000 +0200 @@ -3058,7 +3058,7 @@ buf = f.read(16384) if not buf: break - sys.stdout.write(buf) + sys.stdout.write(decode_it(buf)) @cmdln.option('-m', '--message', metavar='TEXT', @@ -7289,7 +7289,7 @@ package = pac, target_filename = fname, target_mtime = i.mtime, - progress_meter = opts.quiet) + progress_meter = not opts.quiet) @cmdln.option('-b', '--bugowner', action='store_true', diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/osc-0.165.0/osc/core.py new/osc-0.165.1/osc/core.py --- old/osc-0.165.0/osc/core.py 2019-04-18 14:27:42.000000000 +0200 +++ new/osc-0.165.1/osc/core.py 2019-05-20 08:35:27.000000000 +0200 @@ -5,7 +5,7 @@ from __future__ import print_function -__version__ = '0.165.0' +__version__ = '0.165.1' # __store_version__ is to be incremented when the format of the working copy # "store" changes in an incompatible way. Please add any needed migration @@ -5077,6 +5077,8 @@ if not keep_maintainers: for person in root.findall('person'): root.remove(person) + for group in root.findall('group'): + root.remove(group) if not keep_develproject: for dp in root.findall('devel'): root.remove(dp) @@ -6328,7 +6330,7 @@ if format == 'csv': s = '%s|%s|%s|%s|%s|%s|%s' % (rev, user, t, srcmd5, version, - comment.replace('\\', '\\\\').replace('\n', '\\n').replace('|', '\\|'), requestid) + decode_it(comment).replace('\\', '\\\\').replace('\n', '\\n').replace('|', '\\|'), requestid) r.append(s) elif format == 'xml': r.append('<logentry') @@ -6337,7 +6339,7 @@ r.append('<date>%s</date>' % t) r.append('<requestid>%s</requestid>' % requestid) r.append('<msg>%s</msg>' % - comment.replace('&', '&').replace('<', '>').replace('>', '<')) + decode_it(comment).replace('&', '&').replace('<', '>').replace('>', '<')) r.append('</logentry>') else: if requestid: @@ -7142,10 +7144,11 @@ todo = [os.path.join(p, elm) for p, dirnames, fnames in os.walk(filename, followlinks=False) for elm in dirnames + fnames] + enc_todo = [b'%s' % elem.encode() for elem in todo] with open(archive, 'w') as f: cpio_proc = subprocess.Popen(['cpio', '-o', '-H', 'newc', '-0'], stdin=subprocess.PIPE, stdout=f) - cpio_proc.communicate('\0'.join(todo)) + cpio_proc.communicate(b'\0'.join(enc_todo)) pacs.extend(findpacs([archive])) for pac in pacs: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/osc-0.165.0/osc/oscssl.py new/osc-0.165.1/osc/oscssl.py --- old/osc-0.165.0/osc/oscssl.py 2019-04-18 14:27:42.000000000 +0200 +++ new/osc-0.165.1/osc/oscssl.py 2019-05-20 08:35:27.000000000 +0200 @@ -13,12 +13,12 @@ import inspect try: - from urllib.parse import urlparse, splithost, splitport, splittype + from urllib.parse import urlparse, splithost, splitport, splittype, urldefrag from urllib.request import addinfourl from http.client import HTTPSConnection except ImportError: #python 2.x - from urlparse import urlparse + from urlparse import urlparse, urldefrag from urllib import addinfourl, splithost, splitport, splittype from httplib import HTTPSConnection ++++++ osc.dsc ++++++ --- /var/tmp/diff_new_pack.TgpxvR/_old 2019-05-20 13:18:55.363884074 +0200 +++ /var/tmp/diff_new_pack.TgpxvR/_new 2019-05-20 13:18:55.363884074 +0200 @@ -1,6 +1,6 @@ Format: 1.0 Source: osc -Version: 0.165.0 +Version: 0.165.1 Binary: osc Maintainer: Adrian Schroeter <adr...@suse.de> Architecture: any