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

Re: Google Code: Support for Mercurial and Analysis of Git and Mercurial

From
James Cloos <cloos@jhcloos.com>
Date
Apr 26, 2009, 18:59 UTC
Message-ID
<m3mya3b5qw.fsf@lugabout.jhcloos.org>
In-Reply-To
<m363grq13i.fsf@localhost.localdomain>
>>>>> "Jakub" == Jakub Narebski <jnareb@gmail.com> writes:
Jakub> Perhaps it is time to restart work on _"smart" HTTP protocol_?

I had put together some ideas for how that could work, but didn’t post them because it looked like smarter http transport was fait accompli.

The general idea was to use an http server as a proxy for git-daemon. Sites running git-daemon could put up such a proxy which will only accept proxy attempts to their own daemon, and sites or users behind restrictive firewalls (or http proxies) could set up such a proxy which requires http-level authentication but then will proxy for any git-daemon.

IIRC, I intended to suggest the name post_proxy for the config files. One could add a post_proxy to a repo (for the former style) or in their global config (for the latter style). Either way, an http_proxy could still be used, if necessary, to access the post_proxy.

Any stream the client would send to a remote git-daemon would be encapsulted and sent via an HTTP POST to the post_proxy, which would use the git protocol to send it to the specified git-daemon. Any reply back from the git-daemon would be sent to the client as the reply to the POST.

The proxy can be readilly written as a CGI, as a mod_lang extension (for one’s favourite lang), as a standalone server, or as an extension to projects such as gitweb or cgit.

I never got past the rough design phase because, when I was preparing to post the idea, it looked like alternate code was already written....

Is there any interest in this?
-JimC
-- 
James Cloos <cloos@jhcloos.com>         OpenPGP: 1024D/ED7DAEA6
Previous: A Large Angry SCMNext: Johannes Schindelin
Message 21 of 26 in “Google Code: Support for Mercurial and Analysis of Git and Mercurial”
  1. Christian CouderApr 26, 2009
  2. Michael WittenApr 26, 2009
  3. Jakub NarebskiApr 26, 2009
  4. Paolo CiarrocchiApr 26, 2009
  5. Johannes SchindelinApr 26, 2009
  6. Jakub NarebskiApr 26, 2009
  7. Johannes SchindelinApr 26, 2009
  8. Alex BlewittApr 26, 2009
  9. Shawn O. PearceApr 27, 2009
  10. Paolo CiarrocchiApr 26, 2009
  11. Matthias AndreeApr 26, 2009
  12. Jakub NarebskiApr 26, 2009
  13. Matthias AndreeApr 26, 2009
  14. Jakub NarebskiApr 26, 2009
  15. A Large Angry SCMApr 26, 2009
  16. Michael WittenApr 26, 2009
  17. Johannes SchindelinApr 26, 2009
  18. A Large Angry SCMApr 26, 2009
  19. Johannes SchindelinApr 26, 2009
  20. A Large Angry SCMApr 26, 2009
  21. James CloosApr 26, 2009
  22. Johannes SchindelinApr 26, 2009
  23. Michael WittenApr 26, 2009
  24. Miles BaderApr 26, 2009
  25. Shawn O. PearceApr 27, 2009
  26. Mark LodatoApr 30, 2009

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.