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

Re: Unresolved issues #3

From
Junio C Hamano <junkio@cox.net>
Date
Aug 20, 2006, 22:17 UTC
Message-ID
<7vy7tjxdas.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<1155923876.10054.205.camel@cashmere.sps.mot.com>
Jon Loeliger <jdl@freescale.com> writes:
Show 7 quoted lines
> I have another:
>
> git-daemon virtualization so that consistent HTTP and
> native git protocols can appear to use consistent URLs
> even in the face of HTTP configurations aliasing them
> to somewhere else on the filesystem and for multiple
> virtually hosted domain names.
Good point.
Here are a handful others I have about git-daemon:
 * Possibly add --strict-symlink option we discussed a long time
   ago that prevents symbolic links inside the named whitelisted
   directory hierarchies to step outside.
   Nobody actually jumped up-and-down asking for it since we
   initially discussed this, so we may not need it after all.
 * The whitelist directories need to be specified with full path
   even when --base-path is used, which somewhat felt wrong.  I
   do not have strong feeling about this anymore, though.
 * Extend $GIT_DIR/git-daemon-export-ok mechanism and have it
   read from $GIT_DIR/config.
 * Also extend the same in a way similar to the discussion we
   had between Aneesh, me and Jakub to control 'blame' and
   'snapshot' in gitweb.  I.e. allow the site-wide configuration
   to specify which services are enabled by default and which
   services can be overridden per repository, and allow per
   repository configuration to specify what's enabled and what's
   not.
 * Add git-upload-tar as a potential program that can be
   executed from git-daemon.

If we are to do the last three items, my thinking is to do something like this:

  * The config file can have:
       daemon.upload-pack = yes | no
       daemon.upload-tar = yes | no
      to enable or disable the services individually.
  * $GIT_DIR/git-daemon-export-ok is kept as a backward
    compatibility measure; it means upload-pack is enabled.
If we were to allow git-upload-tar from git-daemon:
 * Fix protocol exchange between git-upload-tar and git-tar-tree
   so that the downloader can name the <tree-ish> symbolically
   like this:
	git tar-tree --remote=git://git.kernel.org/pub/scm/git/git next
   Currently the downloader has to get the value of "next" at
   the remote server out-of-band and give an explicit object
   name.
Previous: Jon LoeligerNext: Junio C Hamano
Message 20 of 30 in “Unresolved issues #3”
  1. Junio C HamanoAug 18, 2006
  2. A Large Angry SCMAug 18, 2006
  3. Nicolas PitreAug 18, 2006
  4. A Large Angry SCMAug 18, 2006
  5. Nicolas PitreAug 18, 2006
  6. A Large Angry SCMAug 19, 2006
  7. Nicolas PitreAug 20, 2006
  8. Junio C HamanoAug 20, 2006
  9. A Large Angry SCMAug 21, 2006
  10. Jeff KingAug 18, 2006
  11. Catalin MarinasAug 18, 2006
  12. Junio C HamanoAug 18, 2006
  13. Catalin MarinasAug 18, 2006
  14. Jakub NarebskiAug 18, 2006
  15. Aneesh Kumar K.VAug 18, 2006
  16. Jakub NarebskiAug 18, 2006
  17. Aneesh Kumar K.VAug 18, 2006
  18. Jakub NarebskiAug 18, 2006
  19. Jon LoeligerAug 18, 2006
  20. Junio C HamanoAug 20, 2006
  21. daemon: prepare for multiple services.Junio C Hamano, Aug 21, 2006
  22. daemon: add upload-tar service.Junio C Hamano, Aug 21, 2006
  23. Martin LanghoffAug 23, 2006
  24. Jakub NarebskiAug 25, 2006
  25. Unresolved issues #4Junio C Hamano, Oct 6, 2006
  26. Jakub NarebskiOct 6, 2006
  27. Shawn PearceOct 6, 2006
  28. Jon LoeligerOct 6, 2006
  29. Shawn PearceOct 6, 2006
  30. A Large Angry SCMOct 6, 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.