Grokbase
Topics Posts Groups | in
x
[ help ]

Re: git workflow (was Re: git?)

View PostFlat  Thread  Threaded | < Prev - Next >
A. Pagaltzis Re: git workflow (was Re: git?)
| +1 vote
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
* Nicholas Clark <nick@ccl4.org> [2008-11-15 17:30]:
> On Sat, Nov 15, 2008 at 02:45:32PM +0100, Aristotle Pagaltzis wrote:
> > Don’t see why not. Smokers can pull from multiple remotes
> > into a single mirror repo as easily as they can pull from a
> > single remote; no waste of bandwidth or jumbling of history.
> >
> > That’s what the D in DVCS is all about.
>
> Sure, and that strikes me as a recipe for chaos.
>
> We'll get a smoke report, and then we have to work out which
> merge of upstreams went into the source.

No no no. I said nothing about merging.

Fetching from multiple repos does nothing more than convert them
into branches in a single repo. In so doing, the histories from
all the separate repositories will conjoin into a single DAG that
precisely reflects who diverged from whom at what point, at no
extra effort, due to the content addressing design of git. In
other words, multiple repositories and branches are essentially
interchangeable in terms of reasoning about them. A smoker could
then be set up to smoke any number of branches, each separately,
and we would just have to decide which ones we want smoked.

There is no merging going on in any of this.

Distribution means never having to merge in an unsafe/unsane way.
The absolute most terrible aspect of Subversion is that `svn
update` will try to merge against your working copy (!!!!!!) and
leave you without any record of your pre-merge-attempt working
copy state. I can’t understand why that doesn’t make everyone’s
neck hairs stand up when it is suggested as a totally normal part
of the workflow.

I don’t know if Perforce behaves similarly, but if it does, well,
then I can see why you’d think that pulling from many repos would
entail merges. Suffice to say you can forget this; it is not the
case in DVCS. Merges in DVCS are always between two commits, and
git at least will insist on a clean working copy before it will
attempt a merge.

Anyway, I got sidetracked a bit, if necessarily so. The point is,
if multiple developers have multiple published repositories, this
won’t pose any technical problem to setting up smoke testing for
them all. The only question is, as it should be, social: how much
coordinational overhead is incurred and whether the smokemasters
care to take it on.

In the case of Perl 5 I don’t see a huge number of active
pumpkin branches happening, so it does not seem like it should
become a significant burden to set up a smoker to test them all,
and it seems like would in fact be very beneficial if we had
smokers scrutizing stuff like Schwern’s y2038 branch long before
it’s merged into any mainline branch.

Regards,
--
Aristotle Pagaltzis // <http://plasmasturm.org/>

Thread : git workflow (was Re: git?)
1)
David Golden More importantly, there are no instructions yet on what the "workflow" should be. Git supports...
2)
Nicholas Clark Fail: With this, there is no way to have people set up automated smokers on to. Smoking on things...
3)
David Golden Not necessarily Fail. Decentralized doesn't have to mean uncoordinated. The "master" Perl...
4)
Craig Berry It's on my to-do list. I got it close to working before 5.10.0, but there were always more pressing...
5)
A. Pagaltzis Don’t see why not. Smokers can pull from multiple remotes into a single mirror repo as easily as...
6)
Nicholas Clark Sure, and that strikes me as a recipe for chaos. We'll get a smoke report, and then we have to work...
7)
Jesse It would be rather neat to autosmoke anything that's sent to p5p as a pull-notice or a patch,...
8)
A. Pagaltzis No no no. I said nothing about merging. Fetching from multiple repos does nothing more than convert...
9)
demerphq 2008/11/16 Aristotle Pagaltzis <pagaltzis@gmx.de>: You said "smokers can PULL from multiple...
10)
A. Pagaltzis Yes, sorry. I find “fetch� kind of awkward when used in informal context, since “pull� is a...
11)
Craig Berry And there's more than one workflow. Before I commit back to the repository, I have to know how to...
12)
Tux If you have X11, the most user-friendly next step is 'git-gui' After the clone, you just...
13)
David Golden You're pushing the limits of my git-fu, but I think one way to handle this is to always work in...
14)
demerphq 2008/11/14 Craig A. Berry <craig.a.berry@gmail.com>: You can have multiple working directories. See...
15)
Craig Berry I understand that, but it doesn't mean I have to like it. It's a lot like trying to get a recipe...
16)
Chris Prather Craig, Yeah, it's a lot like approaching Perl for the first time by dropping into an advanced...
17)
demerphq 2008/11/15 Craig A. Berry <craig.a.berry@gmail.com>: Sorry, I didn't realize this question was...
18)
demerphq 2008/11/15 demerphq <demerphq@gmail.com>: I view this as the difference in learning that a...
19)
Leon Brocard 2008/11/15 Craig A. Berry <craig.a.berry@gmail.com>: I'm thinking of sections along the lines of:...
20)
David Golden -- David
21)
Rafael Garcia-Suarez 2008/11/16 L=E9on Brocard <acme@astray.com>: git log, gitk, gitgui... p So what would be the...
22)
A. Pagaltzis Please understand that this is because p5p has not picked a git workflow yet. Git lets you pick...
23)
Nicholas Clark Great. That makes the answer really easy: RIGHT NOW we go for exactly the same workflow as we're...
24)
A. Pagaltzis That is not going to *entirely* work because git is not the same as Perforce and the centralised...
25)
Nicholas Clark Ah OK Right. This makes sense. So to me, right now, the useful assistance I'd like would be to have...
26)
Tux Something else to consider in using hashes in .patch, is that not all smokers smoke at the same...
27)
David Golden As a starting point, I ported Yuval's "git for perforce users" to the perl5 wiki:...
28)
demerphq 2008/11/16 Nicholas Clark <nick@ccl4.org>: Afaik it is basically the same, except you dont have to...
29)
Chris Prather So based on questions asked on IRC, I whipped up the following and rand it past Sam Vilain (SamV...
30)
Rafael Garcia-Suarez 2008/11/14 David Golden <xdaveg@gmail.com>: Given the "polylithic" nature of the perl sources --...
spacer
View PostFlat  Thread  Threaded | < Prev - Next >