List Archive: gentoo-scm
Note: Due to technical difficulties, the Archives are currently not up to date.
provides an alternative service for most mailing lists.c.f. bug 424647
On Mon, Oct 26, 2009 at 02:24:40PM +0530, Arun Raghavan wrote:
> Spent a short while looking at this. As Robin pointed out, there's
> post-upload support in upstream git so basing this off that should be
> reasonably straightforward.
> I got a little lost with regards to exactly why we we're doing this,
> so will figure things out and get on this (hoping to get some time to
> attack this in the next 2 weeks).
The body of the pre-upload hook is basically going to function like
if(pull is an update) then
elseif(pull is an initial clone) then
// deny, instruct to use the initial Git bundle, give URL.
Because doing an initial clone:
- is not restartable (bundles via HTTP/rsync are)
- causes a lot of server load
- is not always optimally packed
- is a huge download.
We fully intend to deny initial full clones. Shallow clones we will
probably allow (they look different in the pre-upload stage).
Robin Hugh Johnson
Gentoo Linux: Developer, Trustee & Infrastructure Lead
E-Mail : firstname.lastname@example.org
GnuPG FP : 11AC BA4F 4778 E3F6 E4ED F38E B27B 944E 3488 4E85