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-08-04 15:31:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/product-composer (Old)
and /work/SRC/openSUSE:Factory/.product-composer.new.1085 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "product-composer"
Mon Aug 4 15:31:42 2025 rev:45 rq:1297422 version:0.6.11
Changes:
--------
--- /work/SRC/openSUSE:Factory/product-composer/product-composer.changes
2025-07-23 16:35:05.895815783 +0200
+++
/work/SRC/openSUSE:Factory/.product-composer.new.1085/product-composer.changes
2025-08-04 15:31:44.731380666 +0200
@@ -1,0 +2,7 @@
+Mon Aug 4 08:03:58 UTC 2025 - Adrian Schröter <[email protected]>
+
+- update to version 0.6.11:
+ * Exclude vendor name in media.1/products file (backward compatibility)
+ * Add appstream data to repomd.xml (boo#1243078)
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ product-composer.spec ++++++
--- /var/tmp/diff_new_pack.qjqjIJ/_old 2025-08-04 15:31:45.355406839 +0200
+++ /var/tmp/diff_new_pack.qjqjIJ/_new 2025-08-04 15:31:45.359407007 +0200
@@ -23,7 +23,7 @@
%endif
Name: product-composer
-Version: 0.6.10
+Version: 0.6.11
Release: 0
Summary: Product Composer
License: GPL-2.0-or-later
++++++ _scmsync.obsinfo ++++++
--- /var/tmp/diff_new_pack.qjqjIJ/_old 2025-08-04 15:31:45.407409021 +0200
+++ /var/tmp/diff_new_pack.qjqjIJ/_new 2025-08-04 15:31:45.415409356 +0200
@@ -1,5 +1,5 @@
-mtime: 1753192931
-commit: 7b28f84b7010ec1e712b0c9e1088888377640f2790d496b305fbe08692baf42a
+mtime: 1754295107
+commit: a2f61b6bb8d796d7749cbb69455ea2bfcf623bc9df3e74ccc86f5eb28eb58a91
url: https://src.opensuse.org/tools/product-composer
revision: devel
++++++ build.specials.obscpio ++++++
++++++ product-composer.obscpio ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/product-composer/docs/build_description.adoc
new/product-composer/docs/build_description.adoc
--- old/product-composer/docs/build_description.adoc 2025-07-22
16:02:21.000000000 +0200
+++ new/product-composer/docs/build_description.adoc 2025-08-04
10:12:23.000000000 +0200
@@ -298,7 +298,7 @@
debug: split
-to create a seperate medium mwith -Debug suffix.
+to create a seperate medium with -Debug suffix.
Missing debug packages will always be ignored.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/product-composer/docs/productcomposer.html
new/product-composer/docs/productcomposer.html
--- old/product-composer/docs/productcomposer.html 2025-07-22
16:02:21.000000000 +0200
+++ new/product-composer/docs/productcomposer.html 2025-08-04
10:12:23.000000000 +0200
@@ -1123,7 +1123,7 @@
<div class="content">
<pre><code>debug: split</code></pre>
</div></div>
-<div class="paragraph"><p>to create a seperate medium mwith -Debug
suffix.</p></div>
+<div class="paragraph"><p>to create a seperate medium with -Debug
suffix.</p></div>
<div class="paragraph"><p>Missing debug packages will always be
ignored.</p></div>
<div class="paragraph"><p>This default setting may get specified per
flavor.</p></div>
</div>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/product-composer/src/productcomposer/createartifacts/createappstream.py
new/product-composer/src/productcomposer/createartifacts/createappstream.py
--- old/product-composer/src/productcomposer/createartifacts/createappstream.py
2025-07-22 16:02:21.000000000 +0200
+++ new/product-composer/src/productcomposer/createartifacts/createappstream.py
2025-08-04 10:12:23.000000000 +0200
@@ -2,17 +2,45 @@
from ..config import verbose_level
from ..utils.runhelper import run_helper
+from ..wrappers import ModifyrepoWrapper
OPENSUSE_APPSTREAM_PROCESS = '/usr/bin/openSUSE-appstream-process'
-# Create the main susedata.xml with translations, support, and disk usage
information
+# Create the additional app stream files if content provides necessary meta
data
def create_appstream(rpmdir):
if not os.path.exists(OPENSUSE_APPSTREAM_PROCESS):
return
run_helper(
- [OPENSUSE_APPSTREAM_PROCESS, rpmdir, f'{rpmdir}/repodata'],
- failmsg='adding AppStream meta data',
+ [OPENSUSE_APPSTREAM_PROCESS, rpmdir, f'{rpmdir}'],
+ failmsg='Creating AppStream meta data',
verbose=verbose_level > 0,
)
+
+ # Did the process create files?
+ main_file = f'{rpmdir}/appdata.xml.gz'
+ if not os.path.exists(main_file):
+ return
+
+ mr = ModifyrepoWrapper(
+ file=main_file,
+ mdtype='appdata',
+ directory=os.path.join(rpmdir, "repodata"),
+ )
+ mr.run_cmd()
+ os.unlink(main_file)
+
+ icon_file = f'{rpmdir}/appdata-icons.tar.gz'
+ if os.path.exists(icon_file):
+ mr = ModifyrepoWrapper(
+ file=icon_file,
+ mdtype='appdata-icons',
+ directory=os.path.join(rpmdir, "repodata"),
+ )
+ mr.run_cmd()
+ os.unlink(icon_file)
+
+ ignore_file = f'{rpmdir}/appdata-ignore.xml.gz'
+ if os.path.exists(ignore_file):
+ os.unlink(ignore_file)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/product-composer/src/productcomposer/createartifacts/createtree.py
new/product-composer/src/productcomposer/createartifacts/createtree.py
--- old/product-composer/src/productcomposer/createartifacts/createtree.py
2025-07-22 16:02:21.000000000 +0200
+++ new/product-composer/src/productcomposer/createartifacts/createtree.py
2025-08-04 10:12:23.000000000 +0200
@@ -131,7 +131,7 @@
mediavendor = yml['vendor'] + ' - ' + product_base_dir
mediaident = product_base_dir
# FIXME: calculate from product provides
- mediaproducts = [yml['vendor'] + '-' + yml['name'] + ' ' +
str(yml['version']) + '-1']
+ mediaproducts = [yml['name'] + ' ' + str(yml['version']) + '-1']
create_media_dir(maindir, mediavendor, mediaident, mediaproducts)
create_checksums_file(maindir)