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

Re: git archive should use vendor extension in pax header

From
Ffuz@fuz.su <fuz@fuz.su>
Date
Jan 28, 2016, 09:14 UTC
Message-ID
<20160128091418.GA6875@fuz.su>
In-Reply-To
<alpine.DEB.2.20.1601280906340.2964@virtualbox>
Hello,
Show 14 quoted lines
> > > Users can always go back to the original format.  At least I don't
> > > expect this new format becoming the default too quickly.
>
> This is the most crucial issue here, as far as I am concerned: there are
> already tons of .zip files out there that were created by git archive, and
> there will inevitably be loads of tons more *having the current pax header
> format*.
> 
> So tools wanting to deal with Git archives will have to handle those as
> well, i.e. do *precisely* as René suggested and use get-tar-commit-id. As
> such, the value of changing the format *now* is a bit like closing the
> barn's door after pretty much all of the horses left (except the old one
> that has a few troubles getting up in the morning but that is too nice to
> the kids to shoot).

That's not really an argument. The situation you describes applies to all file formats and it always ends in the same way: A new file format is designed and then slowly adopted by the rest of the users, in case of git I imagine this to be a quick process taking maybe a year or two. Newly created files use the new file format and old files still hang around but their importance is dwindling until you can safely support only the new format. But to get there, a new file format has to be adopted in the first place.

Show 6 quoted lines
> > Sure thing.  If this is going to be implemented, I would add options
> > to choose what / what style of metadata to include.
> 
> Why not put your money where your mouth is? I.e. get your head down into
> the code and come up with a patch (because otherwise it is unlikely that
> your idea will go anywhere)?

I'd love to but I prefer to ask if there is interest in such a change in the first place. I'm not going to waste my time implementing this and then being told that the git project is not interested in this kind of functionality. So can someone give me a clear signal?

> Ciao,
> Johannes

Yours sincerely, Robert Clausecker

-- 
()  ascii ribbon campaign - for an 8-bit clean world 
/\  - against html email  - against proprietary attachments
Previous: Johannes SchindelinNext: René Scharfe
Message 6 of 9 in “git archive should use vendor extension in pax header”
  1. fuz@fuz.suJan 24, 2016
  2. René ScharfeJan 26, 2016
  3. fuz@fuz.suJan 27, 2016
  4. fuz@fuz.suJan 27, 2016
  5. Johannes SchindelinJan 28, 2016
  6. fuz@fuz.suJan 28, 2016
  7. René ScharfeFeb 6, 2016
  8. fuz@fuz.suFeb 6, 2016
  9. René ScharfeFeb 15, 2016

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.