Gerrit can no longer view repos/projects that do not end in ".git". This used to work on an older version.

41 views
Skip to first unread message

James Dimitrov

unread,
Jul 16, 2016, 3:59:34 AM7/16/16
to Repo and Gerrit Discussion
Our previous developers had someone how integrated gerrit to use some existing repos which we had (created by Kallithea-SCM). There are hundreds of repos on the local filesystem. Unfortunately, Gerrit can only see the ones that end in ".git"

Repo.git -> visible
Repo2
Repo3
Repo4.git -> visible

We were originally running version 2.10.2 and all of the repos were visible, but when we upgraded to 2.12.3 this error started to occur. 

Does anyone know of a configuration setting that can be set to allow Gerrit to see all repos again? Is it possible that previous developers edited the source and built a custom build?

Any help would be appreciated. Thanks. 

Alex Blewitt

unread,
Jul 16, 2016, 4:50:11 AM7/16/16
to James Dimitrov, Repo and Gerrit Discussion
When you rename Repo2 to Repo2.git, what happens?

Alex

Sent from my iPhat 6
--
--
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en

---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

James Dimitrov

unread,
Jul 17, 2016, 12:35:10 AM7/17/16
to Repo and Gerrit Discussion
When I renamed the repo and appended .git, it appears in gerrit, but it disappears in Kallithea, making it inaccessible to our developers and build servers.

Gaurav Negi

unread,
Jul 17, 2016, 12:42:54 AM7/17/16
to James Dimitrov, Repo and Gerrit Discussion
Try a softlink

"ln -s Repo2 Repo.git" and then restart the Gerrit.

Repo2.git --->Repo2

--

James Dimitrov

unread,
Jul 18, 2016, 10:45:13 AM7/18/16
to Repo and Gerrit Discussion, jim...@gmail.com
 That works, but as I mentioned before there are about 400 repos, and new ones are added and removed daily. Adding symlinks to them every time would not be feasible. This all worked normally in 2.10.2 for some reason, and then after the upgrade things broke for us. I'd ultimately like to resolve it without major filesystem changes and additional maintenance. 

Edwin Kempin

unread,
Jul 18, 2016, 10:54:01 AM7/18/16
to James Dimitrov, Repo and Gerrit Discussion
On Mon, Jul 18, 2016 at 4:45 PM, James Dimitrov <jim...@gmail.com> wrote:
 That works, but as I mentioned before there are about 400 repos, and new ones are added and removed daily. Adding symlinks to them every time would not be feasible. This all worked normally in 2.10.2 for some reason, and then after the upgrade things broke for us. I'd ultimately like to resolve it without major filesystem changes and additional maintenance. 
I guess this change made it stop working for you:
Reply all
Reply to author
Forward
0 new messages