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

Re: cannot fetch arm git tree

From
Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Date
Jan 21, 2011, 15:25 UTC
Message-ID
<20110121152544.GQ14956@pengutronix.de>
In-Reply-To
<20110121145025.GS13235@n2100.arm.linux.org.uk>
On Fri, Jan 21, 2011 at 02:50:26PM +0000, Russell King - ARM Linux wrote:
Show 30 quoted lines
> On Fri, Jan 21, 2011 at 03:28:14PM +0100, Detlef Vollmann wrote:
> > It seems to be an implementation of the git protocol using
> > HTTP as transport.
> > Some info on this is at <http://progit.org/2010/03/04/smart-http.html>.
> 
> Setting up Smart HTTP
> 
> ...
>    To set it up, it■s best to walk through the instructions on the
>    `git-http-backend` documentation page. Basically, you have to install Git
>    v1.6.6 or higher on a server with an Apache 2.x webserver (it has to be
>    Apache, currently - other CGI servers don■t work, last I checked). Then
>    you add something similar to this to your http.conf file:
> 
>  SetEnv GIT_PROJECT_ROOT /var/www/git
>  SetEnv GIT_HTTP_EXPORT_ALL
>  ScriptAlias /git/ /usr/libexec/git-core/git-http-backend/
> 
> Great.  Deciding that it will be http://servername.example.com/git/ is
> really damned annoying as that's traditionally where gitweb lives,
> which requires a different script alias.
> 
> It seems that due to a lack of coordination between different git
> developers, people running webservers have a choice between providing
> gitweb or this http extension.
> 
> I'm really not interested in working out how to bodge this into working
> along side the existing gitweb setup by adding lots of rewrite rules, so
> as gitweb got there first I think it has priority, that's what we have
> and we'll have to live without the smart http extensions.
IIRC it's designed to live along side the http:// clone url.
git-http-backend can still serve dumb http clients including a web
browser.
 
But note that as git-http-backend less info it has to calculate much
more.  So the load it introduces should be comparable to running
git-daemon as should be the times to fetch from it.  So AFAIK the only
reason to run it is that more corporate users can access port 80.

Best regards Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Previous: Detlef VollmannNext: Miles Bader
Message 11 of 15 in “Re: cannot fetch arm git tree”
  1. Uwe Kleine-KönigJan 16, 2011
  2. Russell King - ARM LinuxJan 16, 2011
  3. Jello huangJan 17, 2011
  4. Detlef VollmannJan 21, 2011
  5. Uwe Kleine-KönigJan 21, 2011
  6. Russell King - ARM LinuxJan 21, 2011
  7. Detlef VollmannJan 21, 2011
  8. Jello huangJan 21, 2011
  9. Russell King - ARM LinuxJan 21, 2011
  10. Detlef VollmannJan 21, 2011
  11. Uwe Kleine-KönigJan 21, 2011
  12. Miles BaderJan 24, 2011
  13. Johannes SixtJan 24, 2011
  14. J.H.Jan 24, 2011
  15. Russell King - ARM LinuxJan 24, 2011

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.