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

Re: git and "dumb protocols"

From
Matthieu Moy <matthieu.moy@imag.fr>
Date
Nov 2, 2006, 12:04 UTC
Message-ID
<vpq4ptixdfj.fsf@ecrins.imag.fr>
In-Reply-To
<20061102104848.GH20017@pasky.or.cz>
Petr Baudis <pasky@suse.cz> writes:
>   yes, you can push using HTTP DAV - just push to an HTTP URL; make sure
> you have git-http-push compiled, it is sometimes not compiled because it
> unfortunately adds dependencies on couple of more libraries.

That's great. I don't need this right now, but having worked behind a firewall + proxy, I know how appreciable it is to push with DAV ;-).

Show 5 quoted lines
>   I think a patch that would add support for pushing over sftp or some
> other dumb protocol would be welcome. One problem is with proper locking
> of ref updates (not sure how well would sftp cope with that), another is
> that you will need to do git-update-server-info's job on the server
> side.

It should be possible (but not implemented AAUI) also to generate the additional info of git-update-server-info on the client, isn't it?

>   If you already have SSH access to the server, why not compile Git
> there and install it to your $HOME, though?

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.

And yes, there are tons of reasons not to install git on the server. In particular, the fact that I'm not root there, and too lazy to do more than "aptitude install git" with pleasure ;-).

Previous: Petr BaudisNext: Jakub Narebski
Message 6 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.