Skip to content
Eivind Arvesen edited this page Oct 18, 2015 · 4 revisions

Contributions in the form of code (e.g. implementing new features, bug-fixes) should follow the "fork-and-pull" workflow:

  1. Fork the repo on Github
  2. Create a branch
  3. Clone it to your computer
  4. Make and commit your changes
  5. Sync (fetch and merge) with "upstream"
  6. Push your changes to your branch on Github
  7. Open a pull request "upstream" with your changes

Pull requests should explain clearly what changes have been made, and why they have been made. They should also reference any relevant issues.

Pull requests that do not pass the CI tests will not be merged.

Tests

Any pull request containing new functionality should also implement new tests accordingly, using Bats. The project tests can be found in the ./tests directory.

If you have Bats installed, you can run all tests (for both bash and zsh) locally by issuing bash tests/run-tests.sh in the root project folder of prm.

Clone this wiki locally