Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package retry for openSUSE:Factory checked 
in at 2025-01-16 18:34:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/retry (Old)
 and      /work/SRC/openSUSE:Factory/.retry.new.1881 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "retry"

Thu Jan 16 18:34:29 2025 rev:9 rq:1238226 version:1737025645.819c129

Changes:
--------
--- /work/SRC/openSUSE:Factory/retry/retry.changes      2024-08-14 
14:17:02.758044638 +0200
+++ /work/SRC/openSUSE:Factory/.retry.new.1881/retry.changes    2025-01-16 
18:34:49.387662416 +0100
@@ -1,0 +2,7 @@
+Thu Jan 16 11:10:21 UTC 2025 - [email protected]
+
+- Update to version 1737025645.819c129:
+  * Fix shellcheck reported issue SC2317
+  * count-fail-ratio: Fix commands with quoted arguments
+
+-------------------------------------------------------------------

Old:
----
  retry-1723625520.fd868ce.obscpio

New:
----
  retry-1737025645.819c129.obscpio

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

Other differences:
------------------
++++++ retry.spec ++++++
--- /var/tmp/diff_new_pack.grA3VH/_old  2025-01-16 18:34:50.135693301 +0100
+++ /var/tmp/diff_new_pack.grA3VH/_new  2025-01-16 18:34:50.139693467 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package retry
 #
-# Copyright (c) 2024 SUSE LLC
+# Copyright (c) 2025 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:           retry
-Version:        1723625520.fd868ce
+Version:        1737025645.819c129
 Release:        0
 Summary:        A simple tool for retrying command executions in plain POSIX sh
 License:        MIT

++++++ retry-1723625520.fd868ce.obscpio -> retry-1737025645.819c129.obscpio 
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/retry-1723625520.fd868ce/count-fail-ratio 
new/retry-1737025645.819c129/count-fail-ratio
--- old/retry-1723625520.fd868ce/count-fail-ratio       2024-08-14 
10:52:00.000000000 +0200
+++ new/retry-1737025645.819c129/count-fail-ratio       2025-01-16 
12:07:25.000000000 +0100
@@ -11,7 +11,7 @@
 for ((i=start; i <= runs; i++)); do
     echo "## Run $i"
     if [ "$timing" = 1 ]; then t_run_start=$(date +%s%N); fi
-    $* || fails=$((fails+1))
+    "$@" || fails=$((fails+1))
     if [ "$timing" = 1 ]; then
         t_run_end=$(date +%s%N)
         runtime=$(( (t_run_end - t_run_start) / 1000000 ))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/retry-1723625520.fd868ce/retry 
new/retry-1737025645.819c129/retry
--- old/retry-1723625520.fd868ce/retry  2024-08-14 10:52:00.000000000 +0200
+++ new/retry-1737025645.819c129/retry  2025-01-16 12:07:25.000000000 +0100
@@ -13,20 +13,19 @@
                                 Disabled by default, factor defaults to 2
                                 (binary exponential back-off).
     "
-    exit "$1"
 }
 
 # parse arguments
 opts=$(getopt \
     --options +h,r:,s:,e:: \
     --longoptions help,retries:,sleep:,exponential:: \
-    --name "$(basename "$0")" -- "$@") || usage 1
+    --name "$(basename "$0")" -- "$@") || { usage ; exit 1; }
 
 eval set -- "$opts"
 
 while [ $# -gt 0 ]; do
   case "$1" in
-    -h | --help        ) usage 0; shift ;;
+    -h | --help        ) usage; exit 0 ;;
     -r | --retries     ) retries=$2; shift 2 ;;
     -s | --sleep       ) sleep=$2; shift 2 ;;
     -e | --exponential ) exponential=${2:-2}; shift 2 ;;

++++++ retry.obsinfo ++++++
--- /var/tmp/diff_new_pack.grA3VH/_old  2025-01-16 18:34:50.247697926 +0100
+++ /var/tmp/diff_new_pack.grA3VH/_new  2025-01-16 18:34:50.251698091 +0100
@@ -1,5 +1,5 @@
 name: retry
-version: 1723625520.fd868ce
-mtime: 1723625520
-commit: fd868cee95061c8473fae6139e5b6e004f0692a8
+version: 1737025645.819c129
+mtime: 1737025645
+commit: 819c129a53b5da993b6c0e3d6fe8c0e3897b10c0
 

Reply via email to