Skip to content

Commit

Permalink
Add the DCO
Browse files Browse the repository at this point in the history
Signed-off-by: John Nunley <[email protected]>
  • Loading branch information
notgull committed Aug 5, 2023
1 parent 28c2504 commit 4311baa
Show file tree
Hide file tree
Showing 4 changed files with 49 additions and 7 deletions.
1 change: 1 addition & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -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.
10 changes: 10 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <email>
```

This can be done automatically by appending the `-s` option to `git commit`.
34 changes: 34 additions & 0 deletions DCO.txt
Original file line number Diff line number Diff line change
@@ -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.
11 changes: 4 additions & 7 deletions examples/winit.rs
Original file line number Diff line number Diff line change
@@ -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 <https://www.gnu.org/licenses/>.
// Public License along with `theo`. If not, see <https://www.gnu.org/licenses/>.

//! Basic usage of `theo`, using `winit` as the windowing system.
Expand Down

0 comments on commit 4311baa

Please sign in to comment.