Skip to content

Latest commit

 

History

History
47 lines (27 loc) · 2.82 KB

CONTRIBUTING.md

File metadata and controls

47 lines (27 loc) · 2.82 KB

Contributing

Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.

When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

Working on Monza

See the building document for more information on how to get and build Monza.

When submiting patches, you need to make sure all tests pass (check target) and that the code is formatted accordingly.

Tests

The check target is an alias for all the different tests.

On Linux this includes the guest tests guest-verona-rt-test.

Style

We use clang-format-9 on our CI bots, which will fail the pull request if the code is not formatted as expected.

The clang-format tool doesn't guarantee backward or forward compatibility, so we have to fix a version for our CI and local development.

Both versions 8 and 10 (and therefore any other version) is incompatible with version 9 and will break the build, so you must download and use version 9.

To do so, you can choose a number of ways to download it (ex. npm, releases, apt, Arch AUR, etc), then put on your PATH before you run CMake.

A clangformat target will be created and you can make sure you won't break the build by running that target.

Bugs and patches

We use Github issues to track bugs and features. If you found a bug or want to propose a new feature, please file an issue on our project.

We use Github pull requests for contributions in code, documents, tests, etc.

Every PR must pass the CI builds (which include CLA checks and formatting) and the appropriate set of tests. PRs cannot be merged if any of the tests fail.

You are not, however, required to run all these tests on your own, before submitting the PR. Running at least the tests on Linux and passing should be fine. We can work out the remaining issues during the review process.