CONTRIBUTING
Contributing In General
Our project welcomes external contributions. If you have an itch, please feel free to scratch it.
To contribute code or documentation, please submit a pull request. You can get started with open issues with the label - good first issue. Before embarking on a more ambitious contribution, please quickly get in touch with us via raising an issue.
Note: We appreciate your effort, and want to avoid a situation where a contribution requires extensive rework (by you or by us), sits in backlog for a long time, or cannot be accepted at all!
Proposing new features
If you would like to implement a new feature, please raise an issue, before sending a pull request so the feature can be discussed. This is to avoid you wasting your valuable time working on a feature that the project developers are not interested in accepting into the code base.
Fixing bugs
If you would like to fix a bug, please raise an issue, before sending a pull request so it can be tracked.
Merge approval
The project maintainers use LGTM (Looks Good To Me) in comments on the code review to indicate acceptance. A change requires LGTMs from two of the maintainers of each component affected.
For a list of the maintainers, see the MAINTAINERS.md page.
Legal
Each source file must include a license header for the Apache Software License 2.0. Using the SPDX format is the simplest approach. e.g.
We have tried to make it as easy as possible to make contributions. This applies to how we handle the legal aspects of contribution. We use the same approach - the Developer's Certificate of Origin 1.1 (DCO) - that the Linux® Kernel community uses to manage code contributions.
We simply ask that when submitting a patch for review, the developer must include a sign-off statement in the commit message.
Here is an example Signed-off-by line, which indicates that the submitter accepts the DCO:
To include Signed-off-by message automatically, set the git config as,
and include flag -s | --sign-off
when you commit a change to your local git repository, for example
Transform Setup and Testing
Please note the many useful options of the make command, as shown by using make help
, that will take care of manual steps that would have been needed for tasks such as building, publishing, setting up or testing transforms in most directories.
Coding style guidelines
Coding style as enforced by pre-commit
.