I am very happy to accept pull requests, provided you are fine with publishing your work under the license of this project. If your PR is not just a fix but changes or adds lots of code, please get in touch by opening an issue before starting the project so we can discuss it first. Development currently happens on the develop branch.
If you want to contribute something, the general workflow is:
- Log into the Github website and fork the NeuroFormats.jl repository to your account.
- Checkout your forked repository to your computer. You will be on the main branch. Change to the develop branch.
- Create a new branch and name it after your feature, e.g.,
add_cool_new_feature
orfix_issue_17
. - Make changes to the NeuroFormats code and commit them into your branch.
- Make sure the existing unit tests are all green (see below). Adding new tests for your fix or the new features is even better.
- Create a pull request, requesting to merge your branch into the develop branch of my NeuroFormats repo.
Most likely you already have your development environment setup the way you prefer it when you decide to contribute. If not, here is a quick way to get started.
- Install Julia
- Install Visual Studio Code (VS Code)
- In VS Code install the Julia extension
- In VS Code change to the TERMINAL tab in the lower part of the code window, then run:
git clone https://github.com/dfsp-spirit/NeuroFormats.jl
cd NeuroFormats.jl
julia --project=.
Now you can add tests and make your changes.
To run the tests during development:
using Pkg
Pkg.test("NeuroFormats")