Re: [PATCH] gitweb: Allow users to have their own project directories.
Show 18 quoted lines
> The git-daemon understands `~USER/...' as referring to a project within
> USER's home directory. This change makes gitweb able to serve each
> user's personal projects without them all having to be linked into one
> place.
>
> If the gitweb_config.perl file defines $user_path then a username given
> in the `u' argument, or as a leading `/~USER/' string in the PATH_INFO,
> causes gitweb to look for projects in $homedir/$user_path (where
> $homedir is USER's home directory).
>
> Rather than expose all their projects, or the ones with an export file
> in them, a user can write a file listing the projects to be exported by
> gitweb. (Maybe this ought to force strict_export on, but it doesn't at
> the moment.)
>
> This patch leaves it as someone else's problem to actually work out
> which users have exported GIT repositories, and maybe compile them into
> a list.
--
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git