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

Re: [SCRIPT] cg-rpush & locking

From
Daniel Barkalow <barkalow@iabervon.org>
Date
Jun 2, 2005, 19:12 UTC
Message-ID
<Pine.LNX.4.21.0506021452030.30848-100000@iabervon.org>
In-Reply-To
<Pine.LNX.4.58.0506020741480.1876@ppc970.osdl.org>
On Thu, 2 Jun 2005, Linus Torvalds wrote:
Show 6 quoted lines
> The real reason I'd prefer to not do locking is that _if_ the remote tree
> is actually more than just a CVS-like "public repository", ie if somebody
> actually does _development_ in the remote tree (hey, it may be crazy, but
> git makes this usage pattern possible), then we should eventually plan on
> having all of the regular "git-commit-script" and "git-pull-script" etc
> _also_ do locking, since they also change HEAD.

It might be okay to have a single tree to which is applied patches from emails sent by non-maintainers, pulls from non-maintainers with accessible repositories, and pushes from home repositories of maintainers. It makes sense to deal well with different ways to get refined commits into the public repository. Of course, you probably don't want to carry out merges there, so the cases where pull or commit loses the race are quite different; you want to throw it back to the author for rebasing.

	-Daniel
*This .sig left intentionally blank*
Previous: Tony LindgrenNext: Dan Holmsand
Message 12 of 13 in “[SCRIPT] cg-rpush & locking”
  1. Tony LindgrenMay 31, 2005
  2. Nicolas PitreMay 31, 2005
  3. Thomas GlanzmannJun 1, 2005
  4. Tony LindgrenJun 1, 2005
  5. Linus TorvaldsJun 2, 2005
  6. Daniel BarkalowJun 2, 2005
  7. Matthias UrlichsJun 2, 2005
  8. Tony LindgrenJun 2, 2005
  9. Matthias UrlichsJun 2, 2005
  10. Linus TorvaldsJun 2, 2005
  11. Tony LindgrenJun 2, 2005
  12. Daniel BarkalowJun 2, 2005
  13. Dan HolmsandJun 2, 2005

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.