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 19, 2006, 23:04 UTC
Message-ID
<eept0r$5d0$1@sea.gmane.org>
In-Reply-To
<20060919225522.GB13132@pasky.or.cz>
Petr Baudis wrote:
> This adds very simple support for per-project setting of the owner string
> (in an environment where the actual owners won't have access to the
> repositories accessed by gitweb, so faking identity is not an issue).

Is it really needed? If $projects_list is a _file_, you can set correct ownership information there.

Now $projects_list being a directory (usually $projectroot) support hierarchy of repositories; generating appropriate projects' index file is as easy as unsetting $projects_list (so it is by default set to $projectroot), going to summary view, clicking [TXT] link on the left of [OPML] link at the bottom, copy the result to projects' index file, correct ownership information (and perhaps remove some projects), and set $projects_list to this file.

-- 
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git
Previous: Petr BaudisNext: Petr Baudis
Message 2 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.