[DRE-commits] [SCM] pkg-ruby-extras.git branch, master, updated. b7013b9c0d0ebbbc3301b98d046cba0981aadbe4

Antonio Terceiro terceiro at debian.org
Thu May 30 23:06:36 UTC 2013


The following commit has been merged in the master branch:
commit b7013b9c0d0ebbbc3301b98d046cba0981aadbe4
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Thu May 30 20:03:20 2013 -0300

    print counters to give an idea of how much is left

diff --git a/quick-update b/quick-update
index 61a59f1..81a54f6 100755
--- a/quick-update
+++ b/quick-update
@@ -30,8 +30,11 @@ diff remote.heads local.heads | grep '^<' | cut -d ' ' -f 2-3 | while read packa
 done
 
 if [ -e .pull.list ]; then
+  i=0
+  n=$(cat .pull.list | wc -l)
   for package in $(cat .pull.list); do
-    echo "I: Updating $package ..."
+    i=$(($i + 1))
+    echo "I: Updating $package ($i/$n) ..."
     (
       cd $package &&
         (test -e .git/gbp.conf || printf "[DEFAULT]\npristine-tar = True\n" > .git/gbp.conf) &&

-- 
pkg-ruby-extras.git



More information about the Pkg-ruby-extras-commits mailing list