Issues, whether bugs, tasks, or feature requests are essential for keeping Pentagon (and ReactiveOps in general) great. We believe it should be as easy as possible to contribute changes that get things working in your environment. There are a few guidelines that we need contributors to follow so that we can have a chance of keeping on top of things. o
- Clone this repo and cd into it
git clone [email protected]:reactiveops/pentagon.git cd pentagon
- Create a virtual environment and source it. You need to source everytime you want to develop pentagon.
virtualenv venv source venv/bin/activate
- Finally, install pentagon into the venv. The
-e
means that it will take any of your file changes into account.pip install -e .
- If you run
which pentagon
it should point at the venv inside the newly created repo.$ which pentagon .../pentagon/venv/bin/pentagon
- Submit a ticket for your issue, assuming one does not already exist.
- Clearly describe the issue including steps to reproduce when it is a bug.
- Apply the appropriate labels, whether it is bug, feature, or task.
- Create a feature branch from where you want to base your work.
- This is usually the master branch.
- To quickly create a topic branch based on master;
git checkout -b feature master
. Please avoid working directly on themaster
branch.
- Try to make commits of logical units.
- Make sure you have added the necessary tests for your changes (coming soon).
- Make sure you have added any required documentation changes.
For changes of a trivial nature to comments and documentation, it is not always necessary to create a new issue in GitHub. In these cases, a branch with pull request is sufficient.
- Push your changes to a topic branch.
- Submit a pull request.
- Update the issue with the
PR-available
label to mark that you have submitted code and are ready for it to be reviewed, and include a link to the pull request in the ticket.
Portions of this text are copied from the Puppet Contributing documentation.