cksource / mrgit

A tool for managing projects build using multiple repositories.
51 stars 9 forks source link

exec can only be done in parallel / request for synchrounous exec #155

Closed flyon closed 1 year ago

flyon commented 1 year ago

mrgit exec "yarn build" fails for me because the different packages/repos depend on each other. Hence I would like to have an option to mrgit exec --sync "yarn build" which would execute the given commands one by one

pomek commented 1 year ago

@flyon, does the problem occur because mrgit executes a command in parallel or because of an order of packages? Mrgit does not care about dependencies between packages.

For parallel executions, we could introduce an option for modifying the concurrency level (#94). For the latter, sorting packages in the proper order could be problematic as it still might happen that some package needs output from another one.

pomek commented 1 year ago

Closing due to lack of activity.