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

Re: [RFC] GIT paths

From
HAH. Peter Anvin <hpa@zytor.com>
Date
Oct 25, 2005, 16:53 UTC
Message-ID
<435E62F2.6050400@zytor.com>
In-Reply-To
<435E259D.3040701@op5.se>
Andreas Ericsson wrote:
Show 12 quoted lines
>>
>>  - Over a git-daemon connection, supporting ~user expansion
>>    makes sense.  E.g git://host.xz/~junio/ refers to my home
>>    directory on that machine.  It would make it impossible to
>>    have a directory literally named '~junio' directly underneath
>>    the root directory, but that is a good limitation anyway.
>>
> 
> I like this idea, although I'd extend it with a Userdir-like config 
> option in git-daemon (like ~/public_html for apache). This makes it a 
> bit easier to see what's published and what isn't.
> 

I've found that whenever one does a network daemon which exports paths, sooner or later one wants namespace management. In Linux, of course, there are a lot more tricks one can play to actually create the namespace one wants in the filesystem (although it's complicated by needing to have an exec-worthy environment.)

It might be worth to consider creating a library to do this.
	-hpa
Previous: Andreas EricssonNext: Junio C Hamano
Message 3 of 5 in “[RFC] GIT paths”
  1. Junio C HamanoOct 24, 2005
  2. Andreas EricssonOct 25, 2005
  3. H. Peter AnvinOct 25, 2005
  4. Junio C HamanoOct 26, 2005
  5. Andreas EricssonOct 26, 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.