Gentoo Archives: gentoo-dev

From: Thomas Sachau <tommy@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Git braindump: 2 of N: developer interaction (merge co-ordinators)
Date: Sun, 03 Jun 2012 12:12:18
Message-Id: 4FCB5411.5010102@gentoo.org
In Reply to: [gentoo-dev] Git braindump: 2 of N: developer interaction (merge co-ordinators) by "Robin H. Johnson"
1 Robin H. Johnson schrieb:
2 > Developer Interaction model with Git
3 > ------------------------------------
4 > Aka, why merge lieutenants or co-ordinators might be useful
5 >
6 > This is amongst the potential problems I see might pop up.
7 >
8 > We have two developers, let's call them Alice & Bob.
9 >
10 > Alice has a nice fast internet connection, 10Mbit upstream.
11 > Bob has a really sucky internet connection, 128Kbit upstream.
12 >
13 > Alice is doing this set of commands, as she has a fast connection:
14 > - (work on an ebuild)
15 > - repoman commit
16 > - git pull (implicit merge)
17 > - git push
18 >
19 > Bob is doing this, as he has a slow intermittent connection
20 > - (work on an ebuild)
21 > - repoman commit
22 > - loop the above many times
23 > - git pull (implicit merge)
24 > - fix conflicts as needed
25 > - git push
26 >
27 > If there are enough "Alice" developers, is it a possibility that Bob
28 > will never have a chance to get his commit in?
29 >
30 > All this requires, is that in the time it takes Bob to do 'git pull',
31 > Alice manages to do 'git push' again.
32 >
33 > Alice can thus deprive Bob of a fair chance to get his commit in.
34 > Bob becomes an unhappy developer and gives up.
35 >
36 > Is this a realistic problem you ask? As recently as one or two years
37 > ago, we still have developers on 56K or worse modems at home.
38
39 I have a slow upstream connection myself and still dont see any issues
40 with the workflow of alice from your example. It might be worse for a
41 56K modem like connection, but from my experience with sunrise (where we
42 already use git and use the workflow of Alice with our commit tool),
43 128kbit upstream with a faster downstream should be ok.
44 My guess would be, that this is more an issue for people, who do work on
45 the tree while being offline and who then have to resolve the conflicts,
46 when they get a connection again.
47
48 --
49
50 Thomas Sachau
51 Gentoo Linux Developer

Attachments

File name MIME type
signature.asc application/pgp-signature