Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package cockpit for openSUSE:Factory checked 
in at 2026-07-26 11:27:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/cockpit (Old)
 and      /work/SRC/openSUSE:Factory/.cockpit.new.2004 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "cockpit"

Sun Jul 26 11:27:15 2026 rev:76 rq:1367649 version:364

Changes:
--------
--- /work/SRC/openSUSE:Factory/cockpit/cockpit.changes  2026-05-20 
16:48:04.081049101 +0200
+++ /work/SRC/openSUSE:Factory/.cockpit.new.2004/cockpit.changes        
2026-07-26 11:27:23.144472204 +0200
@@ -1,0 +2,12 @@
+Tue Jun 30 10:26:18 UTC 2026 - Alice Brooks <[email protected]>
+
+- Update to 364
+  * 364
+    - Bug fixes and translation updates
+  * 363
+    - Translation updates
+  * 362
+    - Bug fixes and translation updates
+    - Drop CVE-2026-4802.patch as this was fixed upstream
+
+-------------------------------------------------------------------

Old:
----
  CVE-2026-4802.patch
  cockpit-361.tar.gz

New:
----
  cockpit-364.tar.gz
  update_version.sh

----------(Old B)----------
  Old:    - Bug fixes and translation updates
    - Drop CVE-2026-4802.patch as this was fixed upstream
----------(Old E)----------

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

Other differences:
------------------
++++++ cockpit.spec ++++++
--- /var/tmp/diff_new_pack.9sJeBT/_old  2026-07-26 11:27:48.745346661 +0200
+++ /var/tmp/diff_new_pack.9sJeBT/_new  2026-07-26 11:27:48.749346798 +0200
@@ -56,7 +56,7 @@
 License:        LGPL-2.1-or-later AND GPL-3.0-or-later AND MIT AND 
CC-BY-SA-3.0 AND BSD-3-Clause
 URL:            https://cockpit-project.org/
 
-Version:        361
+Version:        364
 Release:        0
 Source0:        cockpit-%{version}.tar.gz
 Source2:        cockpit-rpmlintrc
@@ -74,7 +74,6 @@
 Patch4:         css-overrides.patch
 Patch5:         storage-btrfs.patch
 Patch6:         esbuild-ppc64.patch
-Patch7:         CVE-2026-4802.patch
 # SLE Micro specific patches
 Patch101:       hide-pcp.patch
 Patch102:       0002-selinux-temporary-remove-setroubleshoot-section.patch
@@ -251,7 +250,6 @@
 %patch -P 4 -p1
 %patch -P 5 -p1
 %patch -P 6 -p1
-%patch -P 7 -p1
 
 %patch -P 101 -p1
 %patch -P 106 -p1

++++++ _scmsync.obsinfo ++++++
--- /var/tmp/diff_new_pack.9sJeBT/_old  2026-07-26 11:27:48.857350488 +0200
+++ /var/tmp/diff_new_pack.9sJeBT/_new  2026-07-26 11:27:48.861350624 +0200
@@ -1,6 +1,6 @@
-mtime: 1779081332
-commit: fe6172313861db8580eca73a8a0eb376524ec635db9ae26274da1cc55228275e
+mtime: 1782976156
+commit: 83d2b4b6b3afee9fe2835b7403f57582cfe3b61250ee1be5afd07db7b650b0f2
 url: https://src.opensuse.org/cockpit/cockpit
-revision: fe6172313861db8580eca73a8a0eb376524ec635db9ae26274da1cc55228275e
+revision: 83d2b4b6b3afee9fe2835b7403f57582cfe3b61250ee1be5afd07db7b650b0f2
 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-07-02 09:09:16.000000000 +0200
@@ -0,0 +1,3 @@
+.osc
+node_modules.sums
+_build*
\ No newline at end of file
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-07-02 09:09:16.000000000 +0200
@@ -0,0 +1,121 @@
+#!/usr/bin/bash
+
+set -e
+
+curVersion=$(grep Version: cockpit.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
+###
+
+# fetch latest theme
+if [ ! -d cockpit-suse-theme ]; then
+    git clone https://github.com/dgdavid/cockpit-suse-theme.git
+else
+       git -C cockpit-suse-theme pull --ff-only
+fi
+git -C cockpit-suse-theme archive --format=tar --prefix=cockpit-suse-theme/ -o 
../cockpit-suse-theme.tar HEAD
+
+# fetch latest cockpit
+if [ ! -d cockpit ]; then
+       git clone https://github.com/cockpit-project/cockpit.git cockpit
+else
+    git -C cockpit checkout main
+       git -C cockpit fetch
+fi
+
+newVersion=$(git -C cockpit tag | grep '^[0-9.]\+$' | sort -rn | head -1)
+
+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
+###
+git -C cockpit checkout $newVersion
+pushd $PWD
+cd cockpit
+npm install --include optional
+rm -rf node_modules
+popd
+cp "cockpit/package-lock.json" .
+# update node_modules
+osc service mr
+rm --verbose *.tgz || true
+
+# # initialize all submodules
+git -C cockpit submodule update --init --depth 1
+# remove node_modules and tests
+git -C cockpit submodule deinit node_modules test/reference
+
+# update tarballs
+CockpitPath="cockpit-$newVersion/"
+MainTarball="cockpit.tar"
+D=$PWD
+
+git -C cockpit archive --format=tar --prefix=$CockpitPath -o "$D/$MainTarball" 
$newVersion
+
+# append each initialized submodule
+git -C cockpit submodule foreach "n=\$(basename \$sm_path)
+git archive --format=tar --prefix=${CockpitPath}\${sm_path}/ -o \"$D/\$n.tar\" 
HEAD
+"
+SubmoduleTarballs=$(git -C cockpit submodule foreach --quiet "echo \$(basename 
\$sm_path.tar)")
+
+# need to unpack and pack again, because OBS can't deal with concatenated 
tarballs :(
+rm -f "cockpit-$newVersion.tar"
+rm -rf cockpit-$newVersion/
+for i in $MainTarball $SubmoduleTarballs; do
+       tar xf $i
+done
+rm $MainTarball $SubmoduleTarballs
+tar zcf cockpit-$newVersion.tar.gz cockpit-$newVersion/
+
+echo "Archive created: cockpit-$newVersion.tar"
+
+# Update spec file
+git -C cockpit remote show suse || git -C cockpit remote add suse 
[email protected]:openSUSE/cockpit.git
+git -C cockpit fetch suse opensuse-$curVersion
+git -C cockpit checkout -b opensuse-$newVersion suse/opensuse-$curVersion
+git -C cockpit rebase -i $newVersion || true
+
+echo "Don't forget to:"
+echo "  1. finish rebase"
+echo "  2. push new branch"
+echo "  3. update cockpit.spec, and"
+echo "  4. set new default branch on GitHub"
+
+# Updating version in spec file
+sed -i -e "s,^\(\s*Version:\s*\)\(.*\)\s*$,\1${newVersion}," 
cockpit/tools/cockpit.spec
+git rm cockpit-$curVersion.tar.gz
+git add cockpit-$newVersion.tar.gz

++++++ cockpit-361.tar.gz -> cockpit-364.tar.gz ++++++
/work/SRC/openSUSE:Factory/cockpit/cockpit-361.tar.gz 
/work/SRC/openSUSE:Factory/.cockpit.new.2004/cockpit-364.tar.gz differ: char 
13, line 1

++++++ cockpit-suse-theme.tar ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cockpit-suse-theme/src/css-overrides.css 
new/cockpit-suse-theme/src/css-overrides.css
--- old/cockpit-suse-theme/src/css-overrides.css        2025-07-17 
12:06:17.350148919 +0200
+++ new/cockpit-suse-theme/src/css-overrides.css        2026-07-02 
08:47:42.127124863 +0200
@@ -106,6 +106,7 @@
 .nav-system-menu .host-apps {
   padding-inline-start: calc(var(--pf-t--global--spacer--inset--page-chrome) / 
2);
   padding-inline-end: calc(var(--pf-t--global--spacer--inset--page-chrome) / 
2);
+  margin-inline-start:0;
 }
 
 .page > .navbar {

++++++ css-overrides.patch ++++++
--- /var/tmp/diff_new_pack.9sJeBT/_old  2026-07-26 11:27:49.213362648 +0200
+++ /var/tmp/diff_new_pack.9sJeBT/_new  2026-07-26 11:27:49.217362784 +0200
@@ -164,17 +164,17 @@
      <script src="plot.js"></script>
  </head>
 diff --git a/pkg/playground/react-patterns.html 
b/pkg/playground/react-patterns.html
-index a220e0a51..437bd2e39 100644
+index 10d5d97..2888ba5 100644
 --- a/pkg/playground/react-patterns.html
 +++ b/pkg/playground/react-patterns.html
 @@ -5,6 +5,7 @@
-     <title>Cockpit React Patterns Usage</title>
+     <title>Cockpit React Patterns</title>
      <meta name="viewport" content="width=device-width, initial-scale=1.0" />
      <link href="react-patterns.css" type="text/css" rel="stylesheet" />
 +    <link href="../../static/css-overrides.css" type="text/css" 
rel="stylesheet" />
      <script src="../base1/cockpit.js"></script>
      <script src="react-patterns.js"></script>
- </head>
+   </head>
 diff --git a/pkg/playground/speed.html b/pkg/playground/speed.html
 index 603c7341a..e89d111de 100644
 --- a/pkg/playground/speed.html

++++++ node_modules.obscpio ++++++
/work/SRC/openSUSE:Factory/cockpit/node_modules.obscpio 
/work/SRC/openSUSE:Factory/.cockpit.new.2004/node_modules.obscpio differ: char 
218463, line 929

++++++ node_modules.spec.inc ++++++
++++ 914 lines (skipped)
++++ between /work/SRC/openSUSE:Factory/cockpit/node_modules.spec.inc
++++ and /work/SRC/openSUSE:Factory/.cockpit.new.2004/node_modules.spec.inc

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

++++++ update_version.sh ++++++
#!/usr/bin/bash

set -e

curVersion=$(grep Version: cockpit.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
###

# fetch latest theme
if [ ! -d cockpit-suse-theme ]; then
    git clone https://github.com/dgdavid/cockpit-suse-theme.git
else
        git -C cockpit-suse-theme pull --ff-only
fi
git -C cockpit-suse-theme archive --format=tar --prefix=cockpit-suse-theme/ -o 
../cockpit-suse-theme.tar HEAD

# fetch latest cockpit
if [ ! -d cockpit ]; then
        git clone https://github.com/cockpit-project/cockpit.git cockpit
else
    git -C cockpit checkout main
        git -C cockpit fetch
fi

newVersion=$(git -C cockpit tag | grep '^[0-9.]\+$' | sort -rn | head -1)

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
###
git -C cockpit checkout $newVersion
pushd $PWD
cd cockpit
npm install --include optional
rm -rf node_modules
popd
cp "cockpit/package-lock.json" .
# update node_modules
osc service mr
rm --verbose *.tgz || true

# # initialize all submodules
git -C cockpit submodule update --init --depth 1
# remove node_modules and tests
git -C cockpit submodule deinit node_modules test/reference

# update tarballs
CockpitPath="cockpit-$newVersion/"
MainTarball="cockpit.tar"
D=$PWD

git -C cockpit archive --format=tar --prefix=$CockpitPath -o "$D/$MainTarball" 
$newVersion

# append each initialized submodule
git -C cockpit submodule foreach "n=\$(basename \$sm_path)
git archive --format=tar --prefix=${CockpitPath}\${sm_path}/ -o \"$D/\$n.tar\" 
HEAD
"
SubmoduleTarballs=$(git -C cockpit submodule foreach --quiet "echo \$(basename 
\$sm_path.tar)")

# need to unpack and pack again, because OBS can't deal with concatenated 
tarballs :(
rm -f "cockpit-$newVersion.tar"
rm -rf cockpit-$newVersion/
for i in $MainTarball $SubmoduleTarballs; do
        tar xf $i
done
rm $MainTarball $SubmoduleTarballs
tar zcf cockpit-$newVersion.tar.gz cockpit-$newVersion/

echo "Archive created: cockpit-$newVersion.tar"

# Update spec file
git -C cockpit remote show suse || git -C cockpit remote add suse 
[email protected]:openSUSE/cockpit.git
git -C cockpit fetch suse opensuse-$curVersion
git -C cockpit checkout -b opensuse-$newVersion suse/opensuse-$curVersion
git -C cockpit rebase -i $newVersion || true

echo "Don't forget to:"
echo "  1. finish rebase"
echo "  2. push new branch"
echo "  3. update cockpit.spec, and"
echo "  4. set new default branch on GitHub"

# Updating version in spec file
sed -i -e "s,^\(\s*Version:\s*\)\(.*\)\s*$,\1${newVersion}," 
cockpit/tools/cockpit.spec
git rm cockpit-$curVersion.tar.gz
git add cockpit-$newVersion.tar.gz

Reply via email to