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

Re: [PATCH][RFC] Add git-archive-tree

From
Rene Scharfe <rene.scharfe@lsrfire.ath.cx>
Date
Sep 2, 2006, 13:10 UTC
Message-ID
<44F982BD.1050509@lsrfire.ath.cx>
In-Reply-To
<44F977C0.4060901@lsrfire.ath.cx>

The two patches I sent are what I have been able to come up with so far. The next step would be to add archive-neutral upload and download support.

Having thought a bit about it I propose to keep git-archive-tree for local operations, only. It can be called by the uploader just like git-tar-tree is now called by git-upload-tar. As Franck suggested, the uploader should allow the list of archive formats it supports to be restricted in a config file. The range of allowed compression levels should also be configurable.

Does it make sense to change the wire protocol to simply send the command line options one by one?

The interface could be something like this:
   git-download-archive <repo> <git-archive-tree options...>
   git-upload-archive <directory>
Or, if the big number of git command names is a concern:
   git-archive-remote --upload|--download ...
What do you all think?

I won't have time for any of this over the next few days, so Franck, go wild. ;-)

René
-- 
VGER BF report: U 0.499999
Previous: Rene ScharfeNext: Franck Bui-Huu
Message 3 of 17 in “[RFC] Add git-archive-tree”
  1. [RFC] Add git-archive-treeRene Scharfe, Sep 2, 2006
  2. Add support for tgz archive formatRene Scharfe, Sep 2, 2006
  3. Rene ScharfeSep 2, 2006
  4. Franck Bui-HuuSep 2, 2006
  5. Rene ScharfeSep 4, 2006
  6. Junio C HamanoSep 4, 2006
  7. Rene ScharfeSep 4, 2006
  8. Junio C HamanoSep 4, 2006
  9. Franck Bui-HuuSep 5, 2006
  10. Junio C HamanoSep 2, 2006
  11. Rene ScharfeSep 2, 2006
  12. Franck Bui-HuuSep 2, 2006
  13. Rene ScharfeSep 2, 2006
  14. Junio C HamanoSep 2, 2006
  15. Rene ScharfeSep 6, 2006
  16. Junio C HamanoSep 6, 2006
  17. Rene ScharfeSep 17, 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.