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-08-28 19:54:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/cockpit-machines (Old)
 and      /work/SRC/openSUSE:Factory/.cockpit-machines.new.1265 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "cockpit-machines"

Fri Aug 28 19:54:29 2026 rev:31 rq:1374320 version:355

Changes:
--------
--- /work/SRC/openSUSE:Factory/cockpit-machines/cockpit-machines.changes        
2026-07-24 22:07:31.410278406 +0200
+++ 
/work/SRC/openSUSE:Factory/.cockpit-machines.new.1265/cockpit-machines.changes  
    2026-08-28 19:56:49.598784214 +0200
@@ -1,0 +2,6 @@
+Wed Aug 12 10:56:12 UTC 2026 - Alice Brooks <[email protected]>
+
+- Update to 355
+  * Translations and dependency updates
+
+-------------------------------------------------------------------

Old:
----
  cockpit-machines-354.tar.gz

New:
----
  cockpit-machines-355.tar.gz

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

Other differences:
------------------
++++++ cockpit-machines.spec ++++++
--- /var/tmp/diff_new_pack.99TLQP/_old  2026-08-28 19:57:13.658625387 +0200
+++ /var/tmp/diff_new_pack.99TLQP/_new  2026-08-28 19:57:13.660625457 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           cockpit-machines
-Version:        354
+Version:        355
 Release:        0
 Summary:        Cockpit user interface for virtual machines
 License:        LGPL-2.1-or-later AND MIT

++++++ _scmsync.obsinfo ++++++
--- /var/tmp/diff_new_pack.99TLQP/_old  2026-08-28 19:57:13.788629932 +0200
+++ /var/tmp/diff_new_pack.99TLQP/_new  2026-08-28 19:57:13.797630247 +0200
@@ -1,6 +1,6 @@
-mtime: 1782816775
-commit: c2d585a36a1b48c41194f58750f22707971047766beded69ed92c9c4e26d5d41
+mtime: 1786532224
+commit: d178f3b8ad094cf61fdf788d5603b62d2cbaa77bc4e404c6d47b5fdb51e07b55
 url: https://src.opensuse.org/cockpit/cockpit-machines
-revision: c2d585a36a1b48c41194f58750f22707971047766beded69ed92c9c4e26d5d41
+revision: d178f3b8ad094cf61fdf788d5603b62d2cbaa77bc4e404c6d47b5fdb51e07b55
 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-08-12 12:57:04.000000000 +0200
@@ -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-08-12 12:57:04.000000000 +0200
@@ -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

++++++ cockpit-machines-354.tar.gz -> cockpit-machines-355.tar.gz ++++++
++++ 35504 lines of diff (skipped)

++++++ node_modules.obscpio ++++++
/work/SRC/openSUSE:Factory/cockpit-machines/node_modules.obscpio 
/work/SRC/openSUSE:Factory/.cockpit-machines.new.1265/node_modules.obscpio 
differ: char 62, line 1

++++++ node_modules.spec.inc ++++++
++++ 890 lines (skipped)
++++ between /work/SRC/openSUSE:Factory/cockpit-machines/node_modules.spec.inc
++++ and 
/work/SRC/openSUSE:Factory/.cockpit-machines.new.1265/node_modules.spec.inc

++++++ package-lock.json ++++++
++++ 2684 lines (skipped)
++++ between /work/SRC/openSUSE:Factory/cockpit-machines/package-lock.json
++++ and /work/SRC/openSUSE:Factory/.cockpit-machines.new.1265/package-lock.json

Reply via email to