[Xfce4-commits] <xfce-git-hooks:master> Add useful status messages to the hooks.

Jannis Pohlmann noreply at xfce.org
Fri Jun 25 15:10:02 CEST 2010


Updating branch refs/heads/master
         to 237938579e66a1898c8502f267cf278c2ce9c6ec (commit)
       from 04fd697c60b3b2418fed346483f3e19b219edee9 (commit)

commit 237938579e66a1898c8502f267cf278c2ce9c6ec
Author: Jannis Pohlmann <jannis at xfce.org>
Date:   Fri Jun 25 15:08:59 2010 +0200

    Add useful status messages to the hooks.
    
    This way it is easier for us to find out which hook script is to blame
    for certain push problems.

 post-update |    4 +++-
 update      |    8 ++++++++
 2 files changed, 11 insertions(+), 1 deletions(-)

diff --git a/post-update b/post-update
index 335c14e..ac3571c 100755
--- a/post-update
+++ b/post-update
@@ -12,5 +12,7 @@ parent="`dirname $path`"
 export REPO="`basename $parent`/`basename $path`"
 unset parent path
 
-$XFCE_GIT_HOOK_DIR/hooks/post-update-01-server-info
+echo ">> update server info" &&
+$XFCE_GIT_HOOK_DIR/hooks/post-update-01-server-info &&
+echo ">> update Xfce website" &&
 $XFCE_GIT_HOOK_DIR/hooks/post-update-03-www-pull
diff --git a/update b/update
index d945826..3e1b5b6 100755
--- a/update
+++ b/update
@@ -31,8 +31,16 @@ parent="`dirname $path`"
 export REPO="`basename $parent`/`basename $path`"
 unset parent path
 
+echo ">> ensure history integrity" &&
 $XFCE_GIT_HOOK_DIR/hooks/update-01-history-integrity "$@" &&
+
+echo ">> check commit permissions" &&
 $XFCE_GIT_HOOK_DIR/hooks/update-02-check-permissions "$@" &&
+
+echo ">> queue commit mails" &&
 $XFCE_GIT_HOOK_DIR/hooks/update-03-send-commit-mails "$@" &&
+
+echo ">> send CIA updates" &&
 $XFCE_GIT_HOOK_DIR/hooks/update-04-send-cia-update "$@"
+
 exit $?



More information about the Xfce4-commits mailing list