splunk / splunk/addonfactory-solutions-library-python

Add Contributing Guidelines

Open
#303 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
18
Forks
10
PR merge metrics
No merged PRs in 30d

Description

This is not obvious for someone who wants to contribute how to setup properly dev environment and run tests.
New section in documentation would help.
Example for that:

It seems that the documentation should contain information about following prereq steps to run integration tests:

  • export SPLUNK_HOME=/opt/splunk/
  • export SPLUNK_ETC=/opt/splunk/etc/ - this one may be optional
  • sudo cp -r tests/integration/data/solnlib_demo $SPLUNK_HOME/etc/apps
  • sudo cp -r solnlib $SPLUNK_HOME/etc/apps/solnlib_demo/bin/
  • sudo /opt/splunk/bin/splunk set servername custom-servername -auth admin:[splunk_password]
  • sudo /opt/splunk/bin/splunk restart

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the README and the contributing documentation examples linked in the issue, then inspect tests/integration and tests/integration/data/solnlib_demo. Document the prerequisites and listed environment, copy, authentication, and restart commands for running integration tests. Done means a newcomer can set up the environment and follow the documented test process.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
documentation, testing-qa
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.