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-07-24 22:06:55
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/cockpit-machines (Old)
and /work/SRC/openSUSE:Factory/.cockpit-machines.new.2004 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "cockpit-machines"
Fri Jul 24 22:06:55 2026 rev:30 rq:1367650 version:354
Changes:
--------
--- /work/SRC/openSUSE:Factory/cockpit-machines/cockpit-machines.changes
2026-03-05 17:34:08.205891908 +0100
+++
/work/SRC/openSUSE:Factory/.cockpit-machines.new.2004/cockpit-machines.changes
2026-07-24 22:07:31.410278406 +0200
@@ -1,0 +2,30 @@
+Tue Jun 30 10:48:02 UTC 2026 - Alice Brooks <[email protected]>
+
+- Update to 354
+ * 354
+ - Bug fixes and translation updates
+ * 353
+ - Bug fixes and translation updates
+
+-------------------------------------------------------------------
+Wed Apr 22 09:51:05 UTC 2026 - Alice Brooks <[email protected]>
+
+- Update to 352
+ * 352
+ - Improvements to the "Add disk" and "Create Volume" dialogs
+ * 351
+ - Bug fixes and translation updates
+
+-------------------------------------------------------------------
+Tue Mar 24 13:47:39 UTC 2026 - Miika Alikirri <[email protected]>
+
+- Update to 350
+ * 350 Latest
+ - Bug fixes and translation updates
+ * 349.1
+ - fix extra-args related regression in "Create and edit"
+ * 349
+ - Support virt-install --extra-args when creating machines
+ - Bug fixes and translation updates
+
+-------------------------------------------------------------------
@@ -11 +41 @@
-- Update to 348 (fixes bsc#1257836/CVE-2026-25547, bsc#1258641/CVE-2026-26996)
+- Update to 348 (fixes bsc#1257836/CVE-2026-25547, bsc#1258641/CVE-2026-26996,
bsc#1259013/CVE-2026-27904)
Old:
----
cockpit-machines-348.tar.gz
New:
----
cockpit-machines-354.tar.gz
update_version.sh
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ cockpit-machines.spec ++++++
--- /var/tmp/diff_new_pack.mhQxEn/_old 2026-07-24 22:07:49.386906033 +0200
+++ /var/tmp/diff_new_pack.mhQxEn/_new 2026-07-24 22:07:49.390906173 +0200
@@ -17,7 +17,7 @@
Name: cockpit-machines
-Version: 348
+Version: 354
Release: 0
Summary: Cockpit user interface for virtual machines
License: LGPL-2.1-or-later AND MIT
++++++ _scmsync.obsinfo ++++++
--- /var/tmp/diff_new_pack.mhQxEn/_old 2026-07-24 22:07:49.442907989 +0200
+++ /var/tmp/diff_new_pack.mhQxEn/_new 2026-07-24 22:07:49.450908268 +0200
@@ -1,6 +1,6 @@
-mtime: 1772695857
-commit: 6454591111c46424d67948bd0ed505dd416d1c83a67e4e168ed53612ed1a211a
-url: https://src.opensuse.org/cockpit/cockpit-machines.git
-revision: 6454591111c46424d67948bd0ed505dd416d1c83a67e4e168ed53612ed1a211a
+mtime: 1782816775
+commit: c2d585a36a1b48c41194f58750f22707971047766beded69ed92c9c4e26d5d41
+url: https://src.opensuse.org/cockpit/cockpit-machines
+revision: c2d585a36a1b48c41194f58750f22707971047766beded69ed92c9c4e26d5d41
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-06-30 12:52:55.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-06-30 12:52:55.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-348.tar.gz -> cockpit-machines-354.tar.gz ++++++
++++ 104186 lines of diff (skipped)
++++++ node_modules.obscpio ++++++
/work/SRC/openSUSE:Factory/cockpit-machines/node_modules.obscpio
/work/SRC/openSUSE:Factory/.cockpit-machines.new.2004/node_modules.obscpio
differ: char 218463, line 929
++++++ node_modules.spec.inc ++++++
++++ 905 lines (skipped)
++++ between /work/SRC/openSUSE:Factory/cockpit-machines/node_modules.spec.inc
++++ and
/work/SRC/openSUSE:Factory/.cockpit-machines.new.2004/node_modules.spec.inc
++++++ package-lock.json ++++++
++++ 3202 lines (skipped)
++++ between /work/SRC/openSUSE:Factory/cockpit-machines/package-lock.json
++++ and /work/SRC/openSUSE:Factory/.cockpit-machines.new.2004/package-lock.json
++++++ uefi-default-firmware.patch ++++++
--- /var/tmp/diff_new_pack.mhQxEn/_old 2026-07-24 22:07:50.298937875 +0200
+++ /var/tmp/diff_new_pack.mhQxEn/_new 2026-07-24 22:07:50.306938155 +0200
@@ -8,18 +8,18 @@
1 file changed, 5 insertions(+)
diff --git a/src/libvirtApi/domain.ts b/src/libvirtApi/domain.ts
-index 963d25f4..9ac69e77 100644
+index cb0ebc47..aa2e6903 100644
--- a/src/libvirtApi/domain.ts
+++ b/src/libvirtApi/domain.ts
-@@ -361,6 +361,7 @@ interface DomainSpec {
- userPassword: optString,
+@@ -493,6 +493,7 @@ interface DomainSpec {
vmName: string,
sshKeys: string[],
-+ firmware: 'bios' | 'uefi' | undefined
+ extraArguments: optString,
++ firmware: 'bios' | 'uefi' | undefined,
}
export async function domainCreate({
-@@ -398,6 +399,9 @@ export async function domainCreate({
+@@ -525,6 +526,9 @@ export async function domainCreate({
type DomainCreateScriptArgs = { connectionName: ConnectionName, type:
string } & DomainSpec;
@@ -29,10 +29,10 @@
const args: DomainCreateScriptArgs = {
connectionName,
memorySize,
-@@ -416,6 +420,7 @@ export async function domainCreate({
- userPassword,
+@@ -544,6 +548,7 @@ export async function domainCreate({
vmName,
sshKeys,
+ extraArguments,
+ firmware: defaultFirmware,
};
@@ -56,26 +56,26 @@
1 file changed, 10 insertions(+)
diff --git a/src/libvirtApi/domain.ts b/src/libvirtApi/domain.ts
-index 61926d52..5ba12a0b 100644
+index cb0ebc47..6cde28c1 100644
--- a/src/libvirtApi/domain.ts
+++ b/src/libvirtApi/domain.ts
-@@ -1297,6 +1297,16 @@ export async function domainSetOSFirmware({
- if (loaderElem)
- loaderElem.remove();
+@@ -1193,6 +1193,16 @@ export async function domainSetOSFirmware({
+ if (loaderElem)
+ loaderElem.remove();
-+ // remove efi related things so it gets actually disabled
-+ if (!loaderType || loaderType === "bios") {
-+ const fwElem = getSingleOptionalElem(osElem, "firmware");
-+ if (fwElem)
-+ fwElem.remove();
-+ const nvramElem = getSingleOptionalElem(osElem, "nvram");
-+ if (nvramElem)
-+ nvramElem.remove();
-+ }
++ // remove efi related things so it gets actually disabled
++ if (!loaderType || loaderType === "bios") {
++ const fwElem = getSingleOptionalElem(osElem, "firmware");
++ if (fwElem)
++ fwElem.remove();
++ const nvramElem = getSingleOptionalElem(osElem, "nvram");
++ if (nvramElem)
++ nvramElem.remove();
++ }
+
- if (!loaderType)
- osElem.removeAttribute("firmware");
- else
+ if (!loaderType)
+ osElem.removeAttribute("firmware");
+ else
--
2.50.0
++++++ update_version.sh ++++++
#!/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