[Pkg-scicomp-devel] Migrating some repositories to Git
Rafael Laboissiere
rafael at debian.org
Fri May 1 12:49:17 UTC 2009
* Christophe Prud'homme <prudhomm at debian.org> [2009-05-01 14:18]:
> what is the procedure to move to git ?
I have developed my own script for doing that. I do not publish it because
it is very dirty... although, it works! :-)
> any reference about that ?
I based my script on what Russ Allbery wrote:
http://www.eyrie.org/~eagle/notes/debian/git.html
> it seems that an email is triggered and sent to pkg-scicomp-commits,
> is that right ?
Yes. For every "git push" the post-receive hook [1] is called for each
commit that is part of that push. This hook just calls a script [2]
modified by me that includes the whole commit diff in the body of the
message.
[1] alioth.debian.org:/srv/git.debian.org/git/pkg-scicomp/*.git/hooks/post-receive
[2] alioth.debian.org:/home/groups/pkg-scicomp/bin/git-commit-notice
There is also a nice feature: when the changes contain "closes: #nnnnnn",
then the notification is also sent to control at bugs.debian.org and
"tags nnnnnn pending" appears in the body of the message.
> I guess there are some rules/rationale that we should follow no ?
I wrote some advices in my previous message to pkg-scicomp-devel.
Otherwise, there is nothing special in using the Git repositories. The
workflow can be very similar to that sing SVN, as I already explained. I
do not use git-buildpackage, though.
--
Rafael
More information about the Pkg-scicomp-devel
mailing list