add SPDX-License-Identifier and DCO information

this includes my personal signoff on the MAINTAINERS.md for DCO purposes

Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
This commit is contained in:
Brian S. Stephan 2023-12-18 11:14:13 -06:00
parent 0fef13c71a
commit e1dc2afc7b
Signed by: bss
GPG Key ID: 3DE06D3180895FCB
18 changed files with 137 additions and 39 deletions

View File

@ -15,6 +15,39 @@ prioritization.
## Contributions
### Sign Offs/Custody of Contributions
I do not request the copyright of contributions be assigned to me or to the project, and I require no provision that I
be allowed to relicense your contributions. My personal oath is to maintain inbound=outbound in my open source projects,
and the expectation is authors are responsible for their contributions.
I am following the the [Developer Certificate of Origin (DCO)](https://developercertificate.org/), also available at
`DCO.txt`. The DCO is a way for contributors to certify that they wrote or otherwise have the right to license their
code contributions to the project. Contributors must sign-off that they adhere to these requirements by adding a
`Signed-off-by` line to their commit message, and/or, for frequent contributors, by signing off on their entry in
`MAINTAINERS.md`.
This process is followed by a number of open source projects, most notably the Linux kernel. Here's the gist of it:
```
[Your normal Git commit message here.]
Signed-off-by: Random J Developer <random@developer.example.org>
```
`git help commit` has more info on adding this:
```
-s, --signoff
Add Signed-off-by line by the committer at the end of the commit log
message. The meaning of a signoff depends on the project, but it typically
certifies that committer has the rights to submit this work under the same
license and agrees to a Developer Certificate of Origin (see
http://developercertificate.org/ for more information).
```
### Submitting Contributions
I don't expect contributors to sign up for my personal Gitea in order to send contributions, but it
of course makes it easier. If you wish to go this route, please sign up at
<https://git.incorporeal.org/bss/incorporeal-cms> and fork the project. People planning on
@ -50,27 +83,3 @@ your change and to tell me how to pull your changes.
formatting a good commit message.
* Please make sure your Author contact information is stable, in case I need to reach you.
* Consider cryptographically signing (`git commit -S`) your commits.
### Custody of Contributions
I do not request the copyright of contributions be assigned to me or to the project, and I require no
provision that I be allowed to relicense your contributions. My personal oath is to maintain
inbound=outbound in my open source projects, and the expectation is authors are responsible for their
contributions.
I am following the *spirit* of the [Developer Certificate of Origin](https://developercertificate.org/),
but in a simplified fashion:
By making a contribution to this project, you certify that:
1. The contribution was created by you and you have the right to submit it under the open source license
indicated in the LICENSE file; or
2. The contribution is based upon previous work that is covered under an appropriate open source license
compatible with the license indicated in the LICENSE file, and you have the right to contribute that
work with or without modifications, under the terms of that same open source license; or
3. The contribution was provided directly to you by some other person who certified points 1, 2, or 3, and
you have not modified it.
In the event of point 3, your commit **must** include the Signed-off-by line(s) as a chain of custody,
via `git commit -s`. For points 1 and 2, your commit with accurate Author information doubles as direct
custody.

34
DCO.txt Normal file
View File

@ -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.

10
MAINTAINERS.md Normal file
View File

@ -0,0 +1,10 @@
# Maintainers
This file contains information about people permitted to make major decisions and direction on the project.
## Contributing Under the DCO
By adding your name and email address to this section, you certify that all of your subsequent contributions to
incorporeal-cms are made under the terms of the Developer's Certificate of Origin 1.1, available at `DCO.txt`.
* Brian S. Stephan (<bss@incorporeal.org>)

View File

@ -1,4 +1,7 @@
"""An application for running my Markdown-based sites."""
"""An application for running my Markdown-based sites.
SPDX-License-Identifier: AGPL-3.0-or-later
"""
import logging
import os
from logging.config import dictConfig

View File

@ -1,4 +1,7 @@
"""Default configuration."""
"""Default configuration.
SPDX-License-Identifier: AGPL-3.0-or-later
"""
class Config(object):

View File

@ -1,4 +1,7 @@
"""Error page views for 400, 404, etc."""
"""Error page views for 400, 404, etc.
SPDX-License-Identifier: AGPL-3.0-or-later
"""
from incorporealcms.lib import render

View File

@ -1,4 +1,7 @@
"""Miscellaneous helper functions and whatnot."""
"""Miscellaneous helper functions and whatnot.
SPDX-License-Identifier: AGPL-3.0-or-later
"""
import logging
import markdown

View File

@ -1 +1,4 @@
"""Markdown extensions."""
"""Markdown extensions.
SPDX-License-Identifier: AGPL-3.0-or-later
"""

View File

@ -1,4 +1,7 @@
"""Create generic figures with captions."""
"""Create generic figures with captions.
SPDX-License-Identifier: AGPL-3.0-or-later
"""
import re
from xml.etree.ElementTree import SubElement

View File

@ -1,4 +1,7 @@
"""Serve dot diagrams inline."""
"""Serve dot diagrams inline.
SPDX-License-Identifier: AGPL-3.0-or-later
"""
import base64
import logging
import re

View File

@ -1,4 +1,7 @@
"""General page functionality."""
"""General page functionality.
SPDX-License-Identifier: AGPL-3.0-or-later
"""
import datetime
import logging
import os

View File

@ -1,4 +1,7 @@
"""Setuptools configuration."""
"""Setuptools configuration.
SPDX-License-Identifier: AGPL-3.0-or-later
"""
import os
from setuptools import find_packages, setup

View File

@ -1,4 +1,7 @@
"""Create the test app and other fixtures."""
"""Create the test app and other fixtures.
SPDX-License-Identifier: AGPL-3.0-or-later
"""
import os
import pytest

View File

@ -1,4 +1,7 @@
"""Test graphviz functionality."""
"""Test graphviz functionality.
SPDX-License-Identifier: AGPL-3.0-or-later
"""
import os
from incorporealcms import create_app

View File

@ -1,4 +1,7 @@
"""Test page requests."""
"""Test page requests.
SPDX-License-Identifier: AGPL-3.0-or-later
"""
import re
from unittest.mock import patch

View File

@ -1,4 +1,7 @@
"""Configure the test application."""
"""Configure the test application.
SPDX-License-Identifier: AGPL-3.0-or-later
"""
LOGGING = {
'version': 1,

View File

@ -1,4 +1,7 @@
"""Test basic configuration stuff."""
"""Test basic configuration stuff.
SPDX-License-Identifier: AGPL-3.0-or-later
"""
import os
from incorporealcms import create_app

View File

@ -1,4 +1,7 @@
"""Unit test helper methods."""
"""Unit test helper methods.
SPDX-License-Identifier: AGPL-3.0-or-later
"""
import os
import pytest