My favorites | Sign in
Project Home Downloads Wiki Issues Source
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 2223: Exclude a git repository under basePath
3 people starred this issue and may be notified of changes. Back to list
Status:  New
Owner:  ----


Sign in to add a comment
 
Reported by Ning.N.J...@gmail.com, Oct 30, 2013
Gerrit will automatically scan all git project under basePath which is quite an amazing feature. But we cannot exclude some git repositories from the search point basePath. I'd like to keep all my git repositories under basePath meanwhile only export some of them to Gerrit. In this way I can clearly separate the git trees used for development and the git trees used for mirror.
Oct 31, 2013
#1 Ning.N.J...@gmail.com
Something like .gitignore for GIT.
Nov 7, 2013
#2 Ning.N.J...@gmail.com
It also make senses when we want to make symbolic link to a git project from a different location, or else there will appear two entries in the Project List page.
Nov 25, 2013
#3 Ning.N.J...@gmail.com
I roughly go through the gerrit source code, it can be added in scanProjects(). We can add another check isExcludedName(), pretty much like isUnreasonableName(). If a project appears in the Exclude Name list, we do not track it under Gerrit.

Could you please consider to add this feature in next release cycle?
Jul 2, 2015
#4 rokhkin....@gmail.com
Good feature, and simple strange that since 2013 was not implemented
Sign in to add a comment

Powered by Google Project Hosting