Gentoo Archives: gentoo-dev

From: Kent Fredric <kentfredric@×××××.com>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Portage Git migration - clean cut or git-cvsserver
Date: Thu, 24 May 2012 10:18:40
Message-Id: CAATnKFCx0P+0nTP1B6LC+LDektPxqRoUCsR9jAJZx9WfV080hQ@mail.gmail.com
In Reply to: Re: [gentoo-dev] Portage Git migration - clean cut or git-cvsserver by Michael Weber
1 On 24 May 2012 09:48, Michael Weber <xmw@g.o> wrote:
2 > -----BEGIN PGP SIGNED MESSAGE-----
3 > Hash: SHA256
4 >
5 > On 05/23/2012 11:14 PM, Dan Douglas wrote:
6 >> On Wednesday, May 23, 2012 04:47:04 PM Robin H. Johnson wrote:
7 >>> 2. rsync generation is NOT going away. Users will still be using
8 >>> it.
9 >
10 > First, I'd stick with the current rsync to spread the tree (mirror
11 > work and mirrors+regular rsync users shouldn't notice any backend
12 > switch at all).
13 >
14 >
15 >> Would users have a way of gaining read-only access? This would be
16 >> EXTREMELY helpful.
17 > Sure, this would be possible like any other git checkout
18 > (layman-git-overlays, github.com, etc.).
19 >
20 > Please compare (browsing source and access description)
21 > http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/
22 > http://git-exp.overlays.gentoo.org/gitweb/?p=exp/gentoo-x86.git
23 >
24 >
25 > - --
26 > Gentoo Dev
27 > http://xmw.de/
28 > -----BEGIN PGP SIGNATURE-----
29 > Version: GnuPG v2.0.17 (GNU/Linux)
30 > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
31 >
32 > iF4EAREIAAYFAk+9W0EACgkQknrdDGLu8JADaQD+KC6cLJ5LqpNrKkNEBT1kAvJW
33 > xn+ZcfcMGJzc8GPyQZAA/jKug+5/DlDAHVGBIjAJOi9xf4EFqroL4eyPY8SD2neh
34 > =dvFZ
35 > -----END PGP SIGNATURE-----
36 >
37
38
39 I think there should most definitely be an official github mirror of
40 the main tree, just a "read-only" mirror from githubs perspective.
41
42 Just how to best do the mirroring is the question
43
44 a) Replicate to github when a user does 'push' with a server-side push hook?
45 ( Downside: if github goes down, gentoo devs will see it when
46 they push, and pushing takes longer because the output from the
47 replicated push is delivered to the original dev )
48
49 b) Daemonized hook that monitors for changes in the master repo, and
50 replicates commits to github after each push
51
52 c) Tie it with the rsync tree building system so every time the tree
53 is built for rsync clients, the master is replicated to github.
54
55
56 Also, this should obviously be force-pushed, so any branch rebases on
57 the master repo are replicated to the github mirror properly.
58 --
59 Kent
60
61 perl -e  "print substr( \"edrgmaM  SPA NOcomil.ic\\@tfrken\", \$_ * 3,
62 3 ) for ( 9,8,0,7,1,6,5,4,3,2 );"
63
64 http://kent-fredric.fox.geek.nz

Replies

Subject Author
Re: [gentoo-dev] Portage Git migration - clean cut or git-cvsserver "Michał Górny" <mgorny@g.o>