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

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.
Previous: Jeremiah FosterNext: Antonio García Domínguez
Message 6 of 9 in “http-smart-backend: can clone, cannot push”
  1. Jeremiah FosterJun 1, 2010
  2. Tay Ray ChuanJun 1, 2010
  3. Jeremiah FosterJun 1, 2010
  4. Tay Ray ChuanJun 1, 2010
  5. Jeremiah FosterJun 1, 2010
  6. Shawn O. PearceJun 1, 2010
  7. Antonio García DomínguezJun 1, 2010
  8. Jeremiah FosterJun 2, 2010
  9. Erik Faye-LundJun 1, 2010

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.