[PATCH] scan-user-path option, to scan for git repos in users' homedirs

Dan Callaghan dcallagh at redhat.com
Wed Jul 16 09:26:03 CEST 2014


(Sorry wrong button, I meant to reply to the list)

Excerpts from Ferry Huberts's message of 2014-07-16 17:22:34 +1000:
> One thing though: if I could place the ~user repos in a configurable 
> section then that would even be more awesome.
> 
> My servers (https://github.com/reposerf/reposerf) put the user repos 
> under a section called 'Developer Repositories' while non-user repos are 
> under other sections, like 'Release Repositories' etc.

That works already with this patch, just set section= before 
scan-user-path= in your cgitrc.

You can see it in action here:

https://git.beaker-project.org/cgit/

-- 
Dan Callaghan <dcallagh at redhat.com>
Software Engineer, Hosted & Shared Services
Red Hat, Inc.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://lists.zx2c4.com/pipermail/cgit/attachments/20140716/754fdcba/attachment.asc>


More information about the CGit mailing list