Re: http-smart-backend: can clone, cannot push
- From
Shawn O. Pearce <spearce@spearce.org>
- Date
- Jun 1, 2010, 15:58 UTC
- Message-ID
- <20100601155833.GT16470@spearce.org>
- In-Reply-To
- <3A4DAEA3-C7F4-4163-9ABA-37443BB025AB@pelagicore.com>
Jeremiah Foster <jeremiah.foster@pelagicore.com> wrote:
> Maybe I _have_ to be authenticated since the documentation states: > "If the client is authenticated, thereceive-pack service is enabled, > which serves git send-pack clients, which is invoked from git push."
Yes.
A flaw of the smart HTTP transport is the servers are nearly impossible to configure for anonymous clone and authenticated push via the same URL. The servers just can't seem to be configured to require authentication for the $GIT_DIR/info/refs?service=git-receive-pack request.
-- Shawn.