git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Coping with the pull-before-you-push model

From
Avery Pennarun <apenwarr@gmail.com>
Date
Sep 14, 2010, 05:59 UTC
Message-ID
<AANLkTik_9q--ZkwXLFwWDWP5CM5jN1ynqtFgezuApp+A@mail.gmail.com>
In-Reply-To
<20100914052451.GA15839@sigill.intra.peff.net>
On Mon, Sep 13, 2010 at 10:24 PM, Jeff King <peff@peff.net> wrote:
Show 18 quoted lines
> 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.
gitbuilder doesn't do this.

However, it does let you automatically do user-defined things for each branch, and it stores the result for each one. So it would be a pretty short trip from there to auto-merging when a branch is ready.

Have fun,
Avery
Previous: Jeff KingNext: David Brown
Message 8 of 14 in “Coping with the pull-before-you-push model”
  1. Joshua JensenSep 9, 2010
  2. Ævar Arnfjörð BjarmasonSep 9, 2010
  3. Joshua JensenSep 9, 2010
  4. Jon SeymourSep 10, 2010
  5. Jeff KingSep 10, 2010
  6. Joshua JensenSep 14, 2010
  7. Jeff KingSep 14, 2010
  8. Avery PennarunSep 14, 2010
  9. David BrownSep 15, 2010
  10. Theodore TsoSep 14, 2010
  11. Joshua JensenSep 14, 2010
  12. Eugene SajineSep 14, 2010
  13. Ted Ts'oSep 14, 2010
  14. Joshua JensenSep 14, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.