[policy] 03/03: Recommend debian-science-post-receive as the post-receive hook

James Clarke jrtc27-guest at moszumanska.debian.org
Thu Apr 28 13:47:56 UTC 2016


This is an automated email from the git hooks/post-receive script.

jrtc27-guest pushed a commit to branch master
in repository policy.

commit 12bc6b8adf28d6ac79501390ff8b99a962fcdf6d
Author: James Clarke <jrtc27 at jrtc27.com>
Date:   Thu Apr 28 14:42:51 2016 +0100

    Recommend debian-science-post-receive as the post-receive hook
---
 debian-science-policy.xml | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/debian-science-policy.xml b/debian-science-policy.xml
index 0f0dc13..b2eb0db 100644
--- a/debian-science-policy.xml
+++ b/debian-science-policy.xml
@@ -244,13 +244,14 @@ Clone URL: https://anonscm.debian.org/git/debian-science/packages/foo.git
       </sect3>
       <sect3>
 	<title>Commit Messages</title>
-	<para>Each Package Repository should add a commit hook that sends commit messages to the <email>debian-science-commits at lists.alioth.debian.org</email> mailing list.</para>
-	<para>The recommended way is to use the <command>git-commit-notice</command> script on Alioth. To setup the hook, login to Alioth and change into your Package Repository directory. There you can execute:</para>
+	<para>Each Package Repository should add a commit hook that sends commit messages to the <email>debian-science-commits at lists.alioth.debian.org</email> and <email>dispatch at tracker.debian.org</email> mailing lists.</para>
+	<para>If you used the <filename>setup-repository</filename> script to create your repository, this has already been done. If not, the recommended way is to use the <filename>/home/groups/debian-science/bin/debian-science-post-receive</filename> script on Alioth. To setup the hook, login to Alioth and change into your Package Repository directory. There you can execute:</para>
 	<screen><![CDATA[
 $ git config --add hooks.mailinglist "debian-science-commits at lists.alioth.debian.org"
+$ git config --add hooks.mailinglist "dispatch at tracker.debian.org"
 $ cat >hooks/post-receive <<END
 #!/bin/sh
-exec /usr/local/bin/git-commit-notice
+exec /home/groups/debian-science/bin/debian-science-post-receive
 END
 $ chmod 0775 hooks/post-receive
 ]]></screen>

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/policy.git



More information about the debian-science-commits mailing list