st2 icon indicating copy to clipboard operation
st2 copied to clipboard

Develop patch for pack

Open DrazenkoS opened this issue 2 years ago • 3 comments

I wish I could develop a patch (expansion) for an existing packs. For example, if I have installed a Jira package and are creating some workflows with Jira actions, I want to export those workflows to a separate package that users can install as a patch for an existing Jira package. ie after installing the patch package, all actions/workflows from it should be under the Jira package, without losing existing actions in the Jira package.

Is there any way to do that?

DrazenkoS avatar Apr 14 '22 08:04 DrazenkoS

It sounds like you want to fork the Jira pack and then add your new actions to that forked repo. And then instead of running st2 pack install jira you and your users can run st2 pack install https://github.com/yourusername/stackstorm-jira.git

jschoewe avatar Apr 26 '22 15:04 jschoewe

Your other option is to write a new pack and set the original jira pack as a dependency in the pack.yaml (https://docs.stackstorm.com/packs.html#pack-dependencies).

chris3081 avatar May 02 '22 22:05 chris3081

@chris3081 I can't put new actions in the Jira pack without losing/spoiling existing actions.

ghost avatar May 10 '22 06:05 ghost