From 4311baaf22915043536429ebe79cef3dd88e4149 Mon Sep 17 00:00:00 2001 From: John Nunley Date: Fri, 4 Aug 2023 17:29:14 -0700 Subject: [PATCH] Add the DCO Signed-off-by: John Nunley --- .github/PULL_REQUEST_TEMPLATE.md | 1 + CONTRIBUTING.md | 10 ++++++++++ DCO.txt | 34 ++++++++++++++++++++++++++++++++ examples/winit.rs | 11 ++++------- 4 files changed, 49 insertions(+), 7 deletions(-) create mode 100644 DCO.txt diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 02733a7..0b47d0e 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -1 +1,2 @@ - [ ] Tested on all platforms affected by this change +- [ ] Added `Signed-off-by:` to all commits to indicate that you have the rights to this change. \ No newline at end of file diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 09a24f8..8686268 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -14,3 +14,13 @@ We welcome contributions to this project. Please feel free to open GitHub issues All changes submitted to this repository are run through GitHub Actions and the workflow defined into the [`ci.yml`] file. If your change does not pass the tests described, it is unlikely to be merged. [`ci.yml`]: https://github.com/notgull/theo/blob/main/.github/workflows/ci.yml + +## DCO + +As an alternative to a Contributor License Agreement, this project uses a [Developer Certificate of Origin (DCO)](./DCO.txt) to ensure that contributors own the copyright terms of their contributions. In order to assert that you agree to the terms of the DCO, you must add the following line to every commit: + +``` +Signed-off-by: Your Name +``` + +This can be done automatically by appending the `-s` option to `git commit`. diff --git a/DCO.txt b/DCO.txt new file mode 100644 index 0000000..49b8cb0 --- /dev/null +++ b/DCO.txt @@ -0,0 +1,34 @@ +Developer Certificate of Origin +Version 1.1 + +Copyright (C) 2004, 2006 The Linux Foundation and its contributors. + +Everyone is permitted to copy and distribute verbatim copies of this +license document, but changing it is not allowed. + + +Developer's Certificate of Origin 1.1 + +By making a contribution to this project, I certify that: + +(a) The contribution was created in whole or in part by me and I + have the right to submit it under the open source license + indicated in the file; or + +(b) The contribution is based upon previous work that, to the best + of my knowledge, is covered under an appropriate open source + license and I have the right under that license to submit that + work with modifications, whether created in whole or in part + by me, under the same open source license (unless I am + permitted to submit under a different license), as indicated + in the file; or + +(c) The contribution was provided directly to me by some other + person who certified (a), (b) or (c) and I have not modified + it. + +(d) I understand and agree that this project and the contribution + are public and that a record of the contribution (including all + personal information I submit with it, including my sign-off) is + maintained indefinitely and may be redistributed consistent with + this project or the open source license(s) involved. diff --git a/examples/winit.rs b/examples/winit.rs index d8061d0..bac168a 100644 --- a/examples/winit.rs +++ b/examples/winit.rs @@ -1,23 +1,20 @@ // SPDX-License-Identifier: LGPL-3.0-or-later OR MPL-2.0 -// This file is a part of `piet-hardware`. +// This file is a part of `theo`. // -// `piet-hardware` is free software: you can redistribute it and/or modify it under the +// `theo` is free software: you can redistribute it and/or modify it under the // terms of either: // // * GNU Lesser General Public License as published by the Free Software Foundation, either // version 3 of the License, or (at your option) any later version. // * Mozilla Public License as published by the Mozilla Foundation, version 2. -// * The Patron License (https://github.com/notgull/piet-hardware/blob/main/LICENSE-PATRON.md) -// for sponsors and contributors, who can ignore the copyleft provisions of the above licenses -// for this project. // -// `piet-hardware` is distributed in the hope that it will be useful, but WITHOUT ANY +// `theo` is distributed in the hope that it will be useful, but WITHOUT ANY // WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR // PURPOSE. See the GNU Lesser General Public License or the Mozilla Public License for more // details. // // You should have received a copy of the GNU Lesser General Public License and the Mozilla -// Public License along with `piet-hardware`. If not, see . +// Public License along with `theo`. If not, see . //! Basic usage of `theo`, using `winit` as the windowing system.