Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package product-composer for
openSUSE:Factory checked in at 2025-06-26 11:39:12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/product-composer (Old)
and /work/SRC/openSUSE:Factory/.product-composer.new.7067 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "product-composer"
Thu Jun 26 11:39:12 2025 rev:39 rq:1288523 version:0.6.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/product-composer/product-composer.changes
2025-06-04 20:30:33.177955076 +0200
+++
/work/SRC/openSUSE:Factory/.product-composer.new.7067/product-composer.changes
2025-06-26 11:40:25.636531351 +0200
@@ -1,0 +2,12 @@
+Wed Jun 25 09:47:33 UTC 2025 - Dirk Müller <[email protected]>
+
+- add change-fitering-error-to-warning.patch:
+ * Change updateinfo filtering error to a warning
+
+-------------------------------------------------------------------
+Tue Jun 24 13:24:31 UTC 2025 - Dirk Müller <[email protected]>
+
+- add parse-supportstatus.patch:
+ * fixes crash on parsing supportstatus information
+
+-------------------------------------------------------------------
New:
----
change-fitering-error-to-warning.patch
parse-supportstatus.patch
----------(New B)----------
New:
- add change-fitering-error-to-warning.patch:
* Change updateinfo filtering error to a warning
New:
- add parse-supportstatus.patch:
* fixes crash on parsing supportstatus information
----------(New E)----------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ product-composer.spec ++++++
--- /var/tmp/diff_new_pack.vFNTw9/_old 2025-06-26 11:40:26.412563543 +0200
+++ /var/tmp/diff_new_pack.vFNTw9/_new 2025-06-26 11:40:26.416563709 +0200
@@ -31,8 +31,10 @@
URL: https://github.com/openSUSE/product-composer
#!CreateArchive: product-composer
Source: %name-%{version}.tar.xz
+Patch0:
https://github.com/openSUSE/product-composer/commit/26c805f5b38bed987461ff51a0f6461827c43236.patch#/parse-supportstatus.patch
+Patch1:
https://github.com/openSUSE/product-composer/commit/3073c41cb968ad3c92ab0281b026f7cd8f7d1944.patch#/change-fitering-error-to-warning.patch
# Should become a build option
-Patch1: sle-15-defaults.patch
+Patch10: sle-15-defaults.patch
BuildRequires: %{used_python}-pip
BuildRequires: %{used_python}-poetry-core
BuildRequires: %{used_python}-setuptools
@@ -58,8 +60,10 @@
%prep
%setup -q -n %name-%version
-%if "%{?sle_version}" == "150600"
+%patch -P 0 -p1
%patch -P 1 -p1
+%if "%{?sle_version}" == "150600"
+%patch -P 10 -p1
%endif
%build
++++++ _scmsync.obsinfo ++++++
--- /var/tmp/diff_new_pack.vFNTw9/_old 2025-06-26 11:40:26.448565037 +0200
+++ /var/tmp/diff_new_pack.vFNTw9/_new 2025-06-26 11:40:26.452565203 +0200
@@ -1,5 +1,5 @@
-mtime: 1749047731
-commit: 702733326e72f65abbc7171921dbb7ab065c96ece2d55460b548f32bc349fc74
+mtime: 1750852920
+commit: a259297babbf172328c8d8a07f887f1109d7d370c54a21662aa5b61a2f5f1ca7
url: https://src.opensuse.org/tools/product-composer
revision: devel
++++++ build.specials.obscpio ++++++
++++++ change-fitering-error-to-warning.patch ++++++
>From 3073c41cb968ad3c92ab0281b026f7cd8f7d1944 Mon Sep 17 00:00:00 2001
From: Michael Schroeder <[email protected]>
Date: Wed, 25 Jun 2025 11:39:52 +0200
Subject: [PATCH] Change updateinfo filtering error to a warning
The backend does not give us any updateinfo if there is no package
matching a selection. So it's better to build an empty product instead
of erroring out.
We may want to revisit this in the future.
---
src/productcomposer/utils/rpmutils.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/productcomposer/utils/rpmutils.py
b/src/productcomposer/utils/rpmutils.py
index d9ef49f..a028162 100644
--- a/src/productcomposer/utils/rpmutils.py
+++ b/src/productcomposer/utils/rpmutils.py
@@ -161,7 +161,7 @@ def link_rpms_to_tree(rpmdir, yml, pool, arch, flavor,
tree_report, supportstatu
referenced_update_rpms = None
if 'updateinfo_packages_only' in yml['build_options']:
if not pool.updateinfos:
- die("filtering for updates enabled, but no updateinfo found")
+ warn("filtering for updates enabled, but no updateinfo found")
if singlemode:
die("filtering for updates enabled, but
take_all_available_versions is not set")
++++++ parse-supportstatus.patch ++++++
>From 26c805f5b38bed987461ff51a0f6461827c43236 Mon Sep 17 00:00:00 2001
From: Eugenio Paolantonio <[email protected]>
Date: Fri, 20 Jun 2025 18:18:02 +0200
Subject: [PATCH] commands: build: ensure supportstatus_override is passed to
parse_supportstatus()
The function signature changed after the recent rework.
Signed-off-by: Eugenio Paolantonio <[email protected]>
---
src/productcomposer/commands/build.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/productcomposer/commands/build.py
b/src/productcomposer/commands/build.py
index 6c5318c..4cd8789 100644
--- a/src/productcomposer/commands/build.py
+++ b/src/productcomposer/commands/build.py
@@ -69,7 +69,7 @@ def build(self, args):
supportstatus_fn = os.path.join(directory, 'supportstatus.txt')
if os.path.isfile(supportstatus_fn):
- parse_supportstatus(supportstatus_fn)
+ parse_supportstatus(supportstatus_fn, supportstatus_override)
if args.euladir and os.path.isdir(args.euladir):
parse_eulas(args.euladir, eulas)
++++++ product-composer.obscpio ++++++