threads / discuss / 1687

gitweb : index.aux

Subject: gitweb : index.aux

## tl;dr

3 messages between Aug 29, 2005 and Aug 29, 2005.

replies: 2people: 3as markdown or json

Komal Shah· Aug 29, 2005, 09:35 UTC · lore
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?

Me don't know much about cgi-bin/perl :(

---Komal Shah http://komalshah.blogspot.com/

		
____________________________________________________
Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 
 
Mariano Videla· Aug 29, 2005, 16:44 UTC · re: Komal Shah · lore

Re: gitweb : index.aux

Here is an example:
On lun, 2005-08-29 at 02:35 -0700, Komal Shah wrote:
Show 21 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?
> 
> Me don't know much about cgi-bin/perl :(
> 
> ---Komal Shah
> http://komalshah.blogspot.com/
> 
> 
> 		
> ____________________________________________________
> Start your day with Yahoo! - make it your home page 
> http://www.yahoo.com/r/hs 
> 
> -
> To unsubscribe from this list: send the line "unsubscribe git" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

merlin6 Mariano+Videla cpp Mariano+Videla fixedClient Mariano+Videla gipy Mariano+Videla

Kay Sievers· Aug 29, 2005, 18:25 UTC · re: Komal Shah · lore

Re: gitweb : index.aux

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%2Fproject

Good luck, Kay

← back to recent threads