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

Re: [PATCH] gitweb: Support for custom per-project owner string

From
Jakub Narebski <jnareb@gmail.com>
Date
Sep 20, 2006, 19:01 UTC
Message-ID
<ees35e$4vh$1@sea.gmane.org>
In-Reply-To
<20060920154208.GN8259@pasky.or.cz>
Petr Baudis wrote:
Show 12 quoted lines
> Dear diary, on Wed, Sep 20, 2006 at 05:02:21PM CEST, I got a letter
> where Junio C Hamano <junkio@cox.net> said that...
>> Petr Baudis <pasky@suse.cz> writes:
>> 
>>> Also, ideally this would be in the configfile but calling repoconfig for
>>> each repository in the index would slow things down way too much.
>> 
>> Hmph.  I wonder why.  We do read description already from a file
>> so maybe we would want a faster way to access the config file to
>> grab gitweb.* variables in a single call?
> 
> Still, opening files is _much_ faster than executing a tool, I'd say.

Perhaps we should just parse $GIT_DIR/config ourself in gitweb (this is thing that I certainly would want to see in Git.pm). There are many modules which parse ini-like config files, but it shouldn't be that difficult to write parser which _reads_ and parses config file (without support for setting variables).

-- 
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git
Previous: Petr Baudis
Message 6 of 6 in “gitweb: Support for custom per-project owner string”
  1. gitweb: Support for custom per-project owner stringPetr Baudis, Sep 19, 2006
  2. Jakub NarebskiSep 19, 2006
  3. Petr BaudisSep 19, 2006
  4. Junio C HamanoSep 20, 2006
  5. Petr BaudisSep 20, 2006
  6. Jakub NarebskiSep 20, 2006

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.