Contributors Guide
Thank you for considering contributing to WAVI.jl! If you're interested in contributing to the development of WAVI we want your help no matter how big or small a contribution you make!
Table of Contents
How to Contribute
Reporting Bugs
If you encounter a bug, please help us fix it by following these steps:
- Ensure the bug is not already reported by checking the issue tracker.
- If the bug isn't reported, open a new issue. Clearly describe the issue, including steps to reproduce it.
Suggesting Enhancements
If you have ideas for enhancements, new features, or improvements, we'd love to hear them! Follow these steps:
- Check the issue tracker to see if your suggestion has been discussed.
- If not, open a new issue, providing a detailed description of your suggestion and the use case it addresses.
Code Contribution
If you'd like to contribute code to the project:
- Fork the repository.
- Clone your fork:
git clone https://github.com/WAVI-ice-sheet-model/WAVI.jl - Create a new branch for your changes:
git checkout -b feature-branch - Make your changes and commit them with a clear message.
- Push your changes to your fork:
git push origin feature-branch - Open a pull request against the
mainbranch of the main repository.
Local development
To set up WAVI for local development (e.g. to contribute or test changes), follow these steps:
Clone the repository and create branch as needed (above section):
git clone https://github.com/WAVI-ice-sheet-model/WAVI.jl.git
cd WAVI.jlLets say this is cloned to: /git/WAVI.jl.
Editable install
If you would like to use your local WAVI code in another project (i.e. outside of the WAVI repo), do the following from that project directory:
julia> ]
(@v1.12) pkg>activate .
(@v1.12) pkg>develop /git/WAVI.jlThis adds WAVI to your current project environment in editable mode, pointing to your local clone. Any changes you make to the code in /git/WAVI.jl will take effect immediately — just restart your Julia session or re-include the relevant files to see the updates.
Make sure to update /git/WAVI.jl in the above example to match the actual location where you cloned the WAVI.jl repo.
Pull Request Process
Please ensure your pull request follows these guidelines:
- Adheres to the coding standards.
- Includes relevant tests for new functionality.
- Has a clear commit history and messages.
- References the relevant issue if applicable.
Please don't hesistate to get in touch to discuss, or with any questions!
License
By contributing to this project, you agree that your contributions will be licensed under the LICENSE file of this repository.