Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package osc for openSUSE:Factory checked in 
at 2023-03-17 17:05:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/osc (Old)
 and      /work/SRC/openSUSE:Factory/.osc.new.31432 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "osc"

Fri Mar 17 17:05:17 2023 rev:173 rq:1072666 version:1.0.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/osc/osc.changes  2023-03-16 22:59:31.511806005 
+0100
+++ /work/SRC/openSUSE:Factory/.osc.new.31432/osc.changes       2023-03-17 
17:05:32.066082506 +0100
@@ -1,0 +2,9 @@
+Fri Mar 17 15:11:46 UTC 2023 - Daniel Mach <daniel.m...@suse.com>
+
+- Update to 1.0.1
+  - Configuration:
+    - Fix a cut&paste error in setting 'disable_hdrmd5_check' config option
+  - Connection:
+    - Set Content-Type of POST requests without data to 
'application/x-www-form-urlencoded'
+
+-------------------------------------------------------------------

Old:
----
  osc-1.0.0.tar.gz

New:
----
  osc-1.0.1.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ osc.spec ++++++
--- /var/tmp/diff_new_pack.JfB4d7/_old  2023-03-17 17:05:33.210088535 +0100
+++ /var/tmp/diff_new_pack.JfB4d7/_new  2023-03-17 17:05:33.214088556 +0100
@@ -49,7 +49,7 @@
 %endif
 
 Name:           osc
-Version:        1.0.0
+Version:        1.0.1
 Release:        0
 Summary:        Command-line client for the Open Build Service
 License:        GPL-2.0-or-later

++++++ PKGBUILD ++++++
--- /var/tmp/diff_new_pack.JfB4d7/_old  2023-03-17 17:05:33.246088725 +0100
+++ /var/tmp/diff_new_pack.JfB4d7/_new  2023-03-17 17:05:33.250088746 +0100
@@ -1,5 +1,5 @@
 pkgname=osc
-pkgver=1.0.0
+pkgver=1.0.1
 pkgrel=0
 pkgdesc="Command-line client for the Open Build Service"
 arch=('x86_64')

++++++ debian.changelog ++++++
--- /var/tmp/diff_new_pack.JfB4d7/_old  2023-03-17 17:05:33.298088999 +0100
+++ /var/tmp/diff_new_pack.JfB4d7/_new  2023-03-17 17:05:33.298088999 +0100
@@ -1,2 +1,2 @@
-osc (1.0.0-0) unstable; urgency=low
+osc (1.0.1-0) unstable; urgency=low
 

++++++ osc-1.0.0.tar.gz -> osc-1.0.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/osc-1.0.0/NEWS new/osc-1.0.1/NEWS
--- old/osc-1.0.0/NEWS  2023-03-14 14:07:06.000000000 +0100
+++ new/osc-1.0.1/NEWS  2023-03-17 16:05:07.000000000 +0100
@@ -1,4 +1,10 @@
-- Update to 1.0.0
+- 1.0.1
+  - Configuration:
+    - Fix a cut&paste error in setting 'disable_hdrmd5_check' config option
+  - Connection:
+    - Set Content-Type of POST requests without data to 
'application/x-www-form-urlencoded'
+
+- 1.0.0
   - Command-line:
     - Use '.' as a wildcard that resolves to a project or a package name from 
the current working copy, for example 'osc rdiff ./. -c <num>'
     - Add 'create-pbuild-config' (cpc) command
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/osc-1.0.0/osc/__init__.py 
new/osc-1.0.1/osc/__init__.py
--- old/osc-1.0.0/osc/__init__.py       2023-03-14 14:07:06.000000000 +0100
+++ new/osc-1.0.1/osc/__init__.py       2023-03-17 16:05:07.000000000 +0100
@@ -13,7 +13,7 @@
 
 
 from .util import git_version
-__version__ = git_version.get_version('1.0.0')
+__version__ = git_version.get_version('1.0.1')
 
 
 # vim: sw=4 et
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/osc-1.0.0/osc/conf.py new/osc-1.0.1/osc/conf.py
--- old/osc-1.0.0/osc/conf.py   2023-03-14 14:07:06.000000000 +0100
+++ new/osc-1.0.1/osc/conf.py   2023-03-17 16:05:07.000000000 +0100
@@ -890,7 +890,7 @@
 
         api_host_options[apiurl]["disable_hdrmd5_check"] = 
config["disable_hdrmd5_check"]
         if cp.has_option(url, "disable_hdrmd5_check"):
-            api_host_options[apiurl][key] = cp.getboolean(url, 
"disable_hdrmd5_check")
+            api_host_options[apiurl]["disable_hdrmd5_check"] = 
cp.getboolean(url, "disable_hdrmd5_check")
 
     # add the auth data we collected to the config dict
     config['api_host_options'] = api_host_options
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/osc-1.0.0/osc/connection.py 
new/osc-1.0.1/osc/connection.py
--- old/osc-1.0.0/osc/connection.py     2023-03-14 14:07:06.000000000 +0100
+++ new/osc-1.0.1/osc/connection.py     2023-03-17 16:05:07.000000000 +0100
@@ -288,9 +288,10 @@
     # https://github.com/openSUSE/open-build-service/pull/13019
     headers.add("Accept", "application/xml")
 
-    if data or file:
-        # osc/obs data is usually XML
+    if method == "PUT" or (method == "POST" and (data or file)):
         headers.add("Content-Type", "application/xml; charset=utf-8")
+    elif method == "POST":
+        headers.add("Content-Type", "application/x-www-form-urlencoded")
 
     if purl.scheme == "http" and HTTP_PROXY_MANAGER:
         # HTTP proxy requires full URL with 'same host' checking off
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/osc-1.0.0/osc/util/git_version.py 
new/osc-1.0.1/osc/util/git_version.py
--- old/osc-1.0.0/osc/util/git_version.py       2023-03-14 14:07:06.000000000 
+0100
+++ new/osc-1.0.1/osc/util/git_version.py       2023-03-17 16:05:07.000000000 
+0100
@@ -9,7 +9,7 @@
     """
     # the `version` variable contents get substituted during `git archive`
     # it requires adding this to .gitattributes: <path to this file> 
export-subst
-    version = "1.0.0"
+    version = "1.0.1"
     if version.startswith(("$", "%")):
         # "$": version hasn't been substituted during `git archive`
         # "%": "Format:" and "$" characters get removed from the version 
string (a GitHub bug?)

++++++ osc.dsc ++++++
--- /var/tmp/diff_new_pack.JfB4d7/_old  2023-03-17 17:05:33.698091107 +0100
+++ /var/tmp/diff_new_pack.JfB4d7/_new  2023-03-17 17:05:33.702091128 +0100
@@ -1,6 +1,6 @@
 Format: 1.0
 Source: osc
-Version: 1.0.0-0
+Version: 1.0.1-0
 Binary: osc
 Maintainer: Adrian Schroeter <adr...@suse.de>
 Architecture: any

Reply via email to