Skip to content

Commit

Permalink
Add DCO description to the contribution guidelines. (#4743)
Browse files Browse the repository at this point in the history
* Add DCO description.

Signed-off-by: fruffy <[email protected]>

* Add remedial DCO commit option.

Signed-off-by: fruffy <[email protected]>

* More instructions.

Signed-off-by: fruffy <[email protected]>

* More helpful tips.

Signed-off-by: fruffy <[email protected]>

---------

Signed-off-by: fruffy <[email protected]>
  • Loading branch information
fruffy authored Jun 30, 2024
1 parent b852154 commit b27702f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/dco.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
allowRemediationCommits:
individual: true
5 changes: 5 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

Thank you for considering contributing to the P4 Compiler Project (P4C)! Your contributions are valuable and help improve the project for everyone. Before getting started, please take a moment to review the following guidelines.

## Contributing License
The P4 organizations uses [DCO](https://en.wikipedia.org/wiki/Developer_Certificate_of_Origin) for contributions. Please take a look at our [guidelines](https://github.com/p4lang/governance/wiki/P4-DCO-Guidelines).

To sign off the last commit quickly use the `git commit --amend --signoff` command. The failing check will also include instructions on how to sign off all commits in two steps (using `git rebase HEAD~$NUM_COMMITS --signoff`). https://github.com/src-d/guide/blob/master/developer-community/fix-DCO.md#dco-is-missing also provides helpful tips on fixing DCO inconveniences. Setting up a commit hook in the P4C repository will automate adding the DCO signoff.

## Coding Standard Philosophy

Please note that this project adheres to the [P4 Coding Standard Philosophy](https://github.com/p4lang/p4c/blob/main/docs/CodingStandardPhilosophy.md). By participating, you are expected to uphold this code.
Expand Down

0 comments on commit b27702f

Please sign in to comment.