Re: [PATCH] gitweb: Support for custom per-project owner string
- From
Petr Baudis <pasky@suse.cz>
- Date
- Sep 19, 2006, 23:09 UTC
- Message-ID
- <20060919230925.GG8259@pasky.or.cz>
- In-Reply-To
- <eept0r$5d0$1@sea.gmane.org>
Dear diary, on Wed, Sep 20, 2006 at 01:04:50AM CEST, I got a letter where Jakub Narebski <jnareb@gmail.com> said that...
Show 16 quoted lines
> 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.
Which is not really easy at all. I would have to do some ugly script to autogenerate the text file while this way I can just throw the data to the hierarchy and having everything still working magically.
-- Petr "Pasky" Baudis Stuff: http://pasky.or.cz/ Snow falling on Perl. White noise covering line noise. Hides all the bugs too. -- J. Putnam