Re: [PATCH v2] t5551: mark half-auth no-op fetch test as v0-only
- From
Jeff King <peff@peff.net>
- Date
- Mar 23, 2019, 07:05 UTC
- Message-ID
- <20190323070548.GA24065@sigill.intra.peff.net>
- In-Reply-To
- <20190322190139.151189-1-jonathantanmy@google.com>
On Fri, Mar 22, 2019 at 12:01:39PM -0700, Jonathan Tan wrote:
Show 11 quoted lines
> When using protocol v0, upload-pack over HTTP permits a "half-auth" > configuration in which, at the web server layer, the info/refs path is > not protected by authentication but the git-upload-pack path is, so that > a user can perform fetches that do not download any objects without > authentication, but still needs authentication to download objects. > > But protocol v2 does not support this, because both ref and pack are > obtained from the git-upload-pack path. > > Mark the test verifying this behavior as protocol v0-only, with a > description of what needs to be done to make v2 support this.
Thanks, this looks like a fine solution to me.
I do not really expect anyone will ever get around to this NEEDSWORK, but we can see. :)
-Peff