There are many ways to contribute to dcmqi, with varying levels of effort. Do try to look through the documentation first if something is unclear, and let us know how we can do better.
- Ask a question on the dcmqi google group
- Submit a feature request or bug, or add to the discussion on the dcmqi issue tracker
- Submit a Pull Request (PR) to improve dcmqi or its documentation
We encourage a range of Pull Requests, from patches that include passing tests and documentation, all the way down to half-baked ideas that launch discussions.
If you are new to dcmqi development and you don't have push access to the dcmqi repository, here are the steps:
- Fork and clone the repository.
- Create a branch.
- Push the branch to your GitHub fork.
- Create a Pull Request.
This corresponds to the Fork & Pull Model
mentioned in the GitHub flow
guides.
If you have push access to dcmqi repository, you could simply push your branch
into the main repository and create a Pull Request. This corresponds to the
Shared Repository Model
and will facilitate other developers to checkout your
topic without having to configure a remote.
It will also simplify the workflow when you are co-developing a branch.
Based on the comments posted by the reviewers of your PR, you may have to revisit your patches.
Getting your contributions integrated is relatively straightforward, here is the checklist:
- All tests pass
- Consensus is reached. This usually means that at least one reviewer approved your contribution and a reasonable amount of time passed without anyone objecting.
Next, there are two scenarios:
- You do NOT have push access: A dcmqi core developer will integrate your PR.
- You have push access: Simply click on the "Merge pull request" button.
Then, click on the "Delete branch" button that appears afterward.
Every pull request is tested automatically using continuous integration using CircleCI, Appveyor and TravisCI
each time you push a commit to it. No PR should be merged until all CI are green, unless there is
a good reason to merge it first (as an example, proper testing cannot be done due to the references of
the components that are changing, but must be available in the master
branch).
If you contribute a change that will add a new module/function to dcmqi, you are encouraged to add documentation of the new feature. We use Gitbook for maintaining dcmqi documentation.