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

Re: [PATCH] Documentation: mark `--object-format=sha256` as experimental

From
Junio C Hamano <gitster@pobox.com>
Date
Aug 7, 2020, 20:50 UTC
Message-ID
<xmqqr1sifaeu.fsf@gitster.c.googlers.com>
In-Reply-To
<CAN0heSptiJL9d86ZeNPMUaZeTA68juwTyf3K-uWR=K-vt=1Hrg@mail.gmail.com>
Martin Ågren <martin.agren@gmail.com> writes:
Show 19 quoted lines
>> I'm fine with marking the functionality experimental for a few releases,
>> since it is possible we have bugs people haven't found, and adding a
>> note about interoperability after that point, since I think that's a
>> fair and valuable issue.  I think if we go a few releases without any
>> major issues, we can change this to the following:
>>
>>   Note that a SHA-256 repository cannot yet share work with "regular"
>>   SHA-1 repositories.  Many tools do not yet understand SHA-256
>>   repositories, so users may wish to take this into account when
>>   creating new repositories.
>
> With respect, I think that's too aggressive. By that time, we may
> conclude that, e.g., the "v2 pack indices with SHA-256" file handling is
> robust. But I'd be surprised if using `git init --object-format=sha256`
> in June 2021 won't cause *some* extra work for users or ourselves
> further down the line compared to using a regular SHA-1 `git init`.
> Pushing to a SHA-1 hosting service will become *possible* at some point,
> but maybe it won't be *efficient enough to be practical in the real
> world* until some time after that.

IOW, you question "if we go a few releases without any major issues" part? I tend to agree that for a large change like this, a few releases may not be sufficiently long time for a feature that is marked as experimental in big flashing red letters to get exercised enough to get major issues noticed.

Show 6 quoted lines
> All those other, *new* file formats outlined in the hash
> transition document won't exist at that time (at least not in master).
>
> Now would probably be a good time to update the hash transition
> documents, first of all to tick off what we've already done, and second,
> to reassess the rest.

Yes, it is a good idea to stop and see where in the overall large picture we currently are.

Thanks.
Previous: Martin ÅgrenNext: Martin Ågren
Message 4 of 8 in “Documentation: mark `--object-format=sha256` as experimental”
  1. Documentation: mark `--object-format=sha256` as experimentalMartin Ågren, Aug 6, 2020
  2. brian m. carlsonAug 6, 2020
  3. Martin ÅgrenAug 7, 2020
  4. Junio C HamanoAug 7, 2020
  5. Martin ÅgrenAug 7, 2020
  6. Junio C HamanoAug 13, 2020
  7. brian m. carlsonAug 14, 2020
  8. Documentation: mark `--object-format=sha256` as experimentalMartin Ågren, Aug 16, 2020

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.