| 1 | # Contributing to Linux RealTime Communication Testbench |
| 2 | |
| 3 | The Linux RealTime Communication Testbench encourages contributions in form of feedback, bug |
| 4 | reports and/or code contributions. |
| 5 | |
| 6 | ## Github Workflow |
| 7 | |
| 8 | The Linux RealTime Communication Testbench follows the Github development model using pull |
| 9 | request. To contribute code to the project use the following workflow: |
| 10 | |
| 11 | 1. Fork the repo and create your branch from `main` |
| 12 | 2. Develop and test your changes |
| 13 | 3. Adhere to the coding style |
| 14 | 4. Update the documentation if necessary |
| 15 | 5. Issue the pull request |
| 16 | |
| 17 | Issues can be reported by using Github issues. Make sure to provide the steps |
| 18 | and necessary information how to reproduce the issue. This includes: |
| 19 | |
| 20 | - Hardware and NIC(s) being used |
| 21 | - Configuration files(s) being used |
| 22 | |
| 23 | ## Email Workflow |
| 24 | |
| 25 | In addition, contributions are accepted via email as well: |
| 26 | |
| 27 | 1. Clone the repo and create your branch from `main` |
| 28 | 2. Develop and test your changes |
| 29 | 3. Adhere to the coding style |
| 30 | 4. Update the documentation if necessary |
| 31 | 5. Send the patches via Email To: Kurt Kanzenbach <[email protected]> and Cc: |
| 32 | rt-users <[email protected]> |
| 33 | |
| 34 | ## Commit message rules |
| 35 | |
| 36 | For individual commits the Linux RealTime Communication Testbench follows the Linux kernel way of |
| 37 | writing and signing commit messages. |
| 38 | |
| 39 | Describe your changes: |
| 40 | |
| 41 | https://www.kernel.org/doc/html/latest/process/submitting-patches.html#describe-your-changes |
| 42 | |
| 43 | Sign your work: |
| 44 | |
| 45 | https://www.kernel.org/doc/html/latest/process/submitting-patches.html#sign-your-work-the-developer-s-certificate-of-origin |
| 46 | |
| 47 | ## Code Style |
| 48 | |
| 49 | The coding style is the Linux kernel one. If unsure about it, run |
| 50 | `clang-format` on the C files. |
| 51 | |
| 52 | In addition, the reverse xmas tree variable ordering is used: |
| 53 | |
| 54 | https://docs.kernel.org/process/maintainer-netdev.html#local-variable-ordering-reverse-xmas-tree-rcs |
| 55 | |
| 56 | ## License |
| 57 | |
| 58 | By contributing, you agree that your changes will be licensed under |
| 59 | BSD-2-Clause. |