git repositories all moved
Xavier Oswald
x.oswald at free.fr
Fri Sep 12 13:36:31 UTC 2008
On 13:41 Fri 12 Sep , Mildred Ki'Lya wrote:
>
> Le Thu 11/09/2008 __ 13:26 Xavier Oswald __ __crit:
>
> > Great !!
> >
> > I was looking to http://git.debian.org/
> >
> > Why have we twice git for each repository like:
> > lisaac/libraries/examples.git
> > lisaac/libraries/examples/.git
OK.
> Yes, that's normal. One is a symbolic link to the other.
> it seems that only the .git directory is relevant. But I still wanted
> to keep the complete local copy because I didn't knew if removing it
> was safe.
> And I made the symbolic link to be consistant with other projects, and
> to avoid typing an extra '/' :)
>
> > > If you think you need another repository for your project, ask on
> > > the mailing list and one will be created for you. You can also
> > > create your own, but please follow the guidelines at:
> > > http://wiki.debian.org/Alioth/Git
> > >
> > > In particular, make sure that
> > > * before anything, run: umask 002
> > > * initialize your repository using: git --bare init --shared
> > > (you can run this command afterward in your repository if you
> > > forgot, this won't reinitialize the repository
> > > * create a text file in .git/description containing a short
> > > description of the repository
> > > * please: chmod a+x .git/hooks/post-update
> >
> > Yes, that's ok.
> > Have you set the lisaac-commits list for getting commits from all
> > git ?
>
> What do you mean by that ?
> Is there anything special to do ?
$ cd <project>.git
$ git config --add hooks.mailinglist "lisaac-commits at lists.alioth.debian.org"
$ cat >hooks/post-receive <<END
#!/bin/sh
exec /usr/local/bin/git-commit-notice
END
$ chmod 755 hooks/post-receive
Greetings,
--
,''`. Xavier Oswald <x.oswald at free.fr>
: :' : GNU/LINUX Debian Maintainer
`. `' GnuPG Key ID 0x88BBB51E
`- 938D D715 6915 8860 9679 4A0C A430 C6AA 88BB B51E
More information about the Lisaac-devel
mailing list