Re: Alioth - Convert SVN repo to Git
On Tue, Mar 24, 2009 at 15:30, Manuel Prinz <manuel@debian.org> wrote:
> Am Dienstag, den 24.03.2009, 14:40 +0100 schrieb Sandro Tosi:
>> Additionally, I'm looking for a post-commit hook that can send the
>> commit diff via email to a ml + tagpending the bugs in the diff. I'm
>> pretty sure someone out there has this script ready yet, so let's
>> share :)
>
> If you have your Git repo on Alioth, everything needed is already
> available:
>
> $ git config --add hooks.mailinglist "{user@,list@lists.}debian.org"
> $ cat >hooks/post-receive <<END
> #!/bin/sh
> exec /usr/local/bin/git-commit-notice
> END
> $ chmod 0775 hooks/post-receive
Does it handle the tagpending also?
morph@alioth:~$ grep pending /usr/local/bin/git-commit-notice
morph@alioth:~$
Cheers,
--
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi
Reply to: