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

Re: http-smart-backend: can clone, cannot push

From
Jeremiah Foster <jeremiah.foster@pelagicore.com>
Date
Jun 2, 2010, 15:16 UTC
Message-ID
<825A1E57-48AE-4BA5-AD5C-431DA8E959DA@pelagicore.com>
In-Reply-To
<20100601155833.GT16470@spearce.org>
On Jun 1, 2010, at 17:58, Shawn O. Pearce wrote:
Thanks Shawn, and everyone else who commented on this thread - I appreciate the help.
Show 12 quoted lines
> 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.
I created a system to authenticate and then I could push and pull with the same URL. Thanks again for the help and I'm going to try to write up a short blog post about using this because I think it is a really great way to share git repos.
Jeremiah
Previous: Antonio García DomínguezNext: Erik Faye-Lund
Message 8 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.