Every contribution matters. Whether you're fixing a bug, proposing a new feature, improving documentation, or sharing your perspective, your work helps Midaz evolve.
- Impact: Your work directly improves a project used by organizations around the world.
- Learn and Grow: Contribute and learn architecture design, CQRS, Ports & Adapters, and more alongside experienced developers.
- Community: Join a supportive community of developers passionate about high-quality, open-source software.
- Code Contributions: From minor fixes to major features, code contributions are always welcome. Our architecture and minimal dependencies make it easy to understand and enhance Midaz.
- Documentation: Help improve our documentation to make Midaz more accessible.
- Feedback and Ideas: Share insights and suggestions to help shape the future of Midaz.
- Testing: Test new releases or features and provide feedback to ensure stability.
Our contribution process is straightforward:
[Issue] > Pull request > Commit Signing > Code Review > Merge
For most changes, first create an issue to discuss your proposed changes. This helps track the conversation and feedback. For minor edits like typos, you can directly submit a pull request.
We adopt the Conventional Commit format to ensure our commit history is readable and easy to follow. This format is part of a broader set of guidelines designed to facilitate automatic versioning and changelog generation:
<type>[optional scope]: <description>
[optional body]
[optional footer(s)]
The commit contains the following structural elements, to communicate intent to the consumers of your library:
- fix: a commit of the type
fixpatches a bug in your codebase (this correlates withPATCHin Semantic Versioning). - feat: a commit of the type
featintroduces a new feature to the codebase (this correlates withMINORin Semantic Versioning). - BREAKING CHANGE: a commit that has a footer
BREAKING CHANGE:, or appends a!after the type/scope, introduces a breaking API change (correlating withMAJORin Semantic Versioning). A BREAKING CHANGE can be part of commits of any type. - types other than
fix:andfeat:are allowed, for example @commitlint/config-conventional (based on the the Angular convention) recommendsbuild:,chore:,ci:,docs:,style:,refactor:,perf:,test:, and others. - footers other than
BREAKING CHANGE: <description>may be provided and follow a convention similar to git trailer format.
Additional types are not mandated by the Conventional Commits specification, and have no implicit effect in Semantic Versioning (unless they include a BREAKING CHANGE).
<br /><br />
A scope may be provided to a commit's type, to provide additional contextual information and is contained within parenthesis, e.g., feat(parser): add ability to parse arrays.
For the integrity and verification of contributions, we require that all commits be signed, adhering to the developercertificate.org. This certifies that you have the rights to submit the work under our project's license and that you agree to the DCO statement:
Developer Certificate of Origin
Version 1.1
Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.
Developer's Certificate of Origin 1.1
By making a contribution to this project, I certify that:
(a) The contribution was created in whole or in part by me and I
have the right to submit it under the open source license
indicated in the file; or
(b) The contribution is based upon previous work that, to the best
of my knowledge, is covered under an appropriate open source
license and I have the right under that license to submit that
work with modifications, whether created in whole or in part
by me, under the same open source license (unless I am
permitted to submit under a different license), as indicated
in the file; or
(c) The contribution was provided directly to me by some other
person who certified (a), (b) or (c) and I have not modified
it.
(d) I understand and agree that this project and the contribution
are public and that a record of the contribution (including all
personal information I submit with it, including my sign-off) is
maintained indefinitely and may be redistributed consistent with
this project or the open source license(s) involved.
To certify the DCO, add a sign-off line to every git commit message:
Signed-off-by: Joe Smith <joe.smith@example.com>
- Use your real name. Pseudonyms or anonymous contributions are not accepted.
- If you set your
user.nameanduser.emailgit configs, you can sign your commit automatically withgit commit -s.
Following these guidelines helps keep Midaz welcoming and efficient for everyone.
Before sending a pull request, ensure that:
- Fork the midaz repo on GitHub, clone it on your machine.
- Create a feature or fix branch with your changes.
- You are working against the latest source on the
developbranch (we follow GitFlow: PRs targetdevelop). - Modify the source. Focus only on the specific change you are contributing.
- Ensure local tests pass.
- Commit to your fork using clear commit messages.
- Send us a pull request, answering any default questions in the pull request interface.
- Pay attention to any automated CI failures reported in the pull request, and stay involved in the conversation
- Once you've pushed your commits to GitHub, make sure that your branch can be auto-merged (there are no merge conflicts). If not, on your computer, merge
developinto your branch, resolve any merge conflicts, make sure everything still runs correctly and passes all the tests, and then push up those changes. - Once the change has been approved and merged, we will inform you in a comment.