Skip to content

Commit e288a73

Browse files
committed
Add Developer Certificate of Origin (DCO)
Signed-off-by: Bjoern Schiessle <[email protected]>
1 parent f383b2a commit e288a73

File tree

3 files changed

+92
-0
lines changed

3 files changed

+92
-0
lines changed

CONTRIBUTING.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,19 @@ In order to constantly increase the quality of our software we can no longer acc
3333
It is a must have that changed and added code segments are unit tested.
3434
In some areas unit testing is hard (aka almost impossible) as of today - in these areas refactoring WHILE fixing a bug is encouraged to enable unit testing.
3535

36+
We use the Developer Certificate of Origin (DCO) as a additional safeguard for the Nextcloud project. This is a well established and widely used mechanism to assure contributors have confirmed their right to license their contribution under the project's license. Please read [contribute/developer-certificate-of-origin][dcofile]. If you can certify it, then just add to your commit message a line saying:
37+
38+
````
39+
Signed-off-by: Random J Developer <[email protected]>
40+
````
41+
42+
using your real name (sorry, no pseudonyms or anonymous contributions). This line can be automatically added by git if you run the `git-commit command with the -s option`.
43+
44+
In case you are not sure how to add or update the license header correctly please have a look at [contribute/HowToApplyALicense.md][applyalicense]
45+
3646
[devmanual]: https://docs.nextcloud.org/server/10/developer_manual/
47+
[dcofile]: https://github.com/nextcloud/server/blob/master/contribute/developer-certificate-of-origin
48+
[applyalicense]: https://github.com/nextcloud/server/blob/master/contribute/HowToApplyALicense.md
3749

3850
## Translations
3951
Please submit translations via [Transifex][transifex].

contribute/HowToApplyALicense.md

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
Originally Nextcloud was licensed under the GNU AGPLv3 only. From
2+
June, 16 2016 on we switched to "GNU AGPLv3 or any later version" for
3+
better long-term maintainability and to make it more secure from a
4+
legal point of view.
5+
6+
Additionally Nextcloud doesn't require a CLA (Contributor License
7+
Agreement). The copyright belongs to all the individual
8+
contributors.
9+
10+
If you modify an existing file, please keep the existing license header as
11+
it is and just add your copyright notice:
12+
13+
````
14+
@copyright Copyright (c) <year>, <your name> (<your email address>)
15+
````
16+
17+
If you create a new file please use this license header:
18+
19+
````
20+
/**
21+
*
22+
* @copyright Copyright (c) <year>, <your name> (<your email address>)
23+
*
24+
* @license GNU AGPL version 3 or any later version
25+
*
26+
* This program is free software: you can redistribute it and/or modify
27+
* it under the terms of the GNU Affero General Public License as
28+
* published by the Free Software Foundation, either version 3 of the
29+
* License, or (at your option) any later version.
30+
*
31+
* This program is distributed in the hope that it will be useful,
32+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
33+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
34+
* GNU Affero General Public License for more details.
35+
*
36+
* You should have received a copy of the GNU Affero General Public License
37+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
38+
*
39+
*/
40+
````
41+
42+
Additionally we require a Developer Certificate of Origin (DCO), look
43+
at [contribute/SubmittingPullRequests.md][submittingpullrequests] to learn more how to sign your commits
44+
45+
[submittingpullrequests]: https://github.com/nextcloud/server/blob/master/contribute/SubmittingPullRequests.md
Lines changed: 35 additions & 0 deletions
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)