[SCM] Debian Science Policy Manual branch, master, updated. 8654765293378d13cf3a79eb90bdd6caacfaea95

Manuel Prinz debian at pinguinkiste.de
Fri Jul 4 17:11:46 UTC 2008


The following commit has been merged in the master branch:
commit 2fd90a170928e31b07a142f30a7bfc2099d283d7
Author: Manuel Prinz <debian at pinguinkiste.de>
Date:   Fri Jul 4 18:41:57 2008 +0200

    Minor updates in section on commit messages
    
    - Corrected wrong permissions for post-receive hook
    - Put example into CDATA to make it more readable

diff --git a/debian-science-policy.xml b/debian-science-policy.xml
index 10aebdd..f9a3207 100644
--- a/debian-science-policy.xml
+++ b/debian-science-policy.xml
@@ -197,14 +197,14 @@ debian-science/
 	<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>
-<screen>
+	<screen><![CDATA[
 $ git config --add hooks.mailinglist "debian-science-commits at lists.alioth.debian.org"
-$ cat &gt;hooks/post-receive &lt;&lt;END
+$ cat >hooks/post-receive <<END
 #!/bin/sh
 exec /usr/local/bin/git-commit-notice
 END
-$ chmod 755 hooks/post-receive
-</screen>
+$ chmod 0775 hooks/post-receive
+]]></screen>
       </sect3>
     </sect2>
   </sect1>

-- 
Debian Science Policy Manual



More information about the debian-science-commits mailing list