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

Re: Gitweb

From
Jakub Narebski <jnareb@gmail.com>
Date
Sep 12, 2008, 13:27 UTC
Message-ID
<m3r67po5ps.fsf@localhost.localdomain>
In-Reply-To
<19455112.post@talk.nabble.com>
delux <jared@2ndnaturestudio.com> writes:
Show 5 quoted lines
> I posted on another subject before and thanks to all who replied to
> that, Now I want to put gitweb on my server and have read everything
> to do it but cant seem to find the files. I know that it is supposed
> to be bundled with git but I am not the one who installed git, so is
> there anywhere I can get the gitweb files?

First, what operating system, and in the case of Linux what distribution do you use? For example both Fedora Core and Debian (so also all Debian-derived distributions like Ubuntu) have gitweb* package; so it should be very simple to install this.

Because installing CGI script (or legacy mod_perl script) differs from
distribution to distribution, therefore stock RPMS from kernel.org
doesn't create gitweb package.  So you would have to either download
source tarball, or clone git repository, read gitweb/INSTALL and then
run 
  $ make gitweb/gitweb.cgi <options>
or 
  $ make configure && ./configure && make gitweb/gitweb.cgi
and simply copy the files (there is no install target for gitweb) as
described, ensuring that web server is configured to run CGI scripts
(or mod_perl scripts).

You can see gitweb at work at http://git.debian.org, and modified gitweb at http://git.kernel.org and http://repo.or.cz.

-- 
Jakub Narebski
Poland
ShadeHawk on #git
Previous: delux
Message 2 of 2 in “Gitweb”
  1. deluxSep 12, 2008
  2. Jakub NarebskiSep 12, 2008

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.