On Mon, Aug 29, 2005 at 02:35:00AM -0700, Komal Shah wrote:
> 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%2Fproject

Good luck,
Kay
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to