On 2021-05-10 at 12:22:00, Ævar Arnfjörð Bjarmason wrote: > > On Sun, May 09 2021, brian m. carlson wrote: > > You can't do that. SHA-256 repositories already exist and that would > > break compatibility. > > From memory this is at least the second time you've brought up this > point on-list. > > My feeling is that almost nobody's using sha256 currently, and we have a > very prominent ALL CAPS warning saying the format is experimental and > may change, see ff233d8dda1 (Documentation: mark > `--object-format=sha256` as experimental, 2020-08-16). Yes, I agreed to such text because others thought it was a good idea in case we needed to make a change. However, we don't need to make an incompatible change here, so we should avoid that if possible. Almost nobody is using it because the main forges don't yet support it, because it's going to be just as much work to support it there as it has been in Git. We won't be making it easier by making deliberately incompatible changes when we don't have to. > I agree with the docs as they stand, and don't think we should hold back > on changing the object format for sha256 in general if there's a > compelling reason to do so. I am using it and I know of other people who are using it. There are people whose companies cannot use SHA-1 for compliance reasons and are already making use of it. The problem here is a chicken and egg: nobody's going to use SHA-256 support if it's experimental and their entire repo might end up totally useless, and it's not going to become stable if nobody uses it. > But it seems to me that if the main person pushing the sha256 effort > disagrees with the content of > Documentation/object-format-disclaimer.txt, we'd be better off at this > point discussing a patch to change the wording there to something to the > effect that we consider the format set in stone at this point. I've been pretty clear up front that I thought the data was stable and we should avoid making incompatible changes. It may be that it is still experimental and may change incompatibly, but if we can avoid that problem, we should. I don't personally intend to send a patch removing the note about it being experimental until I've finished getting object interop done, since that's the major issue where we might need to make an incompatible change, but that work is moving slowly. -- brian m. carlson (he/him or they/them) Houston, Texas, US
Attachment:
signature.asc
Description: PGP signature