-
Notifications
You must be signed in to change notification settings - Fork 127
Open
Description
This feels like a weird question, but let me ask:
I have a repo with multiple granted configs, now I want to add these multiple configs in one request.
However, when running a granted registry sync
, granted fetches every config separately, which takes a few second per config.
Is there an option to add a profile with multiple granted.yml
s in 1 go, or is this working as intended
❯ granted registry sync
[i] From github.com:Granted-Registry/granted
[i] * branch HEAD -> FETCH_HEAD
[i] From github.com:Granted-Registry/granted
[i] * branch HEAD -> FETCH_HEAD
[i] From github.com:Granted-Registry/granted
[i] * branch HEAD -> FETCH_HEAD
[i] From github.com:Granted-Registry/granted
[i] * branch HEAD -> FETCH_HEAD
[i] From github.com:Granted-Registry/granted
[i] * branch HEAD -> FETCH_HEAD
[i] From github.com:Granted-Registry/granted
[i] * branch HEAD -> FETCH_HEAD
❯ granted registry ls
[i] Granted is currently synced with following registries:
1: [email protected]:Granted-Registry/granted.git with name 'Config1'
2: [email protected]:Granted-Registry/granted.git with name 'Config2'
3: [email protected]:Granted-Registry/granted.git with name 'Config3'
4: [email protected]:Granted-Registry/granted.git with name 'Config4'
5: [email protected]:Granted-Registry/granted.git with name 'Config5'
6: [email protected]:Granted-Registry/granted.git with name 'Config6'
I just want granted to sync the configs in the same repo with a single request
This is how i added the configs:
granted registry add -n Config1 -u [email protected]:Granted-Registry/granted.git -p Config1
granted registry add -n Config2 -u [email protected]:Granted-Registry/granted.git -p Config2
...
granted registry add -n Config6 -u [email protected]:Granted-Registry/granted.git -p Config6
Metadata
Metadata
Assignees
Labels
No labels