Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-scm
Navigation:
Lists: gentoo-scm: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-scm@g.o
From: "Robin H. Johnson" <robbat2@g.o>
Subject: Re: Current status of cvs to git migrartion
Date: Mon, 26 Oct 2009 21:08:32 +0000
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
this:
====
if(pull is an update) then
	// allow
elseif(pull is an initial clone) then
	// deny, instruct to use the initial Git bundle, give URL.
end
====

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     : robbat2@g.o
GnuPG FP   : 11AC BA4F 4778 E3F6 E4ED  F38E B27B 944E 3488 4E85
Attachment:
pgplKJ821HLtQ.pgp (PGP signature)
References:
Current status of cvs to git migrartion
-- Alexey Shvetsov
Re: Current status of cvs to git migrartion
-- Robin H. Johnson
Re: Current status of cvs to git migrartion
-- Arun Raghavan
Navigation:
Lists: gentoo-scm: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: Current status of cvs to git migrartion
Next by thread:
Re: Current status of cvs to git migrartion
Previous by date:
Re: Current status of cvs to git migrartion
Next by date:
Re: Current status of cvs to git migrartion


Updated May 23, 2012

Summary: Archive of the gentoo-scm mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.