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-02-16 13:14:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/cockpit-machines (Old)
 and      /work/SRC/openSUSE:Factory/.cockpit-machines.new.1977 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "cockpit-machines"

Mon Feb 16 13:14:27 2026 rev:27 rq:1333288 version:347

Changes:
--------
--- /work/SRC/openSUSE:Factory/cockpit-machines/cockpit-machines.changes        
2026-02-05 18:05:56.205542106 +0100
+++ 
/work/SRC/openSUSE:Factory/.cockpit-machines.new.1977/cockpit-machines.changes  
    2026-02-16 13:19:20.379115395 +0100
@@ -1,0 +2,9 @@
+Wed Feb 11 11:28:53 UTC 2026 - Miika Alikirri <[email protected]>
+
+- Update to 347
+  * Bug fixes and translation updates
+- Fix esbuild for ppc64le bsc#1257698
+  * Include esbuild-ppc64.patch
+  * Update update_version.sh
+
+-------------------------------------------------------------------

Old:
----
  cockpit-machines-346.tar.gz
  update_version.sh

New:
----
  cockpit-machines-347.tar.gz
  esbuild-ppc64.patch

----------(New B)----------
  New:- Fix esbuild for ppc64le bsc#1257698
  * Include esbuild-ppc64.patch
  * Update update_version.sh
----------(New E)----------

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

Other differences:
------------------
++++++ cockpit-machines.spec ++++++
--- /var/tmp/diff_new_pack.bvnz9o/_old  2026-02-16 13:19:23.843259420 +0100
+++ /var/tmp/diff_new_pack.bvnz9o/_new  2026-02-16 13:19:23.843259420 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           cockpit-machines
-Version:        346
+Version:        347
 Release:        0
 Summary:        Cockpit user interface for virtual machines
 License:        LGPL-2.1-or-later AND MIT
@@ -30,6 +30,7 @@
 Patch10:        hide-docs.patch
 Patch11:        load-css-overrides.patch
 Patch12:        uefi-default-firmware.patch
+Patch13:        esbuild-ppc64.patch
 BuildArch:      noarch
 BuildRequires:  appstream-glib
 BuildRequires:  make
@@ -62,6 +63,7 @@
 %prep
 %autosetup -p1
 local-npm-registry %{_sourcedir} install --include=dev --ignore-scripts || ( 
find ~/.npm/_logs -name '*-debug.log' -print0 | xargs -0 cat; false)
+echo "{}" > package-lock.json
 
 %build
 export PREFIX=%_prefix

++++++ _scmsync.obsinfo ++++++
--- /var/tmp/diff_new_pack.bvnz9o/_old  2026-02-16 13:19:23.907262082 +0100
+++ /var/tmp/diff_new_pack.bvnz9o/_new  2026-02-16 13:19:23.919262580 +0100
@@ -1,6 +1,6 @@
-mtime: 1770106643
-commit: ceb187f3a2846e0c57aa2fd45de6b9ba1280d46ee7ff3bc46fd0606d7a26f9e3
+mtime: 1770816563
+commit: 0a749726ba9bcd87aa199f53bede30e0083dc8bc1cbf17f4b8a129ea3b54a11b
 url: https://src.opensuse.org/cockpit/cockpit-machines.git
-revision: ceb187f3a2846e0c57aa2fd45de6b9ba1280d46ee7ff3bc46fd0606d7a26f9e3
+revision: 0a749726ba9bcd87aa199f53bede30e0083dc8bc1cbf17f4b8a129ea3b54a11b
 projectscmsync: https://src.opensuse.org/cockpit/_ObsPrj.git
 

++++++ build.specials.obscpio ++++++
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-02-13 13:44:05.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

++++++ 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-02-13 13:44:05.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-02-13 13:44:05.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

++++++ cockpit-machines-346.tar.gz -> cockpit-machines-347.tar.gz ++++++
++++ 70977 lines of diff (skipped)

++++++ esbuild-ppc64.patch ++++++
>From 1764da027c73beece1c23f67726a34fce84ccd21 Mon Sep 17 00:00:00 2001
From: Miika Alikirri <[email protected]>
Date: Tue, 10 Feb 2026 22:55:45 +0200
Subject: Don't use esbuild wasm on ppc64

For some reason, wasm runtime is broken on node24 so we should
use native runtime instead
---
 build.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/build.js b/build.js
index cef4a9f..1f9a149 100755
--- a/build.js
+++ b/build.js
@@ -13,7 +13,7 @@ import { cockpitRsyncEsbuildPlugin } from 
'./pkg/lib/cockpit-rsync-plugin.js';
 import { cleanPlugin } from './pkg/lib/esbuild-cleanup-plugin.js';
 import { cockpitCompressPlugin } from './pkg/lib/esbuild-compress-plugin.js';
 
-const useWasm = os.arch() !== 'x64';
+const useWasm = os.arch() !== 'x64' && os.arch() !== 'ppc64';
 
 const esbuild = await (async () => {
     try {
-- 
2.52.0


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

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

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

Reply via email to