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

Re: [RFD] Gitweb: Source configuration from file separate from the CGI script

From
Jakub Narebski <jnareb@gmail.com>
Date
Mar 22, 2011, 21:50 UTC
Message-ID
<m339mex299.fsf@localhost.localdomain>
In-Reply-To
<loom.20110322T165315-910@post.gmane.org>
Matt Ryan <matt@devaldez.com> writes:
Show 6 quoted lines
> Hey, I don't mean to contribute to the confusion. 
> But, after adding a gitweb_config.perl in the 
> same directory as the cgi I haven't seen all the 
> changes take place. I tried something simple to start like so:
> 
> $feature{'blame'}{'override'} = [1];

This doesn't turn on 'blame' feature, but only allows override with per-repository gitweb.blame repository configuration variable.

You probably wanted to use 'default', not 'override' here.
> $feature{'forks'}{'default'} = [1];

As you can read in comments, this is about very specific layout of repositories, namely that forks of 'path/to/repo.git' are all somewhere below 'path/to/repo' directory.

If you don't have forks organized in such way, you wouldn't see changes from this feature.

> $feature{'avatar'}{'default'} = ['gravatar'];

This requires that email addresses of authors, committers and taggers have gravatar entry. This means that you have to create "account" on http://www.gravatar.com).

> 
> Gravtar is now working, but I haven't seen 
> the blame or forks added. Any help would be appreciated, 
> thanks!
Hope that helps.
-- 
Jakub Narebski
Poland
ShadeHawk on #git
Previous: Matt RyanNext: Jakub Narebski
Message 6 of 12 in “[RFD] Gitweb: Source configuration from file separate from the CGI script”
  1. Drew NorthupMar 16, 2011
  2. Jonathan NiederMar 16, 2011
  3. Drew NorthupMar 16, 2011
  4. Jakub NarebskiMar 17, 2011
  5. Matt RyanMar 22, 2011
  6. Jakub NarebskiMar 22, 2011
  7. Jakub NarebskiMar 17, 2011
  8. Drew NorthupMar 18, 2011
  9. Todd ZullingerMar 18, 2011
  10. Drew NorthupMar 18, 2011
  11. Todd ZullingerMar 18, 2011
  12. Jonathan NiederMar 18, 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.