From: tom fogal <tfogal@sci.utah.edu>
To: git@vger.kernel.org
Cc: jfonseca@vmware.com
Subject: Re: [Mesa3d-dev] mesa_7_7_branch -> master merges
Date: Mon, 25 Jan 2010 12:14:33 -0700 [thread overview]
Message-ID: <auto-000021766326@sci.utah.edu> (raw)
This bounced, it seems because Jose's [1] name is not representable in
8bit ASCII (some header wasn't, at least).
I'm not cc'ing Mesa to avoid spamming everyone. I'm not sure
non-subscribers can post there anyway. Jose or myself will forward
along any relevant discussion...
[1] sorry for misspelling it there..
------- Forwarded Message
From: tom fogal <tfogal@alumni.unh.edu>
To: José Fonseca <jfonseca@vmware.com>
cc: mesa3d-dev <mesa3d-dev@lists.sourceforge.net>, git@vger.kernel.org
Subject: Re: [Mesa3d-dev] mesa_7_7_branch -> master merges
In-Reply-To: Your message of "Mon, 25 Jan 2010 18:14:24 GMT."
<1264443264.3029.255.camel@jfonseca-laptop>
References: <1264424650.3029.155.camel@jfonseca-laptop> <auto-000021765525@sci.utah.edu> <1264443264.3029.255.camel@jfonseca-laptop>
Date: Mon, 25 Jan 2010 12:04:00 -0700
I think we've touched on a core git workflow issue here, and its likely
others have hit this && have a solution, so I've added the git ML to
the CC list.
Git: the situation in this repo is a fast-moving master that is
including many changes to internal interfaces. Stable branches just
get bugfixes, and are periodically merged to master. However, the more
the heads diverge, the more difficult it is for a bugfix to merge into
the head. The major issue is that more experienced developers should
really weigh in on these merges, because they tend to automagically
undo some of the interface changes. Yet during such a delay, master
inevitably moves, and the bugfixer has to do even more work to "redo"
the merge (and potentially get more review!).
Of course, if there are two bugfixers trying to make separate changes
in the same time period, this gets worse.
Is there a workflow that can solve this issue?
writes:
> On Mon, 2010-01-25 at 09:52 -0800, tom fogal wrote:
> > writes:
> > [snip]
> > > The ideal would be to peer-review the merges before committing,
> > > but it seems difficult to do that with git, while preserving merge
> > > history and not redoing merges.
> >
> > Google has developed an infrastructure to do peer review using git.
> > `Gerrit':
[snip]
> Review infrastructures are nice. I'd have some bias towards
> http://www.reviewboard.org/ by the similar reasons ;)
Heh, yeah I can understand the bias ;)
Personally, I'm not keen on a review tool I can't use from the command
line, or at least not-the-web. Then again, my reviews wouldn't really
be important in Mesa, so my opinion is irrelevant here ;)
> But automated infrastructures aside, my worry with reviewing merges is
> the actual constraints that git has. For example, let's suppose the
> following scenario:
>
> 1) Developer A merges a stable branch into master.
> 2) After spending a bunch of time fixing conflicts the best he can, he
> emails the patch to mesa3d-dev for peer review.
> 3) Developer B checks in a change into master.
> 4) Developer A takes feedback from list, updates the code, and commits.
> 5) Developer A cannot push because remote head has moved.
>
> So what can Developer A do now?
>
> a) Redo the merge, using the new master head.
> b) Rebase the merge on top of the new head (I'm not sure it works, or
> that it preserves branch history)
> c) Double merge, i.e., merge its local head with the new master head.
Hrm, I was thinking of some sort of staging branch, but I can't think
of a good way to make it work. The crux of the issue seems to be that
a developer needs to somehow give a version control promise that they
will do the merge, even if the merge isn't done yet, because otherwise
anyone else coming afterwards will duplicate the work (potentially
incorrectly). That would mean some kind of lock though, which sounds
like a terrible idea...
- -tom
------- End of Forwarded Message
next reply other threads:[~2010-01-25 19:41 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-25 19:14 tom fogal [this message]
[not found] <1264424650.3029.155.camel@jfonseca-laptop>
[not found] ` <auto-000021765525@sci.utah.edu>
[not found] ` <1264443264.3029.255.camel@jfonseca-laptop>
2010-01-25 19:04 ` mesa_7_7_branch -> master merges tom fogal
2010-01-26 10:59 ` [Mesa3d-dev] " Keith Whitwell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=auto-000021766326@sci.utah.edu \
--to=tfogal@sci.utah.edu \
--cc=git@vger.kernel.org \
--cc=jfonseca@vmware.com \
--cc=tfogal@alumni.unh.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).