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.ymls 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: git@github.com:Granted-Registry/granted.git with name 'Config1'
2: git@github.com:Granted-Registry/granted.git with name 'Config2'
3: git@github.com:Granted-Registry/granted.git with name 'Config3'
4: git@github.com:Granted-Registry/granted.git with name 'Config4'
5: git@github.com:Granted-Registry/granted.git with name 'Config5'
6: git@github.com: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 git@github.com:Granted-Registry/granted.git -p Config1
granted registry add -n Config2 -u git@github.com:Granted-Registry/granted.git -p Config2
...
granted registry add -n Config6 -u git@github.com:Granted-Registry/granted.git -p Config6
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.ymls in 1 go, or is this working as intendedI just want granted to sync the configs in the same repo with a single request
This is how i added the configs: