Skip to content

Commit 4479b73

Browse files
committed
Contributing.md: Re-work to incorporate the DCO
The Developer's Certificate of Origin was introduced by the Linux kernel and is where the 'Signed-off-by' stuff came from. It's a _not_ a CLA, but just asks the developer to confirm they have the right to submit their code to the repository. Add a copy of the DCO to the repository and explain about it in Contributing.md. Signed-off-by: Andrew Clayton <andrew@digital-domain.net>
1 parent dfad888 commit 4479b73

File tree

2 files changed

+49
-6
lines changed

2 files changed

+49
-6
lines changed

Contributing.md

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,18 @@
22

33
When sending code, please either send signed-off patches or a pull request
44
with signed-off commits. This means adding a line that says
5-
"Signed-off-by: Name \<Email\>" at the end of each commit, indicating that
6-
you wrote the code and/or have the right to contribute it to this project.
7-
8-
E.g
5+
"Signed-off-by: Name \<Email\>" at the end of each commit. E.g
96

107
```
118
Signed-off-by: Andrew Clayton <andrew@digital-domain.net>
129
```
1310

11+
This signifies that you have read/understood/and agreed to the
12+
[Developer's Certificate of Origin](DCO). Essentially indicating that you
13+
wrote the code and/or have the right to contribute it to this project.
14+
15+
This is **not** a CLA.
16+
1417
Also, please write good git commit messages. A good commit message looks like
1518
this:
1619

@@ -34,9 +37,12 @@ line. The header line is what is shown by tools like gitk and shortlog, and
3437
should summarize the change in one readable line of text, independently of
3538
the longer explanation.
3639

37-
If emailing patches, it is recommended to use git-send-email(1)
40+
- If emailing patches, it is recommended to use git-send-email(1).
41+
- If emailing a pull request it is recommended to use git-request-pull(1).
42+
- Pull requests can be made via GitHub.
3843

3944
Email should be sent to the project maintainer;
45+
4046
```
4147
Andrew Clayton <andrew@digital-domain.net>
42-
```
48+
```

DCO

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
Developer Certificate of Origin
2+
Version 1.1
3+
4+
Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
5+
1 Letterman Drive
6+
Suite D4700
7+
San Francisco, CA, 94129
8+
9+
Everyone is permitted to copy and distribute verbatim copies of this
10+
license document, but changing it is not allowed.
11+
12+
13+
Developer's Certificate of Origin 1.1
14+
15+
By making a contribution to this project, I certify that:
16+
17+
(a) The contribution was created in whole or in part by me and I
18+
have the right to submit it under the open source license
19+
indicated in the file; or
20+
21+
(b) The contribution is based upon previous work that, to the best
22+
of my knowledge, is covered under an appropriate open source
23+
license and I have the right under that license to submit that
24+
work with modifications, whether created in whole or in part
25+
by me, under the same open source license (unless I am
26+
permitted to submit under a different license), as indicated
27+
in the file; or
28+
29+
(c) The contribution was provided directly to me by some other
30+
person who certified (a), (b) or (c) and I have not modified
31+
it.
32+
33+
(d) I understand and agree that this project and the contribution
34+
are public and that a record of the contribution (including all
35+
personal information I submit with it, including my sign-off) is
36+
maintained indefinitely and may be redistributed consistent with
37+
this project or the open source license(s) involved.

0 commit comments

Comments
 (0)