Re: gitweb : index.aux
- From
- Kay Sievers <kay.sievers@vrfy.org>
- Date
- Aug 29, 2005, 18:25 UTC
- Message-ID
- <20050829182534.GA16808@vrfy.org>
- In-Reply-To
- <20050829093500.54242.qmail@web53602.mail.yahoo.com>
On Mon, Aug 29, 2005 at 02:35:00AM -0700, Komal Shah wrote:
Show 5 quoted lines
> Kay, > > I am able to setup gitweb tree for my linux-omap tree internally, but > for this I am using $project_list equals to $projectroot. I want to add > more projects, but I don't know how write/generate index.aux file?
Yeah, this works only if all the trees are in one directory. The index file is a simple list with the pathes url encoded. (It is exported by a cron job running on kernel.org. We need it there cause the trees are in subdirs and the mirrored trees don't have the original ownership, that is displayed in gitweb.)
> Me don't know much about cgi-bin/perl :(
So let's do it in perl then. :) Just encode the pathes and put them into
the file (optionaly the owner comes after a space in the same line):
perl -e 'use CGI; print CGI::escape("/this/is/my/project") . "\n"'
%2Fthis%2Fis%2Fmy%2FprojectGood luck, Kay