Gentoo Archives: gentoo-scm

From: Zac Medico <zmedico@g.o>
To: gentoo-scm@l.g.o
Subject: Re: [gentoo-scm] Re: [gentoo-dev] Progress on cvs->git migration
Date: Wed, 24 Aug 2011 16:07:16
Message-Id: 4E55191A.4010109@gentoo.org
In Reply to: Re: [gentoo-scm] Re: [gentoo-dev] Progress on cvs->git migration by Nirbheek Chauhan
1 On 08/24/2011 01:02 AM, Nirbheek Chauhan wrote:
2 > On Wed, Aug 24, 2011 at 12:28 PM, Fabian Groffen <grobian@g.o> wrote:
3 >> On 24-08-2011 00:44:57 -0400, Matt Turner wrote:
4 >>> On Tue, Aug 23, 2011 at 10:30 PM, Donnie Berkholz <dberkholz@g.o> wrote:
5 >>>> On 15:49 Tue 23 Aug , Lance Albertson wrote:
6 >>>>> I think using the shortlog output is the sane solution otherwise you're
7 >>>>> just replicating what you do in the commit.
8 >>>>
9 >>>> It's not replication if users continue to use rsync; they won't have
10 >>>> commit info.
11 >>>
12 >>> Do we really want users to continue using rsync? Isn't git pull so
13 >>> much faster? What's the downside of users using git directly?
14 >>
15 >> ehm, that you need git? that you need to use git to get information
16 >> about changes? that you need a whole new infrastructure of mirrors to
17 >> get it running (vs the rsync infrastructure)? that you need at minimum
18 >> 800MiB to be able to look at some history, iso. 286MiB as the rsync tree
19 >> is now?
20 >>
21 >> Besides from that git doesn't even work on all platforms, but I can
22 >> imagine you don't care about that.
23 >>
24 >
25 > Actually, the major blocker as I understand it, is portage metadata
26 > cache regeneration.
27
28 If anybody needs some background information on this, the "[RFC] DIGESTS
29 metadata variable for cache validation" thread can serve as a useful
30 reference:
31
32
33 http://archives.gentoo.org/gentoo-dev/msg_cfa80e33ee5fa6f854120ddfb9b468b3.xml
34
35 Also, note that it's possible to use post-sync scripts to tweak mtimes
36 of files pulled with git:
37
38 https://bugs.gentoo.org/show_bug.cgi?id=355313
39
40 We've had support for git post-sync timestamp handling in emerge for
41 some time now:
42
43
44 http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=8e72dfe64208d0329a66d9d329d58ec458e79890
45 --
46 Thanks,
47 Zac