This document aims to give an overview of how to contribute to ObsPy. It tries to answer commonly asked questions, and provide some insight into how the community process works in practice.
- Make sure you have a GitHub account
- Download and install git
- Read the git documentation
We love pull requests! Here's a quick guide:
- Fork the repo.
- Make a new branch. For feature additions/changes base your new branch at "master", for pure bugfixes base your new branch at "releases" (see branching model).
- Run the tests. We only take pull requests with passing tests.
- Add a test for your change. Only refactoring and documentation changes require no new tests. If you are adding functionality or fixing a bug, we need a test!
- Make the test pass.
- Push to your fork and submit a pull request.
- for feature branches set base branch to "obspy:master"
- for bugfix branches set base branch to "obspy:releases"
- Wait for our review. We may suggest some changes or improvements or alternatives.