omni icon indicating copy to clipboard operation
omni copied to clipboard

`suggest_clone` should clone all other repos first, then do all the `omni up` steps

Open xaf opened this issue 2 years ago • 0 comments

There are two main uses for suggest_clone:

  1. cloning another repository that can be useful to provide other commands the current repository depend on
  2. cloning another repository that we depend on to run some operations, maybe including during omni up

For 1 we don't really care about when the clone is happening vs. the omni up. For 2, we do want the clone to happen before omni up.

We also already handle the cloning of all before calling all omni up for all the suggested repositories... so might be more fitting to handle all in the same way (user just cloned current repo, other repos are suggested to clone then cloned, then we run omni up for all cloned repos, suggested or current, maybe even handling a dependency tree for that?)

xaf avatar Aug 04 '23 05:08 xaf