Contributing to PISM¶
Bug reports, contributions of code, documentation, and tests are always appreciated.
Please see Submitting bug reports for bug reporting guidelines.
By submitting code, the contributor gives irretrievable consent to the redistribution and modification of the contributed source code as described in the PISM’s open source license.
Contributions are preferred via pull requests to https://github.com/pism/pism.
Create a branch that will contain your changes.
Implement proposed changes.
Make changes to the code or documentation (or both).
Test your changes.
Add verification or regression tests (optional but strongly encouraged).
Update documentation, if necessary.
Update the change log
CHANGES.rst. If your contribution contains a bug fix, please describe the bug and its effects.
build it with pedantic compiler settings, treating all compiler warnings as errors
make testin the build directory.
Please make sure all tests pass (you will get an e-mail if there was a failure).
If you are planning a large contribution we encourage you to open an issue at https://github.com/pism/pism/issues or e-mail us at firstname.lastname@example.org and interact with us frequently to ensure that your effort is well-directed.
When working on a large contribution it is essential to stay in touch with PISM’s maintainers.
We urge you to use a version control system and give PISM maintainers access to a repository containing your code. We realize that your group’s policy may make it impossible to put the code in a public repository. However, it is very easy to set up a private repository instead.
Working in isolation will lead to a waste of many person-hours of effort once your work is ready to be merged into PISM.
See sections listed below for various technical details.