The following commit has been merged in the master branch:
commit a621bf5395f78a339cc44537082cda4683df6ddf
Author: Mehdi Dogguy <me...@debian.org>
Date:   Fri Oct 5 15:47:28 2012 +0200

    dom-new-git-repo: Use KGB instead of CIA for new Git repositories.

diff --git a/debian/changelog b/debian/changelog
index 98249f2..6baa272 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,7 +4,7 @@ dh-ocaml (1.0.6) UNRELEASED; urgency=low
   * Remove Sylvain Le Gall from uploaders
 
   [ Mehdi Dogguy ]
-  * dom-new-git-repo: Do not configure CIA in new Git repositories.
+  * dom-new-git-repo: Use KGB instead of CIA for new Git repositories.
 
  -- Sylvain Le Gall <gil...@debian.org>  Fri, 21 Sep 2012 01:13:39 +0000
 
diff --git a/tools/dom-new-git-repo b/tools/dom-new-git-repo
index 0e8fa12..252b113 100755
--- a/tools/dom-new-git-repo
+++ b/tools/dom-new-git-repo
@@ -45,8 +45,10 @@ cd "$REPODIR"
 chmod a+x hooks/post-update || mv hooks/post-update.sample hooks/post-update
 git config --add hooks.mailinglist "$NOTIFY_EMAIL"
 git config --add hooks.bcc "${PACKAGE}_...@packages.qa.debian.org"
-echo "#!/bin/sh" > hooks/post-receive
-echo "exec /usr/local/bin/git-commit-notice" >> hooks/post-receive
+echo "#!/bin/bash" > hooks/post-receive
+echo 'DIR=`basename $(readlink -f $GIT_DIR)`' >> hooks/post-receive
+echo 'PKG=${DIR%.git}' >> hooks/post-receive
+echo 'tee >(kgb-client --conf /git/pkg-ocaml-maint/kgbclient.conf --repository 
git --git-reflog - --module $PKG) >(/usr/local/bin/git-commit-notice) 
>/dev/null' >> hooks/post-receive
 chmod 775 hooks/post-receive
 EOCMD
 }

-- 
dh-ocaml packaging

_______________________________________________
Pkg-ocaml-maint-commits mailing list
Pkg-ocaml-maint-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-ocaml-maint-commits

Reply via email to