summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAgathe Porte <microjoe@microjoe.org>2023-06-14 13:58:02 +0200
committerAgathe Porte <microjoe@microjoe.org>2023-06-14 13:58:31 +0200
commit542a8194e9e4b47317dd226c2b3f5297f859a72c (patch)
tree076f68da7e7ed1c1da8e111a171ee1378406c2da
parent813a5be1be6483b92292135c1e999a8263d1b9d4 (diff)
downloadpelican-git-describe-542a8194e9e4b47317dd226c2b3f5297f859a72c.tar.gz
pelican-git-describe-542a8194e9e4b47317dd226c2b3f5297f859a72c.zip
Add MIT licensemain
And make project reuse-compliant.
-rw-r--r--.gitignore4
-rw-r--r--LICENSES/MIT.txt9
-rw-r--r--README.md6
-rw-r--r--__init__.py4
-rw-r--r--git_describe.py4
5 files changed, 27 insertions, 0 deletions
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) <year> <copyright holders>
+
+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 @@
+<!--
+SPDX-FileCopyrightText: 2023 Agathe Porte
+
+SPDX-License-Identifier: MIT
+-->
+
# 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