Sharing python code between packs
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 6.5k
- Forks
- 787
- PR merge metrics
- No merged PRs in 30d
Description
SUMMARY
There are some cases where it would be nice to share python code between packs.
For example: I'm writing a pack for the PRTG monitoring tool. I'm coding up a bunch of generic actions using the python-script runner. I then have some "custom" stuff i need to do that is specific to the way we have our PRTG instance setup and doesn't make any sense to include that in the public PRTG pack. I would love to be able to reuse all of the code i just wrote in the public PRTG pack within my custom specific pack.
ISSUE TYPE
Pick one below and delete the rest:
- Feature Idea
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names StackStorm packs and the python-script runner but no files or tests. Start by tracing how pack actions and the runner load Python code, then review existing mechanisms for sharing pack content. Done requires an agreed and documented way to reuse Python code between public and custom packs.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100