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 2024-08-01 22:05:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/cockpit-machines (Old)
 and      /work/SRC/openSUSE:Factory/.cockpit-machines.new.7232 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "cockpit-machines"

Thu Aug  1 22:05:44 2024 rev:17 rq:1190946 version:316

Changes:
--------
--- /work/SRC/openSUSE:Factory/cockpit-machines/cockpit-machines.changes        
2024-04-02 16:45:58.212730223 +0200
+++ 
/work/SRC/openSUSE:Factory/.cockpit-machines.new.7232/cockpit-machines.changes  
    2024-08-01 22:06:34.625782012 +0200
@@ -1,0 +2,38 @@
+Wed Jul 31 12:39:14 UTC 2024 - Adam Majer <adam.ma...@suse.de>
+
+- update_version.sh: add script for auto-updates
+- switch to upstream package-lock.json
+- do not run scripts during npm install
+- switch to source package instead of precombined upstream release
+
+-------------------------------------------------------------------
+Mon Jul 15 08:29:29 UTC 2024 - Luna D Dragon <luna.dra...@suse.com>
+
+- Update to 316:
+    * Bug fixes and performance improvements
+- Changes from 315:
+    * Translation updates and bug fixes
+- Changes from 314:
+    * Fix translation extraction
+    * Translation updates
+- Changes from 313:
+    * Updates to translations
+- Changes from 312:
+    * Bug fixes and performance improvements
+- Changes from 311:
+    * Allow pasting multiple SSH keys at once in Create VM dialog
+    * Fix detaching host device for running VMs
+- Changes from 310:
+    * Bug fixes and performance improvements
+- Changes from 309:
+    * bug fixes and performance improvements
+- Changes from 308:
+    * Add TPM when switching to EFI
+    * Translation updates
+    * Only use external snapshots for disks of type "file"
+    * Skip empty media drives for external snapshots
+    * Refresh VM after creating/reverting/deleting snapshots
+    * Don't list disks in snapshot XML
+    * Fix detaching host devices for running VMs
+
+-------------------------------------------------------------------

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

New:
----
  cockpit-machines-316.tar.gz
  update_version.sh

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

Other differences:
------------------
++++++ cockpit-machines.spec ++++++
--- /var/tmp/diff_new_pack.sL4R8c/_old  2024-08-01 22:06:35.961837142 +0200
+++ /var/tmp/diff_new_pack.sL4R8c/_new  2024-08-01 22:06:35.961837142 +0200
@@ -17,16 +17,15 @@
 
 
 Name:           cockpit-machines
-Version:        307
+Version:        316
 Release:        0
 Summary:        Cockpit user interface for virtual machines
 License:        LGPL-2.1-or-later AND MIT
 URL:            https://github.com/cockpit-project/cockpit-machines
-# source_validator insists that if obscpio has no version then
-# tarball must neither
 Source:         
https://github.com/cockpit-project/cockpit-machines/archive/refs/tags/%{version}.tar.gz#/cockpit-machines-%{version}.tar.gz
 Source10:       package-lock.json
 Source11:       node_modules.spec.inc
+Source12:       update_version.sh
 %include %_sourcedir/node_modules.spec.inc
 Patch10:        hide-docs.patch
 Patch11:        load-css-overrides.patch
@@ -58,8 +57,7 @@
 
 %prep
 %autosetup -p1
-rm -f package-lock.json
-local-npm-registry %{_sourcedir} install --with=dev --legacy-peer-deps || ( 
find ~/.npm/_logs -name '*-debug.log' -print0 | xargs -0 cat; false)
+local-npm-registry %{_sourcedir} install --include=dev --ignore-scripts || ( 
find ~/.npm/_logs -name '*-debug.log' -print0 | xargs -0 cat; false)
 
 %build
 export PREFIX=%_prefix

++++++ cockpit-machines-307.tar.gz -> cockpit-machines-316.tar.gz ++++++
++++ 62950 lines of diff (skipped)

++++++ hide-docs.patch ++++++
--- /var/tmp/diff_new_pack.sL4R8c/_old  2024-08-01 22:06:36.197846881 +0200
+++ /var/tmp/diff_new_pack.sL4R8c/_new  2024-08-01 22:06:36.201847046 +0200
@@ -1,7 +1,7 @@
-Index: cockpit-machines-292/src/manifest.json
-===================================================================
---- cockpit-machines-292.orig/src/manifest.json
-+++ cockpit-machines-292/src/manifest.json
+diff --git a/src/manifest.json b/src/manifest.json
+index 11d1797..543eebd 100644
+--- a/src/manifest.json
++++ b/src/manifest.json
 @@ -11,7 +11,7 @@
          "label": "Virtual machines",
          "path": "index.html",
@@ -10,5 +10,5 @@
 +        "docs-rh": [
              {
                  "label": "Managing virtual machines",
-                 "url": 
"https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/managing_systems_using_the_rhel_8_web_console/managing-virtual-machines-in-the-web-console_system-management-using-the-rhel-8-web-console";
+                 "url": 
"https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9/html/managing_systems_using_the_rhel_9_web_console/managing-virtual-machines-in-the-web-console_system-management-using-the-rhel-9-web-console";
 

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

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

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

++++++ 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]+$ ]]; then
  echo "Error: curVersion is not a valid integer"
  exit 1
fi

###
### Fetch latest soruces
###

GWD="-C cockpit-machines"

# fetch latest cockpit-machines
if [ ! -d cockpit-machines ]; then
        git clone https://github.com/cockpit-project/cockpit-machines 
cockpit-machines
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]+$ ]]; then
  echo "Error: newVersion cannot be determined"
  exit 1
fi

if [ "$curVersion" -ge "$newVersion" ]; then
        echo "Nothing to do."
        exit 0
fi

###
### UPDATE
###
# # initialize all submodules
git $GWD checkout --quiet $newVersion
git $GWD submodule update --init --depth 1
diff cockpit-machines/node_modules/.package.json cockpit-machines/package.json
cp cockpit-machines/node_modules/.package-lock.json package-lock.json

# update node_modules
curl -Lo cockpit-machines-$newVersion.tar.gz 
https://github.com/cockpit-project/cockpit-machines/archive/refs/tags/$newVersion.tar.gz

# Updating version in spec file
sed -i -e "s,^\(\s*Version:\s*\)\(.*\)\s*$,\1${newVersion}," 
cockpit-machines.spec

# update modules
osc add cockpit-machines-$newVersion.tar.gz
osc rm  cockpit-machines-$curVersion.tar.gz
osc service mr

Reply via email to