Subject: | Cannot access different repos with same name in different subdirectories |
Hello,
Given the following directory structure in /var/lib/gitolite/repositories/
user1/project1.git/
user2/project1.git/
user3/project1.git/
starting the server with --repo_dir=/var/lib/gitolite/repositories/ (I
suppose the recursive repository finder is used).
Expected:
In gitalist index you would expect the three different repos to be
accesible and distinguishable.
Obtained:
All of them list as "project1.git" (they are not distinguishable). Only
the first repo is accessible via any of the three links.
The bug seems to be caused because gitalist is referencing repositories
with the "name" attribute of the "Git::Repository" objects.
Gitalist::Git::CollectionOfRepositories::FromDirectoryRecursive will
only select the first repo given a name (from method
_get_path_for_repository_name).