From 542a8194e9e4b47317dd226c2b3f5297f859a72c Mon Sep 17 00:00:00 2001 From: Agathe Porte Date: Wed, 14 Jun 2023 13:58:02 +0200 Subject: Add MIT license And make project reuse-compliant. --- .gitignore | 4 ++++ LICENSES/MIT.txt | 9 +++++++++ README.md | 6 ++++++ __init__.py | 4 ++++ git_describe.py | 4 ++++ 5 files changed, 27 insertions(+) create mode 100644 LICENSES/MIT.txt diff --git a/.gitignore b/.gitignore index 8d35cb3..0eb416d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,6 @@ +# SPDX-FileCopyrightText: 2023 Agathe Porte +# +# SPDX-License-Identifier: MIT + __pycache__ *.pyc diff --git a/LICENSES/MIT.txt b/LICENSES/MIT.txt new file mode 100644 index 0000000..2071b23 --- /dev/null +++ b/LICENSES/MIT.txt @@ -0,0 +1,9 @@ +MIT License + +Copyright (c) + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/README.md b/README.md index e38cd70..2b75c79 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,9 @@ + + # Git describe plugin for Pelican Usage in template: diff --git a/__init__.py b/__init__.py index 8f28cef..8436693 100644 --- a/__init__.py +++ b/__init__.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 Agathe Porte +# +# SPDX-License-Identifier: MIT + from .git_describe import register __all__ = ['register'] diff --git a/git_describe.py b/git_describe.py index d33cc0b..940858c 100644 --- a/git_describe.py +++ b/git_describe.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 Agathe Porte +# +# SPDX-License-Identifier: MIT + import subprocess from pelican import signals -- cgit v1.2.3