We would love for you to contribute to the Neuroshapes familly of data models and help make them even better than they are now! As a contributor, find in the next sections the guidelines we would like you to follow.
If you find a bug in the source code of any tools, in any schema or vocabulary in this repository, you can help us fix it by submitting an issue to our GitHub Repository. Even better, you can submit a Pull Request with a fix.
You can request them by submitting an issue to our GitHub Repository. If you would like to implement a new feature or propose a new data model specification, please submit an issue with a proposal for your work first, to be sure it can be implemented and most importantly, to trigger discussions and enable collaborations with interested people. Please consider what kind of change it is:
For a Data Model Specification Proposal or Extension, first open an issue and outline your proposal so that it can be discussed.
Data examples implementing/illustrating an existing Data Model can be directly submitted as a Pull Request. For example different atlas releases conformant to the atlas registration prov pattern can be submitted.
For a Major Feature related to the tools and scripts made available in this repository, first open an issue and outline your proposal so that it can be discussed. This will also allow us to better coordinate our efforts, prevent duplication of work, and help you to craft the change so that it is successfully accepted into the project.
Small Features can be crafted and directly submitted as a Pull Request.
Before you submit an issue, please search the issue tracker, maybe an issue for your problem already exists and the discussion might inform you of workarounds readily available. We want to fix all the issues as soon as possible, but before fixing a bug we need to reproduce and confirm it. In order to reproduce bugs we will need as much information as possible, and preferably be in touch with you to gather information.
Before you submit your proposal consider the following guidelines:
Please join the INCF Special Interest Group (SIG) on Neuroshapes before sending pull requests. Proposals are managed and reviewed by members of that INCF SIG.
Open an issue and outline your proposal so that it can be discussed.
Before you submit your Pull Request (PR) consider the following guidelines:
Please join the INCF SIG on Neuroshapes before sending Pull requests. Proposals are managed and reviewed by members of that INCF SIG.
Clone the Neuroshapes github repository:
# Go to home cd ~ # Clone the repository git clone https://github.com/INCF/neuroshapes.git cd neuroshapes
- Make your changes in a new git branch:
shell git checkout -b my-fix-branch master
- Create your patch, including appropriate test cases.
Run the full test suite, and ensure that all tests pass.
# Run 'sbt' sbt # Run 'test' test # Exit exit
- Commit your changes using a descriptive commit message.
shell git commit -aNote: the optional commit
-acommand line option will automatically “add” and “rm” edited files.
Push your branch to GitHub:
git push origin my-fix-branch
- In GitHub, send a pull request to the
If we suggest changes then:
- Make the required updates.
- Re-run the test suites to ensure tests are still passing.
Rebase your branch and force push to your GitHub repository (this will update your Pull Request):
git rebase master -i git push -f
That’s it! Thank you for your contribution!
Delete the remote branch on GitHub either through the GitHub web UI or your local shell as follows:
git push origin --delete my-fix-branch
Check out the master branch:
git checkout master -f
Delete the local branch:
git branch -D my-fix-branch
Update your master with the latest upstream version:
git pull --ff upstream master