Skip to content

Support backflows of submodule changes #6442

Description

@premun

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions