Closed davidferlay closed 5 months ago
For now, meta action was built as a plugin : https://github.com/skilld-labs/plasmactl-meta
Re-opening this issue as plasmactl web-ui also have a need to visually represent actions that should run sequentially and in parallel
For now it's kind of hardcoded in plasmactl-meta action, which execute calls to other actions. But looks like we need a more generic approach to make a visual representation of that "flow" in UI
Most likely that will requre more thinking and refactor of meta action. If we need to show something in web-ui before that happens, we could duplicate logic in some config file (but that's obviously not a viable long term solution)
Got the wrong idea about the intent of this UI, it's related to integration flows; not actions
Observed
User may need to often execute the same suite of commands Yet there is no way to execute multiple actions using only 1 single command
For instance, For each deploy, after having done some devlopments+bumped, user currently needs to run 4 actions
Gradle has a way to do that "meta action": The common pattern there is to have a task that depends on tasks. One task that has ONLY dependencies will be a "meta" task
Expected
Would be great to have a way to define meta actions, where one command would run multiple actions
platform:components-propagate
has an attribute that says it need to runplatform:compare-artifacts
before running itselfplatform:compare-artifacts dev file.diff
has an attribute that says it need to runcompose --skip-not-versioned --conflicts-verbosity
before running itselfIn any case, maybe this functionality should be brought by a launchrctl plugin, to keep functionality separate from core and keep it simple