Closed sbesson closed 5 years ago
The change looks quite straight-forward and sensible. Would you consider deprecating the old merge-based usage?
Interesting thought, I think the trade-offs are:
scc merge <merge options> && scc push <push options>
Overall, I see us moving towards a recommendation of the first workflow, maybe a deprecation but I haven't assessed the impact e.g. internally.
Understood. We can re-evaluate that once we've gained more experience.
The introduction of logic to couple components within super-builds (see https://github.com/ome/build-infra) has challenged the initial logic introduced in this repository where a single command was merging PRs, updating submodules and pushing to integration branches.
This PR introduces a standalone command allowing to push the state of a repository recursively to a remote branch. With it included, https://github.com/ome/build-infra/blob/1fff0fb33b55c69411e5fcaec472d4f0b635d122/recursive-merge#L43 and beyond could be more simply rewritten as:
With the
scc push
command handling all the URL and recursive logic