We will allow changes to submodules in the VMR. Those will be done by the darc vmr reset-submodule. Each such change will also change the source-manifest.json to update the source+SHA of the submodule.
We need to add a step in the backflower to notice such a change and update the submodule pointer in the repo:
- When URL changes, update the
.gitmodules file
- When SHA changes, update the pointer in the git tree
We should test what happens in conflicting scenarios:
- Repo updates to one SHA
- VMR updates to another
Ideally git supports this as a conflict and we resolve it during darc vmr resolve-conflict.
We will allow changes to submodules in the VMR. Those will be done by the
darc vmr reset-submodule. Each such change will also change thesource-manifest.jsonto update the source+SHA of the submodule.We need to add a step in the backflower to notice such a change and update the submodule pointer in the repo:
.gitmodulesfileWe should test what happens in conflicting scenarios:
Ideally git supports this as a conflict and we resolve it during
darc vmr resolve-conflict.