Hello community, here is the log from the commit of package osc for openSUSE:Factory checked in at 2013-12-03 16:11:45 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/osc (Old) and /work/SRC/openSUSE:Factory/.osc.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "osc" Changes: -------- --- /work/SRC/openSUSE:Factory/osc/osc.changes 2013-11-28 16:51:57.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.osc.new/osc.changes 2013-12-03 16:11:46.000000000 +0100 @@ -1,0 +2,7 @@ +Tue Dec 3 10:24:14 UTC 2013 - adr...@suse.de + +- 0.142.1 + - fixes regression for wipebinaries call + - fixes "osc api" call when uploading binaries via POST + +------------------------------------------------------------------- Old: ---- osc-0.142.0.tar.gz New: ---- osc-0.142.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ osc.spec ++++++ --- /var/tmp/diff_new_pack.U00WDq/_old 2013-12-03 16:11:46.000000000 +0100 +++ /var/tmp/diff_new_pack.U00WDq/_new 2013-12-03 16:11:46.000000000 +0100 @@ -17,7 +17,7 @@ Name: osc -Version: 0.142.0 +Version: 0.142.1 Release: 0 Summary: openSUSE Build Service Commander License: GPL-2.0+ ++++++ PKGBUILD ++++++ --- /var/tmp/diff_new_pack.U00WDq/_old 2013-12-03 16:11:46.000000000 +0100 +++ /var/tmp/diff_new_pack.U00WDq/_new 2013-12-03 16:11:46.000000000 +0100 @@ -1,5 +1,5 @@ pkgname=osc -pkgver=0.142.0 +pkgver=0.142.1 pkgrel=0 pkgdesc="Open Build Service client" arch=('i686' 'x86_64') @@ -8,7 +8,7 @@ groups=('base-devel') depends=('python') source=(osc-${pkgver}.tar.gz) -md5sums=('4f60a6cafbc38c1ca9a48fb4705d01c0') +md5sums=('a3977c5cdc8bac4f09bca027b6a76fec') package() { msg "Installing osc ..." ++++++ _service ++++++ --- /var/tmp/diff_new_pack.U00WDq/_old 2013-12-03 16:11:46.000000000 +0100 +++ /var/tmp/diff_new_pack.U00WDq/_new 2013-12-03 16:11:46.000000000 +0100 @@ -1,7 +1,7 @@ <services> <service name="tar_scm" mode="disabled"> - <param name="version">0.142.0</param> - <param name="revision">0.142.0</param> + <param name="version">0.142.1</param> + <param name="revision">0.142.1</param> <param name="url">git://github.com/openSUSE/osc.git</param> <param name="scm">git</param> </service> ++++++ osc-0.142.0.tar.gz -> osc-0.142.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/osc-0.142.0/osc/core.py new/osc-0.142.1/osc/core.py --- old/osc-0.142.0/osc/core.py 2013-11-21 10:30:25.000000000 +0100 +++ new/osc-0.142.1/osc/core.py 2013-12-03 11:25:08.000000000 +0100 @@ -2933,8 +2933,8 @@ req.get_method = lambda: method # POST requests are application/x-www-form-urlencoded per default - # since we change the request into PUT, we also need to adjust the content type header - if method == 'PUT' or (method == 'POST' and data): + # but sending data requires an octet-stream type + if method == 'PUT' or (method == 'POST' and (data or file)): req.add_header('Content-Type', 'application/octet-stream') if isinstance(headers, type({})): @@ -5677,8 +5677,8 @@ def restartbuild(apiurl, project, package=None, arch=None, repo=None): return cmdbuild(apiurl, 'restartbuild', project, package, arch, repo) -def wipebinaries(apiurl, project, package=None, arch=None, repo=None): - return cmdbuild(apiurl, 'wipebinaries', project, package, arch, repo) +def wipebinaries(apiurl, project, package=None, arch=None, repo=None, code=None): + return cmdbuild(apiurl, 'wipe', project, package, arch, repo, code) def cmdbuild(apiurl, cmd, project, package=None, arch=None, repo=None, code=None): @@ -5696,7 +5696,7 @@ try: f = http_POST(u) except HTTPError as e: - e.osc_msg = 'wipe binary rpms failed for project %s' % project + e.osc_msg = '%s command failed for project %s' % (cmd, project) if package: e.osc_msg += ' package %s' % package if arch: ++++++ osc.dsc ++++++ --- /var/tmp/diff_new_pack.U00WDq/_old 2013-12-03 16:11:47.000000000 +0100 +++ /var/tmp/diff_new_pack.U00WDq/_new 2013-12-03 16:11:47.000000000 +0100 @@ -1,6 +1,6 @@ Format: 1.0 Source: osc -Version: 0.142.0 +Version: 0.142.1 Binary: osc Maintainer: Adrian Schroeter <adr...@suse.de> Architecture: any -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org