From: Jeff King <peff@peff.net>
To: Joshua Jensen <jjensen@workspacewhiz.com>
Cc: "Avery Pennarun" <apenwarr@gmail.com>,
"Shawn Pearce" <spearce@spearce.org>,
"Jon Seymour" <jon.seymour@gmail.com>,
"Ævar Arnfjörð Bjarmason" <avarab@gmail.com>,
"git@vger.kernel.org" <git@vger.kernel.org>
Subject: Re: Coping with the pull-before-you-push model
Date: Tue, 14 Sep 2010 01:24:51 -0400 [thread overview]
Message-ID: <20100914052451.GA15839@sigill.intra.peff.net> (raw)
In-Reply-To: <4C8EFE62.7080908@workspacewhiz.com>
On Mon, Sep 13, 2010 at 10:47:30PM -0600, Joshua Jensen wrote:
> >Bear in mind that you can still shift to a maintainer model, but keep
> >the maintainer automated. That is, you can queue up "to-pull" heads, and
> >then have an automated process pull them one by one and do some basic QA
> >(does it merge, does it build, does it pass automated tests, etc). Which
> >is not that different from what many shops do in the non-maintainer
> >model, except that when you break the build, the maintainer process
> >notices _before_ publishing the merged tip, so everybody won't try to
> >build on your broken crap.
> >
> Do you know of any existing software that does this? This may be
> ideal in the short term.
I think that Avery Pennarun's gitbuilder may do what you want:
http://github.com/apenwarr/gitbuilder/
but I've never used it.
I seem to recall from one of Shawn's presentations on Gerrit Code Review
that it does something like this, too, but I can't seem to find any docs
about it in my brief search:
http://code.google.com/p/gerrit/
It may be that Gerrit doesn't handle building itself, but that the
Android project is running something alongside it. Shawn may be able to
say more.
Basically, what we are talking about is continuous integration, with the
slight twist that instead of developers pushing commits to a mainline
branch which is built and tested, we would build and test their commits
and then merge them to the mainline branch.
Systems like Hudson that do continuous integration and support git may
handle a workflow like this, but I don't know (I've only ever used
Hudson in the everything-goes-to-svn-trunk model).
There is also a small continuous integration system that lives in the
contrib/continuous directory of git.git itself. It's quite old at this
point, but I wouldn't be surprised if its descendant is what Gerrit
uses.
-Peff
next prev parent reply other threads:[~2010-09-14 5:24 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-09 4:47 Coping with the pull-before-you-push model Joshua Jensen
2010-09-09 13:06 ` Ævar Arnfjörð Bjarmason
2010-09-09 14:43 ` Joshua Jensen
2010-09-10 5:35 ` Jon Seymour
2010-09-10 14:15 ` Jeff King
2010-09-14 4:47 ` Joshua Jensen
2010-09-14 5:24 ` Jeff King [this message]
2010-09-14 5:59 ` Avery Pennarun
2010-09-15 21:59 ` David Brown
2010-09-14 12:12 ` Theodore Tso
2010-09-14 15:51 ` Joshua Jensen
2010-09-14 16:24 ` Eugene Sajine
2010-09-14 16:49 ` Ted Ts'o
2010-09-14 4:37 ` Joshua Jensen
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=20100914052451.GA15839@sigill.intra.peff.net \
--to=peff@peff.net \
--cc=apenwarr@gmail.com \
--cc=avarab@gmail.com \
--cc=git@vger.kernel.org \
--cc=jjensen@workspacewhiz.com \
--cc=jon.seymour@gmail.com \
--cc=spearce@spearce.org \
/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).