Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package cockpit-machines for
openSUSE:Factory checked in at 2026-03-05 17:31:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/cockpit-machines (Old)
and /work/SRC/openSUSE:Factory/.cockpit-machines.new.561 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "cockpit-machines"
Thu Mar 5 17:31:01 2026 rev:29 rq:1336737 version:348
Changes:
--------
--- /work/SRC/openSUSE:Factory/cockpit-machines/cockpit-machines.changes
2026-02-25 21:20:47.767419993 +0100
+++
/work/SRC/openSUSE:Factory/.cockpit-machines.new.561/cockpit-machines.changes
2026-03-05 17:34:08.205891908 +0100
@@ -1,0 +2,5 @@
+Wed Mar 4 09:44:23 UTC 2026 - Alice Brooks <[email protected]>
+
+- Update suse_version requirement to function with the planned bump
jsc#PED-15820
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ cockpit-machines.spec ++++++
--- /var/tmp/diff_new_pack.5UNwZg/_old 2026-03-05 17:34:10.834001039 +0100
+++ /var/tmp/diff_new_pack.5UNwZg/_new 2026-03-05 17:34:10.842001371 +0100
@@ -42,7 +42,7 @@
%endif
Requires: libvirt-client
Requires: libvirt-dbus >= 1.2.0
-%if 0%{?suse_version} != 1600
+%if 0%{?suse_version} < 1600 || %{suse_version} >= 1699
Requires: qemu-spice
%endif
Requires: virt-install
++++++ _scmsync.obsinfo ++++++
--- /var/tmp/diff_new_pack.5UNwZg/_old 2026-03-05 17:34:10.902003862 +0100
+++ /var/tmp/diff_new_pack.5UNwZg/_new 2026-03-05 17:34:10.906004029 +0100
@@ -1,6 +1,6 @@
-mtime: 1772023018
-commit: 18b4b44e5b018acf2208828dd878a71851e9ea952611243c21bf9ca2b4164136
+mtime: 1772695857
+commit: 6454591111c46424d67948bd0ed505dd416d1c83a67e4e168ed53612ed1a211a
url: https://src.opensuse.org/cockpit/cockpit-machines.git
-revision: 18b4b44e5b018acf2208828dd878a71851e9ea952611243c21bf9ca2b4164136
+revision: 6454591111c46424d67948bd0ed505dd416d1c83a67e4e168ed53612ed1a211a
projectscmsync: https://src.opensuse.org/cockpit/_ObsPrj.git
++++++ build.specials.obscpio ++++++
++++++ build.specials.obscpio ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/.gitignore new/.gitignore
--- old/.gitignore 1970-01-01 01:00:00.000000000 +0100
+++ new/.gitignore 2026-03-05 11:08:04.000000000 +0100
@@ -0,0 +1,2 @@
+.osc
+node_modules.sums
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/update_version.sh new/update_version.sh
--- old/update_version.sh 1970-01-01 01:00:00.000000000 +0100
+++ new/update_version.sh 2026-03-05 11:08:04.000000000 +0100
@@ -0,0 +1,81 @@
+#!/usr/bin/bash
+
+set -e
+
+curVersion=$(grep Version: cockpit-machines.spec | sed -e
's,^\(\s*Version:\s*\)\(.*\)\s*$,\2,')
+
+if [[ ! "$curVersion" =~ ^[0-9]+(.[0-9]+)?$ ]]; then
+ echo "Error: curVersion is not a valid integer"
+ exit 1
+fi
+
+if [[ "$curVersion" =~ '.' ]]; then
+ curMajor=$(echo ${curVersion} | cut -d'.' -f1)
+ curMinor=$(echo ${curVersion} | cut -d'.' -f2)
+else
+ curMajor=$curVersion
+ curMinor='0'
+fi
+
+###
+### Fetch latest soruces
+###
+
+GitDir="cockpit-machines"
+GWD="-C $GitDir"
+
+# fetch latest cockpit-machines
+if [ ! -d $GitDir ]; then
+ git clone https://github.com/cockpit-project/cockpit-machines $GitDir
+else
+ git $GWD checkout main
+ git $GWD fetch
+fi
+
+newVersion=$(git $GWD tag | grep '^[0-9.]\+$' | sort -rn | head -1)
+
+echo "Current version: $curVersion"
+echo " New version: $newVersion"
+
+if [[ ! "$newVersion" =~ ^[0-9]+(.[0-9]+)?$ ]]; then
+ echo "Error: newVersion cannot be determined"
+ exit 1
+fi
+
+if [[ "$newVersion" =~ '.' ]]; then
+ newMajor=$(echo ${newVersion} | cut -d'.' -f1)
+ newMinor=$(echo ${newVersion} | cut -d'.' -f2)
+else
+ newMajor=$newVersion
+ newMinor='0'
+fi
+
+if [ "$curMajor" -gt "$newMajor" ]; then
+ echo "Nothing to do."
+ exit 0
+elif [[ "$curMajor" -eq "$newMajor" && "$curMinor" -ge "$newMinor" ]]; then
+ echo "Nothing to do."
+ exit 0
+fi
+
+###
+### UPDATE
+###
+
+# update node_modules
+git $GWD checkout $newVersion
+pushd $PWD
+cd "$GitDir"
+npm install --include optional
+popd
+cp "$GitDir/package-lock.json" .
+osc service manualrun --verbose
+rm --verbose *.tgz || true
+
+# update package
+curl -Lo cockpit-machines-$newVersion.tar.gz
https://github.com/cockpit-project/cockpit-machines/archive/$newVersion.tar.gz
+
+# Updating version in spec file
+sed -i -e "s,^\(\s*Version:\s*\)\(.*\)\s*$,\1${newVersion},"
cockpit-machines.spec
+git rm cockpit-machines-$curVersion.tar.gz
+git add cockpit-machines-$newVersion.tar.gz