Gentoo Archives: gentoo-scm

From: Arun Raghavan <ford_prefect@g.o>
To: gentoo-scm@l.g.o
Subject: Re: [gentoo-scm] Status
Date: Fri, 02 Jul 2010 17:31:30
Message-Id: AANLkTimBD7LgZJ0Wm2WS-1mfTfM3YJrT66ol6EG588Yw@mail.gmail.com
In Reply to: Re: [gentoo-scm] Status by Arun Raghavan
1 On 4 April 2010 11:56, Arun Raghavan <ford_prefect@g.o> wrote:
2 [...]
3 > I wrote up a set of patches, but it needs some changes. The relevant
4 > part of the discussion is here:
5 > http://lists.zerezo.com/git/msg711059.html
6 >
7 > To summarise, the patches I submitted need to add a command-line
8 > argument to upload-pack that provides a pre-/post-upload hook (instead
9 > of picking them up from the standard .git/hooks), and use that from
10 > Gitosis. Adding the argument should be quite simple, but I haven't
11 > been able to get the time to set up Gitosis locally to actually test
12 > such a patch.
13
14 I spoke about how we would go about doing this with upstream at. The
15 IRC logs are at:
16
17 http://dev.gentoo.org/~ford_prefect/git-hooks-discussion-log.txt -
18 grep for Ford_Prefect, Ilari and sitaram for the relevant bits.
19
20 At the end of this discussion, it appears that adding a command line
21 parameter to upload-pack and passing this from git-shell (which is
22 invoked by gitolite) is the way to go. Still needs some analysis to
23 make sure we aren't opening up a vulnerability.
24
25 I've not had time to put this together, and don't see myself getting
26 the time for another month and a half, so if someone wants to take
27 this up, please feel free to do so. I'd be happy to clarify what I can
28 on IRC or right here.
29
30 Cheers,
31 --
32 Arun Raghavan
33 http://arunraghavan.net/
34 (Ford_Prefect | Gentoo) & (arunsr | GNOME)