Looking at the readme:
|
overrides: |
|
common_cells: { path: "/var/magic/common_cells" } |
|
apb_uart: { git: "git@github.com:pulp-platform/apb_uart.git"} |
We show that we can only overwrite the git variable for a dependency with common_cells:
overrides:
common_cells: { path: "/var/magic/common_cells" }
apb_uart: { git: "git@github.com:pulp-platform/apb_uart.git"}
I was looking to use this for my use case, but after trying the following implementation (repo names, groups and servers have been redacted):
Bender.yml contents:
dependencies:
repo_1: { git: "git@git_server:group_1/repo_1.git", rev: "sha_1"}
repo_2: { git: "git@git_server:group_1/repo_2.git", rev: "sha_2"}
repo_3: { git: "git@git_server:group_1/repo_3.git", rev: "sha_3"}
Bender.local contents:
overrides:
repo_1: { git: "git@git_server:group_1/repo_1.git"}
repo_2: { git: "git@git_server:group_1/repo_2.git"}
repo_3: { git: "git@git_server:group_1/repo_3.git"}
When running the following command:
bender checkout
I'm given the following error:
Error: Invalid configuration: In override `repo_1`: Dependency `` with `git` must also specify `rev` or `version`.
Is it possible to update the readme to clarify this is not possible or to add this functionality to Bender?
Looking at the readme:
bender/README.md
Lines 423 to 425 in 52fe767
We show that we can only overwrite the git variable for a dependency with
common_cells:overrides: common_cells: { path: "/var/magic/common_cells" } apb_uart: { git: "git@github.com:pulp-platform/apb_uart.git"}I was looking to use this for my use case, but after trying the following implementation (repo names, groups and servers have been redacted):
Bender.ymlcontents:Bender.localcontents:When running the following command:
bender checkoutI'm given the following error:
Is it possible to update the readme to clarify this is not possible or to add this functionality to Bender?