Skip to content

Latest commit

 

History

History
82 lines (42 loc) · 4.03 KB

File metadata and controls

82 lines (42 loc) · 4.03 KB

Contributing to MITK

First of all, we appreciate every piece of code or documentation that you contribute to MITK. There are many ways to contribute:

Code of Conduct

Please note that we have a Code of Conduct that you should follow in all your interactions with the project.

How to File an MITK Issue?

Follow the general instructions on How to Create a GitHub Issue.

Please prefer one of the provided issue template when creating a new issue. Be aware that before submitting a PR, we kindly ask you to create an issue describing the bug or feature request and reference the issue number in the PR description.

Pull Requests (PR) and Related Topics

How to Submit a PR?

Please follow the instructions on Creating a Pull Request. This corresponds to the Fork & Pull Model described here: Fork & Pull Model.

Make sure to open an issue along with your PR. This helps us understand which problem the PR solves or which feature it adds. MITK developers will be notified upon submission of your PR.

How to Write Commit Messages ?

We kindly ask you to follow a few rules and guidelines:

  • Sign off your contribution (this is a Git feature).

  • Follow the seven rules of a great Git commit message.

  • Split your work into easy-to-digest and coherent commits.

  • Minimize reformatting of existing code or do it in a separate commit. This makes it easier to review the code and accelerates the processing of the request.

  • If you modify code in header files or write documentation, build the doc target to check for any warnings.

How to Write Code in MITK?

Please follow our Style Guide if you contribute code to MITK and follow the style of the file that is being edited for the sake of consistency.

Continuous Integration of PRs

Our Continuous Integration system is triggered every time a PR is created or updated in the repository and will check for issues such as failing unit tests, code quality violations, or integration problems. The results are displayed on the PR page, indicating whether the code passes or fails the tests. Additionally, nightly tests are conducted, and you will be informed if something in your contributed code is not working.

How to Merge a PR ?

A PR can be merged once

  • the automatic tests for the PR are successful.
  • it has been accepted by an MITK developer.

PRs are merged by MITK developers and cannot be merged by external contributors on their own.

Decision-Making Process

Following a PR submission, the MITK developer team will discuss the corresponding issues and the PR. A developer will be assigned to review the code and may request some changes before acceptance. Good communication is essential throughout this process.