Group multiples GIT repositories in gitosis

93 views Asked by At

How is possible to group multiple GIT repositories under some path in Gitosis? For example Qt5 in gitorious already has same structure ([email protected]:qt/qt5.git) where qt/ is path for grouping.

Is it possible to make following structure in gitosis ?

1) [email protected]:/project/repo1

2) [email protected]:/project/repo2

 [group repo1] 
  members = jdoe 
  writable = project/repo1

 [group repo2] 
  members = jdoe 
  writable = project/repo2
1

There are 1 answers

0
VonC On

To expand on my comment, I have seen access rules for multiple repos with gitolite, not gitosis, and wild repos (user created repos)

The wildrepos feature allows you to specify access control rules using regular expression patterns, so you can have many actual repos being served by a single set of rules in the config file.
The regex can also include the word CREATOR in it, allowing you to parametrise the name of the user creating the repo.