Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package osc for openSUSE:Factory checked in 
at 2026-06-04 18:56:07
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/osc (Old)
 and      /work/SRC/openSUSE:Factory/.osc.new.2375 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "osc"

Thu Jun  4 18:56:07 2026 rev:226 rq:1357130 version:1.27.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/osc/osc.changes  2026-05-28 17:29:17.453559722 
+0200
+++ /work/SRC/openSUSE:Factory/.osc.new.2375/osc.changes        2026-06-04 
18:58:06.022251452 +0200
@@ -1,0 +2,9 @@
+Thu Jun  4 09:58:44 UTC 2026 - Daniel Mach <[email protected]>
+
+- 1.27.1
+  - Command-line:
+    - Fix 'osc maintaner' not to error out before it prints maintainers in git
+  - Library:
+    - Fix a regression in Gitea 1.26 where we need to send '{}' instead of an 
empty body in POST requests
+
+-------------------------------------------------------------------

Old:
----
  osc-1.27.0.tar.gz

New:
----
  osc-1.27.1.tar.gz

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

Other differences:
------------------
++++++ osc.spec ++++++
--- /var/tmp/diff_new_pack.ZmryJZ/_old  2026-06-04 18:58:08.318346289 +0200
+++ /var/tmp/diff_new_pack.ZmryJZ/_new  2026-06-04 18:58:08.322346453 +0200
@@ -80,7 +80,7 @@
 %endif
 
 Name:           osc
-Version:        1.27.0
+Version:        1.27.1
 Release:        0
 Summary:        Command-line client for the Open Build Service
 License:        GPL-2.0-or-later

++++++ PKGBUILD ++++++
--- /var/tmp/diff_new_pack.ZmryJZ/_old  2026-06-04 18:58:08.362348106 +0200
+++ /var/tmp/diff_new_pack.ZmryJZ/_new  2026-06-04 18:58:08.366348271 +0200
@@ -1,5 +1,5 @@
 pkgname=osc
-pkgver=1.27.0
+pkgver=1.27.1
 pkgrel=0
 pkgdesc="Command-line client for the Open Build Service"
 arch=('x86_64')

++++++ debian.changelog ++++++
--- /var/tmp/diff_new_pack.ZmryJZ/_old  2026-06-04 18:58:08.410350089 +0200
+++ /var/tmp/diff_new_pack.ZmryJZ/_new  2026-06-04 18:58:08.414350253 +0200
@@ -1,4 +1,4 @@
-osc (1.27.0-0) unstable; urgency=low
+osc (1.27.1-0) unstable; urgency=low
 
   * Placeholder
 

++++++ osc-1.27.0.tar.gz -> osc-1.27.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/osc-1.27.0/NEWS new/osc-1.27.1/NEWS
--- old/osc-1.27.0/NEWS 2026-05-27 16:39:15.000000000 +0200
+++ new/osc-1.27.1/NEWS 2026-06-04 11:56:02.000000000 +0200
@@ -1,3 +1,9 @@
+- 1.27.1
+  - Command-line:
+    - Fix 'osc maintaner' not to error out before it prints maintainers in git
+  - Library:
+    - Fix a regression in Gitea 1.26 where we need to send '{}' instead of an 
empty body in POST requests
+
 - 1.27.0
   - Command-line:
     - Change 'osc fork' to work through a local checkout that need to be 
reviewed and pushed by a user
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/osc-1.27.0/osc/__init__.py 
new/osc-1.27.1/osc/__init__.py
--- old/osc-1.27.0/osc/__init__.py      2026-05-27 16:39:15.000000000 +0200
+++ new/osc-1.27.1/osc/__init__.py      2026-06-04 11:56:02.000000000 +0200
@@ -13,7 +13,7 @@
 
 
 from .util import git_version
-__version__ = git_version.get_version('1.27.0')
+__version__ = git_version.get_version('1.27.1')
 
 
 # vim: sw=4 et
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/osc-1.27.0/osc/commandline.py 
new/osc-1.27.1/osc/commandline.py
--- old/osc-1.27.0/osc/commandline.py   2026-05-27 16:39:15.000000000 +0200
+++ new/osc-1.27.1/osc/commandline.py   2026-06-04 11:56:02.000000000 +0200
@@ -9997,8 +9997,11 @@
             else:
                 # fallback to project lookup for old servers
                 if prj and not searchresult:
-                    m = show_project_meta(apiurl, prj)
-                    metaroot = xml_fromstring(b''.join(m))
+                    try:
+                        m = show_project_meta(apiurl, prj)
+                        metaroot = xml_fromstring(b''.join(m))
+                    except HTTPError:
+                        metaroot = None
 
             # extract the maintainers
             projects = []
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/osc-1.27.0/osc/gitea_api/connection.py 
new/osc-1.27.1/osc/gitea_api/connection.py
--- old/osc-1.27.0/osc/gitea_api/connection.py  2026-05-27 16:39:15.000000000 
+0200
+++ new/osc-1.27.1/osc/gitea_api/connection.py  2026-06-04 11:56:02.000000000 
+0200
@@ -143,7 +143,13 @@
         if json_data and isinstance(json_data, dict):
             json_data = dict(((key, value) for key, value in json_data.items() 
if value is not None))
 
-        body = json.dumps(json_data) if json_data else None
+        if method.upper() in ("GET", "HEAD"):
+            body = None
+        else:
+            if json_data is None:
+                # gitea 1.26 changed behavior and empty body is no longer a 
valid input
+                json_data = {}
+            body = json.dumps(json_data)
 
         for retry in range(1 + self.retry_count):
             # 1 regular request + ``self.retry_count`` retries
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/osc-1.27.0/osc/util/git_version.py 
new/osc-1.27.1/osc/util/git_version.py
--- old/osc-1.27.0/osc/util/git_version.py      2026-05-27 16:39:15.000000000 
+0200
+++ new/osc-1.27.1/osc/util/git_version.py      2026-06-04 11:56:02.000000000 
+0200
@@ -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.27.0"
+    version = "1.27.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.ZmryJZ/_old  2026-06-04 18:58:09.294386602 +0200
+++ /var/tmp/diff_new_pack.ZmryJZ/_new  2026-06-04 18:58:09.306387097 +0200
@@ -1,6 +1,6 @@
 Format: 1.0
 Source: osc
-Version: 1.27.0-0
+Version: 1.27.1-0
 Binary: osc
 Maintainer: Adrian Schroeter <[email protected]>
 Architecture: any

Reply via email to