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

Re: git and "dumb protocols"

From
Daniel Barkalow <barkalow@iabervon.org>
Date
Nov 3, 2006, 23:27 UTC
Message-ID
<Pine.LNX.4.64.0611031803370.9789@iabervon.org>
In-Reply-To
<vpq4ptixdfj.fsf@ecrins.imag.fr>
On Thu, 2 Nov 2006, Matthieu Moy wrote:
Show 5 quoted lines
> I'll probably do, but my concern is broader than that. I like the
> ability to use almost any webhosting service for my revision control.
> GNU Arch was quite good at that, bzr is also (doesn't support webdav
> very well yet, but read-only-HTTP, sftp and ftp are there), so I'd
> like git to do the same.

You should be able to put together the repository you want hosted locally and use any webhosting service updating procedure to update what's hosted. AFAIK, git.kernel.org is a completely dumb mirror of master.kernel.org, working like that.

The main thing is that you want "objects" to be updated before "refs", and you don't want to do any git operations during the mirroring. But it's not even that important, so long as whenever you leave the mirror for a while, it matches some final state (with respect to git) of the master.

What you actually care about the git-native stuff for is preparing the master image, so that you don't have random cruft from your working repository, and then you just want it to mirror efficiently.

	-Daniel
Previous: Petr BaudisNext: Johannes Schindelin
Message 9 of 10 in “git and "dumb protocols"”
  1. Matthieu MoyNov 2, 2006
  2. Andy WhitcroftNov 2, 2006
  3. Petr BaudisNov 2, 2006
  4. Johannes SchindelinNov 2, 2006
  5. Petr BaudisNov 2, 2006
  6. Matthieu MoyNov 2, 2006
  7. Jakub NarebskiNov 2, 2006
  8. Petr BaudisNov 2, 2006
  9. Daniel BarkalowNov 3, 2006
  10. Johannes SchindelinNov 2, 2006

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.