Skip to content

Commit 4e94f44

Browse files
committed
Add sign you work section in contributing and DCO
1 parent a99cac0 commit 4e94f44

File tree

2 files changed

+54
-0
lines changed

2 files changed

+54
-0
lines changed

CONTRIBUTING.md

+19
Original file line numberDiff line numberDiff line change
@@ -52,3 +52,22 @@ issue or contacting one or more of the project maintainers.
5252
This Code of Conduct is adapted from the [Contributor Covenant](http://contributor-covenant.org),
5353
version 1.2.0, available at
5454
[http://contributor-covenant.org/version/1/2/0/](http://contributor-covenant.org/version/1/2/0/)
55+
56+
### Sign your work
57+
58+
We use the Developer Certificate of Origin (DCO) as a additional safeguard
59+
for the Nextcloud project. This is a well established and widely used
60+
mechanism to assure contributors have confirmed their right to license
61+
their contribution under the project's license.
62+
Please read [contribute/developer-certificate-of-origin][dcofile].
63+
If you can certify it, then just add a line to every git commit message:
64+
65+
````
66+
Signed-off-by: Random J Developer <[email protected]>
67+
````
68+
69+
Use your real name (sorry, no pseudonyms or anonymous contributions).
70+
If you set your `user.name` and `user.email` git configs, you can sign your
71+
commit automatically with `git commit -s`. You can also use git [aliases](https://git-scm.com/book/tr/v2/Git-Basics-Git-Aliases)
72+
like `git config --global alias.ci 'commit -s'`. Now you can commit with
73+
`git ci` and the commit will be signed.
+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
Developer Certificate of Origin
2+
Version 1.1
3+
4+
Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
5+
660 York Street, Suite 102,
6+
San Francisco, CA 94110 USA
7+
8+
Everyone is permitted to copy and distribute verbatim copies of this
9+
license document, but changing it is not allowed.
10+
11+
Developer's Certificate of Origin 1.1
12+
13+
By making a contribution to this project, I certify that:
14+
15+
(a) The contribution was created in whole or in part by me and I
16+
have the right to submit it under the open source license
17+
indicated in the file; or
18+
19+
(b) The contribution is based upon previous work that, to the best
20+
of my knowledge, is covered under an appropriate open source
21+
license and I have the right under that license to submit that
22+
work with modifications, whether created in whole or in part
23+
by me, under the same open source license (unless I am
24+
permitted to submit under a different license), as indicated
25+
in the file; or
26+
27+
(c) The contribution was provided directly to me by some other
28+
person who certified (a), (b) or (c) and I have not modified
29+
it.
30+
31+
(d) I understand and agree that this project and the contribution
32+
are public and that a record of the contribution (including all
33+
personal information I submit with it, including my sign-off) is
34+
maintained indefinitely and may be redistributed consistent with
35+
this project or the open source license(s) involved.

0 commit comments

Comments
 (0)