Skip Menu |

This queue is for tickets about the Gitalist CPAN distribution.

Report information
The Basics
Id: 66469
Status: resolved
Priority: 0/
Queue: Gitalist

Owner: Nobody in particular
Requestors: jlmartinez [...]

Bug Information
Severity: Important
Broken in: 0.002009
Fixed in: (no value)

Subject: Cannot access different repos with same name in different subdirectories
Download (untitled) / with headers
text/plain 805b
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).
The requestor, jlmartin, kindly did the work so this can now be resolved. -- Cheers, Dan Brook

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to