pld-builder.new (WORKING): client/make-request.sh - shortcuts for ...

glen glen at pld-linux.org
Tue Dec 26 23:50:18 CET 2006


Author: glen                         Date: Tue Dec 26 22:50:18 2006 GMT
Module: pld-builder.new               Tag: WORKING
---- Log message:
- shortcuts for installing,removing packages

---- Files affected:
pld-builder.new/client:
   make-request.sh (1.19.2.7 -> 1.19.2.8) 

---- Diffs:

================================================================
Index: pld-builder.new/client/make-request.sh
diff -u pld-builder.new/client/make-request.sh:1.19.2.7 pld-builder.new/client/make-request.sh:1.19.2.8
--- pld-builder.new/client/make-request.sh:1.19.2.7	Fri Dec  8 18:13:53 2006
+++ pld-builder.new/client/make-request.sh	Tue Dec 26 23:50:13 2006
@@ -65,6 +65,12 @@
   echo "       Not yet documented"
   echo "  -c   --command"
   echo "       Executes a given command on builders"
+  echo "       --test-remove-pkg"
+  echo "       shortcut for --command poldek -evt ARGS"
+  echo "       --remove-pkg"
+  echo "       shortcut for --command poldek -ev --noask ARGS"
+  echo "       --upgrade-pkg"
+  echo "       shortcut for --command poldek -uv ARGS"
   echo "       --cvsup"
   echo "       Updates builders infrastructure (outside chroot)"
   echo "  -p   --priority VALUE"
@@ -115,8 +121,8 @@
       ;;
 
     --no-install-br | -ni )
-	  flags="$flags no-install-br" 
-	  ;;
+      flags="$flags no-install-br" 
+      ;;
 	  
     --flag | -f )
       flags="$flags $2"
@@ -130,13 +136,29 @@
 
     --command | -c )
       command="$2"
+      f_upgrade=no
+      shift
+      ;;
+    --test-remove-pkg)
+      command="poldek -evt $2"
+      f_upgrade=no
+      shift
+      ;;
+    --remove-pkg)
+      command="poldek -ev --noask $2"
+      f_upgrade=no
+      shift
+      ;;
+    --upgrade-pkg)
+      command="poldek -uv $2"
+      f_upgrade=no
       shift
       ;;
 
-	--cvsup )
-	  command_flags="no-chroot"
-	  command="cvs up"
-	  ;;
+    --cvsup )
+      command_flags="no-chroot"
+      command="cvs up"
+      ;;
 	  
     --help | -h )
       usage
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/pld-builder.new/client/make-request.sh?r1=1.19.2.7&r2=1.19.2.8&f=u



More information about the pld-cvs-commit mailing list