-
-
Notifications
You must be signed in to change notification settings - Fork 325
Description
Is your feature request related to a problem? Please describe.
At work I have to clone many repos for multiple organizations with different users hence my repo paths can be a bit messy. For dealing with that I use ghq to clone them in a single path that resembles something like below:
So setting repoPaths as the below does not work because my repos are nested inside many orgs:
repoPaths:
code/*: ~/code/*Describe the solution you'd like
I'd like for the repoPaths setting to be able to search for nested repos. Add an option to search n depth into my organization paths. I'm thinking or some configuration that could look like this:
# For depth 1 or current behavior
repoPaths:
code/*1: ~/code/*1
# For depth 2 or my desired behavior
repoPaths:
code/*2: ~/code/*2
# For depth n or my desired behavior
repoPaths:
code/*n: ~/code/*nDescribe alternatives you've considered
Set my repos under a single path or define multiple entries per organization. But this can get messy and verbose since I have multiple users and multiple orgs.
Additional context
Please let me know if there's another way to get this behavior on the current version. Maybe I missed something on the documentation.