Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package transactional-wrapper for 
openSUSE:Factory checked in at 2026-07-15 16:52:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/transactional-wrapper (Old)
 and      /work/SRC/openSUSE:Factory/.transactional-wrapper.new.1991 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "transactional-wrapper"

Wed Jul 15 16:52:22 2026 rev:2 rq:1365824 version:0.0.1

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/transactional-wrapper/transactional-wrapper.changes  
    2026-06-10 15:49:19.335193040 +0200
+++ 
/work/SRC/openSUSE:Factory/.transactional-wrapper.new.1991/transactional-wrapper.changes
    2026-07-15 17:09:18.146831307 +0200
@@ -1,0 +2,11 @@
+Tue Jul 14 08:44:03 UTC 2026 - Jiri Srain <[email protected]>
+
+- code improvements
+- fixed several typos
+
+-------------------------------------------------------------------
+Fri Jun 19 11:59:51 UTC 2026 - Jiri Srain <[email protected]>
+
+- fix handling of the verbose command-line option
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ transactional-wrapper.spec ++++++
--- /var/tmp/diff_new_pack.Ip2vBM/_old  2026-07-15 17:09:20.462910012 +0200
+++ /var/tmp/diff_new_pack.Ip2vBM/_new  2026-07-15 17:09:20.462910012 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package transactional-wrapper
 #
-# Copyright (c) 2026 SUSE LLC
+# Copyright (c) 2026 SUSE LLC and contributors
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -23,7 +23,7 @@
 Version:        0.0.1
 Release:        0
 BuildArch:      noarch
-Url:            https://github.com/jsrain/transactional-wrapper/
+URL:            https://github.com/jsrain/transactional-wrapper/
 Requires:       transactional-update
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
@@ -37,7 +37,6 @@
 %define with_alias 0
 %define with_configs 0
 
-
 %description
 Generic wrapper for calling commands which need to run in transactional update 
transparently
 

++++++ README ++++++
--- /var/tmp/diff_new_pack.Ip2vBM/_old  2026-07-15 17:09:20.490910963 +0200
+++ /var/tmp/diff_new_pack.Ip2vBM/_new  2026-07-15 17:09:20.494911099 +0200
@@ -18,7 +18,7 @@
 and if the operation succeeds, new snapshot gets activated automatically.
 
 
-Implemetation:
+Implementation:
 
 This project offers two implementations: One needs the respective tool to be 
aware of the transactional
 system and call the transactional-wrapper command when the system is read 
only; the other one uses an alias
@@ -41,7 +41,7 @@
 - exit codes which don't mean error but say that the operation did not do any 
change to the system, and
   therefore there is no point in activating the snapshot
 
-The transactinoal alias handles calling the transactional-wrapper with proper 
parameters.
+The transactional alias handles calling the transactional-wrapper with proper 
parameters.
 
 
 Transactional Wrapper:
@@ -50,13 +50,13 @@
 part of the system. It does not require any parameters (it can receive the 
command-line if its parent process
 from the /proc filesystem.  This means that the respective tool does not need 
to replicate the commands.
 
-It can optionally provide configurarion for the respectie tool, either via 
file or via command-line parameters,
+It can optionally provide configuration for the respective tool, either via 
file or via command-line parameters,
 to specify behavior on exit codes.
 
 The transactional wrapper - if installed - can be disabled or enabled via 
configuration file. Additionally,
 it can define the behavior on successful transaction:
 - call transactional-update apply
-- do nothing (requires user to activate the snapshot before using next 
transacitonal command
+- do nothing (requires user to activate the snapshot before using next 
transactional command
 - reboot immediately
 - soft-reboot immediately
 - reboot via kexec immediately

++++++ transactional-alias ++++++
--- /var/tmp/diff_new_pack.Ip2vBM/_old  2026-07-15 17:09:20.510911642 +0200
+++ /var/tmp/diff_new_pack.Ip2vBM/_new  2026-07-15 17:09:20.514911778 +0200
@@ -1,6 +1,6 @@
 #!/bin/bash
 
-echo "Starting the alias suport for transactinoal-wrapper"
+echo "Starting the alias support for transactional-wrapper"
 
 CMDLINE=""
 COMMAND=""
@@ -9,7 +9,7 @@
 TRANSACTIONAL_COMMANDS=""
 RUN_TRANSACTIONAL="1"
 CONFIG=""
-while [[ $# -gt 0 ]] do
+while [[ $# -gt 0 ]]; do
   case $1 in
     -c|--config)
       if [ -z "$CMDLINE" ] ; then

++++++ transactional-wrapper ++++++
--- /var/tmp/diff_new_pack.Ip2vBM/_old  2026-07-15 17:09:20.530912322 +0200
+++ /var/tmp/diff_new_pack.Ip2vBM/_new  2026-07-15 17:09:20.534912458 +0200
@@ -1,13 +1,13 @@
 #!/bin/bash
 
-echo "Starting transactinoal-wrapper"
+echo "Starting transactional-wrapper"
 ACTION="info"
 CMDLINE=""
 VERBOSE=0
 . /usr/etc/transactional-wrapper.conf
 [ -f /etc/transactional-wrapper.conf ] && . /etc/transactional-wrapper.conf
 
-while [[ $# -gt 0 ]] do
+while [[ $# -gt 0 ]]; do
   case $1 in
     -c|--config)
       . "/usr/share/transactional-wrapper/configs/$2"
@@ -44,11 +44,11 @@
 fi
 
 test -z "$CMDLINE" && CMDLINE=`cat "/proc/$PPID/cmdline" | tr '\000' ' '`
-$VERBOSE && echo "Calling transactional-wrapper for $CMDLINE"
+[ $VERBOSE = "1" ] && echo "Calling transactional-wrapper for $CMDLINE"
 
 tempfile=$(mktemp)
 /sbin/transactional-update run $CMDLINE | tee $tempfile
-EXIT=`sed -n 's/.*Application returned with exit status //p' <$tempfile |sed 
's/\.$//i'`
+EXIT=`sed -n 's/.*Application returned with exit status //p' <$tempfile |sed 
's/\.$//'`
 rm $tempfile
 
 WRAPPED_EXIT=",$EXIT,"
@@ -61,7 +61,7 @@
 fi
 
 if echo $SUCCESS_EXIT_CODES | grep $WRAPPED_EXIT ; then
-  $VERBOSE && echo "Transaction succeeded with exit code $EXIT"
+  [ $VERBOSE = "1" ] && echo "Transaction succeeded with exit code $EXIT"
 else
   echo "Execution of transaction failed with exit code $EXIT"
   exit $EXIT
@@ -73,31 +73,23 @@
   echo "operations will be based on currently running snapshot"
   echo "and further snapshots will not include the changes."
   exit $EXIT
-fi
-
-if [ $ACTION = "soft-reboot" ] ; then
-  echo "Soft-rebooting to acticate the snapshot in 10 secinds"
+elif [ $ACTION = "soft-reboot" ] ; then
+  echo "Soft-rebooting to activate the snapshot in 10 seconds"
   echo "Interrupt the script to interrupt system restart"
   sleep 10
   systemctl soft-reboot
-fi
-
-if [ $ACTION = "reboot" ] ; then
-  echo "Rebooting to acticate the snapshot in 10 secinds"
+elif [ $ACTION = "reboot" ] ; then
+  echo "Rebooting to activate the snapshot in 10 seconds"
   echo "Interrupt the script to interrupt system restart"
   sleep 10
   systemctl reboot
-fi
-
-if [ $ACTION = "kexec" ] ; then
-  echo "Rebooting via kexec to acticate the snapshot in 10 secinds"
+elif [ $ACTION = "kexec" ] ; then
+  echo "Rebooting via kexec to activate the snapshot in 10 seconds"
   echo "Interrupt the script to interrupt system restart"
   sleep 10
   systemctl kexec
-fi
-
-if [ $ACTION = "apply" ] ; then
-  echo "Applying new snapshot via transactinal-update apply"
+elif [ $ACTION = "apply" ] ; then
+  echo "Applying new snapshot via transactional-update apply"
   /sbin/transactional-update apply;
   exit $EXIT
 fi

++++++ transactional-wrapper.conf ++++++
--- /var/tmp/diff_new_pack.Ip2vBM/_old  2026-07-15 17:09:20.554913138 +0200
+++ /var/tmp/diff_new_pack.Ip2vBM/_new  2026-07-15 17:09:20.558913274 +0200
@@ -1,6 +1,6 @@
 ## Copy this file to /etc/ to make changes in the configuration
 
-## enable (set ot 1) or disable (0) the transactional wrapper
+## enable (set to 1) or disable (0) the transactional wrapper
 ## default is disabled
 ENABLE_TRANSACTIONAL_WRAPPER=1
 

Reply via email to