Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package toolbox for openSUSE:Factory checked 
in at 2021-11-27 00:50:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/toolbox (Old)
 and      /work/SRC/openSUSE:Factory/.toolbox.new.1895 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "toolbox"

Sat Nov 27 00:50:49 2021 rev:17 rq:933488 version:2.2+git20211124.09791b1

Changes:
--------
--- /work/SRC/openSUSE:Factory/toolbox/toolbox.changes  2021-11-18 
10:33:23.247882493 +0100
+++ /work/SRC/openSUSE:Factory/.toolbox.new.1895/toolbox.changes        
2021-11-27 00:51:32.522756973 +0100
@@ -1,0 +2,6 @@
+Wed Nov 24 14:43:54 UTC 2021 - ku...@suse.com
+
+- Update to version 2.2+git20211124.09791b1:
+  * Introduce -n/--nostop switch so mutiple sessions can be run inside an 
existing toolbox
+
+-------------------------------------------------------------------

Old:
----
  microos-toolbox-2.2+git20210823.dd0fff8.tar.xz

New:
----
  microos-toolbox-2.2+git20211124.09791b1.tar.xz

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

Other differences:
------------------
++++++ toolbox.spec ++++++
--- /var/tmp/diff_new_pack.1idjbr/_old  2021-11-27 00:51:33.098754984 +0100
+++ /var/tmp/diff_new_pack.1idjbr/_new  2021-11-27 00:51:33.102754970 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           toolbox
-Version:        2.2+git20210823.dd0fff8
+Version:        2.2+git20211124.09791b1
 Release:        0
 Summary:        Script to start a toolbox container for system debugging
 License:        Apache-2.0

++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.1idjbr/_old  2021-11-27 00:51:33.134754860 +0100
+++ /var/tmp/diff_new_pack.1idjbr/_new  2021-11-27 00:51:33.134754860 +0100
@@ -1,6 +1,6 @@
 <servicedata>
   <service name="tar_scm">
     <param 
name="url">git://github.com/kubic-project/microos-toolbox.git</param>
-    <param 
name="changesrevision">dd0fff8bf7a8462a22d93eedc14ae2bcc84b8b23</param>
+    <param 
name="changesrevision">70d47d0be3c46a0c903d98950a80abf5c771d416</param>
  </service>
 </servicedata>
\ No newline at end of file

++++++ microos-toolbox-2.2+git20210823.dd0fff8.tar.xz -> 
microos-toolbox-2.2+git20211124.09791b1.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/microos-toolbox-2.2+git20210823.dd0fff8/README.md 
new/microos-toolbox-2.2+git20211124.09791b1/README.md
--- old/microos-toolbox-2.2+git20210823.dd0fff8/README.md       2021-08-23 
14:53:05.000000000 +0200
+++ new/microos-toolbox-2.2+git20211124.09791b1/README.md       2021-11-24 
15:37:02.000000000 +0100
@@ -10,6 +10,7 @@
 The following options are available in `toolbox`:
 * `-h` or `--help`: Shows the help message
 * `-u` or `--user`: Run as the current user inside the container
+* `-n` or `--nostop`: Do not stop container on exit, allowing multiple 
sessions to the same toolbox
 * `-R` or `--reg` `<registry>`: Explicitly specify the registry to use
 * `-I` or `--img` `<image>`: Explicitly specify the image to pull
 * `-i` or `--image` `<image>`: Full URI of the image to pull (alternative to 
`-R` & `-I`)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/microos-toolbox-2.2+git20210823.dd0fff8/toolbox 
new/microos-toolbox-2.2+git20211124.09791b1/toolbox
--- old/microos-toolbox-2.2+git20210823.dd0fff8/toolbox 2021-08-23 
14:53:05.000000000 +0200
+++ new/microos-toolbox-2.2+git20211124.09791b1/toolbox 2021-11-24 
15:37:02.000000000 +0100
@@ -130,7 +130,10 @@
 }
 
 cleanup() {
-    ${SUDO} $CLI stop "$TOOLBOX_NAME" &>/dev/null
+    if [ -z "$NO_STOP" ]; then
+       ${SUDO} $CLI stop "$TOOLBOX_NAME" &>/dev/null
+    fi
+
     ${SUDO} rm -f $tmp_user_setup
 }
 
@@ -215,7 +218,7 @@
 }
 
 show_help() {
-    echo "USAGE: toolbox [[-h/--help] | [command] [-r/--root] [-u/--user]
+    echo "USAGE: toolbox [[-h/--help] | [command] [-r/--root] [-u/--user] 
[-n/--nostop]
         [[-R/--reg <registry>] [-I/--img <image>]|[-i/--image <image_URI>]]
         [[-t/--tag <tag>]|[-c/--container <name>]] [command_to_run]]
 toolbox is a small script that launches a container to let you bring in your 
favorite debugging or admin tools.
@@ -232,6 +235,8 @@
   -h/--help: Shows this help message
   -u/--user: Run as the current user inside the container
   -r/--root: Runs $CLI via sudo as root
+  -n/--nostop: Does not stop the container on exit, allowing multiple
+               sessions to use the same toolbox at once
   -t/--tag <tag>: Add <tag> to the toolbox name
   -c/--container <name>: Set the name of the toolbox to be equal to <name>
                          (use this alternatively to -t)
@@ -284,7 +289,7 @@
         esac
     fi
 
-    ARGS=$(getopt -o hrut:R:I:c:i: --long 
help,root,user,tag:,reg:,img:,container:,image: -n toolbox -- "$@")
+    ARGS=$(getopt -o hrunt:R:I:c:i: --long 
help,root,user,nostop,tag:,reg:,img:,container:,image: -n toolbox -- "$@")
     eval set -- "$ARGS"
     while true; do
         case "$1" in
@@ -301,6 +306,10 @@
                 shift
                 MODE="user"
                 ;;
+            -n|--nostop)
+                NO_STOP="true"
+                shift
+                ;;
             -c|--container)
                 if [ -n "$TAG" ]; then
                     echo "ERROR: Don't use both -c and -t!"

Reply via email to