Repository navigation
Closed
Description
Originally reported on Google Code with ID 27
This is not a defect but a suggestion.
I know it is currently possible to group repositories by means of subfolders, but that
approach is not always optimal because it does not match very well with gitolite (which
AFAIK requires all repositories to be included in a single folder). One could overcome
this problem by making use of file system links, by recreating a tree directory structure
containing links to repos physically locate elsewhere, and having gitblit point to
the new tree directory structure instead of using the actual (flat) repository folder.
However this is inconvenient when a new repository is created, because the admin must
remember to create the new link as well.
This is why I believe it would be useful to be able to group repositories by name.
For example, a configuration property such as:
groupRegExp=aaaa\..* bbbb\.*
may be used to tell gitblit to group repositories in two groups, one consisting of
all repositories starting with "aaaa.", the other consisting of the repositories starting
with "bbbb." and gitblit may implicitly create an additional group "others" to group
repositories whose name does not match any of the declared groups.
When such an options is enabled, the web fronted should offer a main page where the
user sees only the list of groups as links, and then the user can click on a group
name to go to the index page which shows the list of all repositories included in such
group. Gitblit should also compute the repository size only on the second page and
this would speed up the time needed to access a repository.
An alternative approach could consist in being able to filter out repositories by means
of a url request. For example, the following URL http://gitblit/summary/?r= displays
the list of all repositories, and the following url http://gitblit/summary/?r=reponame
takes the user to the homepage of the specified repository. It would be useful to be
able to invoke an url such as http://gitblit/summary/?r=aaaa. to be taken to a page
that lists all repositories starting with "aaaa.".
Reported by gm.romanato on 2011-10-21 10:52:35
Activity
gitblit commentedon Aug 12, 2015
Reported by
James.Mogeron 2011-10-21 11:55:20gitblit commentedon Aug 12, 2015
Reported by
James.Mogeron 2011-10-22 13:03:59gitblit commentedon Aug 12, 2015
Reported by
James.Mogeron 2011-12-08 22:05:49Acceptedgitblit commentedon Aug 12, 2015
Reported by
James.Mogeron 2012-01-11 21:46:20Fixedgitblit commentedon Aug 12, 2015
Reported by
gm.romanatoon 2012-01-13 14:04:25