Re: [PATCH] gitweb: Allow users to have their own project directories.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Mark Wooding wrote:

> 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.

Nice idea. Thanks.
-- 
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git


-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]