Skip to content

Commit e873ca2

Browse files
[Internal] Add DCO guidelines (#1047)
## Changes This PR updates the contributing guidelines to include the DCO (Developer Certificate of Origin) that external contributors must sign-off to contribute. ## Tests N/A
1 parent ec962ec commit e873ca2

File tree

2 files changed

+46
-1
lines changed

2 files changed

+46
-1
lines changed

CONTRIBUTING.md

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,24 @@ Required development tools:
22

33
* `go install golang.org/x/tools/cmd/goimports@latest`
44
* `go install honnef.co/go/tools/cmd/[email protected]`
5-
* `go install gotest.tools/gotestsum@latest`
5+
* `go install gotest.tools/gotestsum@latest`
6+
7+
## Developer Certificate of Origin
8+
9+
To contribute to this repository, you must sign off your commits to certify
10+
that you have the right to contribute the code and that it complies with the
11+
open source license. The rules are pretty simple, if you can certify the
12+
content of [DCO](./DCO), then simply add a "Signed-off-by" line to your
13+
commit message to certify your compliance. Please use your real name as
14+
pseudonymous/anonymous contributions are not accepted.
15+
16+
```
17+
Signed-off-by: Joe Smith <[email protected]>
18+
```
19+
20+
If you set your `user.name` and `user.email` git configs, you can sign your
21+
commit automatically with `git commit -s`:
22+
23+
```
24+
git commit -s -m "Your commit message"
25+
```

DCO

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
Developer's Certificate of Origin 1.1
2+
3+
By making a contribution to this project, I certify that:
4+
5+
(a) The contribution was created in whole or in part by me and I
6+
have the right to submit it under the open source license
7+
indicated in the file; or
8+
9+
(b) The contribution is based upon previous work that, to the best
10+
of my knowledge, is covered under an appropriate open source
11+
license and I have the right under that license to submit that
12+
work with modifications, whether created in whole or in part
13+
by me, under the same open source license (unless I am
14+
permitted to submit under a different license), as indicated
15+
in the file; or
16+
17+
(c) The contribution was provided directly to me by some other
18+
person who certified (a), (b) or (c) and I have not modified
19+
it.
20+
21+
(d) I understand and agree that this project and the contribution
22+
are public and that a record of the contribution (including all
23+
personal information I submit with it, including my sign-off) is
24+
maintained indefinitely and may be redistributed consistent with
25+
this project or the open source license(s) involved.

0 commit comments

Comments
 (0)