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

Re: [PATCH 0/3] git-daemon: plug new upload-tar command

From
FBFranck Bui-Huu <vagabon.xyz@gmail.com>
Date
Sep 2, 2006, 08:14 UTC
Message-ID
<cda58cb80609020114h1e1ee553saf5aa90df8bc3ba0@mail.gmail.com>
In-Reply-To
<44F72039.3040206@lsrfire.ath.cx>
Hi,
2006/8/31, Rene Scharfe <rene.scharfe@lsrfire.ath.cx>:
> Junio has similar code in the 'next' branch.  And he correctly pointed
duh, wasn't aware of it. :(
Show 5 quoted lines
> out that with the arrival of git-zip-tree the time has come to think
> about a format independent tree-to-archive converter command to avoid
> re-implementing essentially the same thing under the names of
> git-upload-zip, git-upload-rar etc.
>

That would make sense if you're going to implement any possible archive formats ;)

Show 10 quoted lines
> I'm trying for a few days now to find time for implementing a
> git-archive command, but I'm failing.  And I won't be able to do so
> before the weekend (at least).
>
> I propose to make the command line syntax more similar to the one of
> git-ls-tree (e.g. --prefix instead of optional second non-option
> parameter for base dir, support for path specs).  In a previous mail I
> also proposed to merge the upload command into git-archive, but now that
> I thought a bit about it it doesn't make sense to me anymore.
>

Maybe it's time for a "upload-archive" that would implement a common git archiver protocol used by all git-{zip,tar,..}-tree. And by that time move git-tar-tree protocol stuff into git-archive.

> So if you beat me to it, that would be great.  Or if you have a better
> idea, that would be also great. :-)
>

Well I'll try to start something, not sure to have a lot of time though. Please contact me before starting anything, I would be sad to write something for /dev/null again ;)

One point would make git-tar-tree able to compress data and git-daemon would refuse any requests for a non compressed archive format.

-- 
               Franck

-- 
VGER BF report: U 0.499999
Previous: Rene ScharfeNext: Junio C Hamano
Message 8 of 11 in “git-daemon: plug new upload-tar command”
  1. 0/3 git-daemon: plug new upload-tar commandFranck Bui-Huu, Aug 31, 2006
  2. 1/3 daemon.c: introduce daemon's serviceFranck Bui-Huu, Aug 31, 2006
  3. Franck Bui-HuuAug 31, 2006
  4. 1/3 daemon.c: introduce daemon's service [take #2]Franck Bui-Huu, Aug 31, 2006
  5. 2/3 daemon.c: added upload-tar serviceFranck Bui-Huu, Aug 31, 2006
  6. 3/3 git-tar-tree.c: no need to be in a git repo when using --remoteFranck Bui-Huu, Aug 31, 2006
  7. Rene ScharfeAug 31, 2006
  8. Franck Bui-HuuSep 2, 2006
  9. Junio C HamanoSep 2, 2006
  10. Jakub NarebskiSep 2, 2006
  11. Franck Bui-HuuSep 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.