From ac07e8f917e03ec3491778991d20e66fa91cc903 Mon Sep 17 00:00:00 2001 From: Stefan Koelle Date: Tue, 4 Aug 2026 18:51:32 +0200 Subject: [PATCH] license added --- AGENTS.md | 6 ++++++ Dockerfile | 1 + LICENSE | 21 +++++++++++++++++++++ README.md | 2 +- api/__init__.py | 2 ++ api/database.py | 3 +++ api/main.py | 3 +++ sync.py | 2 ++ 8 files changed, 39 insertions(+), 1 deletion(-) create mode 100644 LICENSE diff --git a/AGENTS.md b/AGENTS.md index 701790a..9a01392 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -114,3 +114,9 @@ GitHub Actions Workflow: - Baut Docker Image bei Push zu `main` - Published nach `ghcr.io/skoelle/calender_sync:latest` - Keine Tests im Workflow (derzeit) + +## Lizenz + +MIT License - Copyright (c) 2026 Stefan Koelle (https://stefankoelle.de) +- Vollständiger Text in `LICENSE` +- Lizenz-Header in allen Python-Dateien diff --git a/Dockerfile b/Dockerfile index a77286b..24aedbd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,6 +5,7 @@ WORKDIR /app COPY requirements.txt . RUN pip install --no-cache-dir -r requirements.txt +COPY LICENSE . COPY sync.py . COPY api/ ./api/ diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..3556447 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2026 Stefan Koelle (https://stefankoelle.de) + +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 fa68445..377fea6 100644 --- a/README.md +++ b/README.md @@ -187,4 +187,4 @@ ghcr.io/skoelle/calender_sync:latest ## Lizenz -Keine Lizenz angegeben. +Lizenziert unter der [MIT License](LICENSE) - Copyright (c) 2026 Stefan Koelle (https://stefankoelle.de) diff --git a/api/__init__.py b/api/__init__.py index e69de29..91f759e 100644 --- a/api/__init__.py +++ b/api/__init__.py @@ -0,0 +1,2 @@ +# Copyright (c) 2026 Stefan Koelle (https://stefankoelle.de) +# Licensed under the MIT License. See LICENSE file in project root for details. diff --git a/api/database.py b/api/database.py index ca19ced..7439b47 100644 --- a/api/database.py +++ b/api/database.py @@ -1,3 +1,6 @@ +# Copyright (c) 2026 Stefan Koelle (https://stefankoelle.de) +# Licensed under the MIT License. See LICENSE file in project root for details. + import os import mysql.connector diff --git a/api/main.py b/api/main.py index 5a1e811..231cf2c 100644 --- a/api/main.py +++ b/api/main.py @@ -1,3 +1,6 @@ +# Copyright (c) 2026 Stefan Koelle (https://stefankoelle.de) +# Licensed under the MIT License. See LICENSE file in project root for details. + import logging import os from datetime import datetime, timezone diff --git a/sync.py b/sync.py index 8df1951..9d68a3e 100644 --- a/sync.py +++ b/sync.py @@ -1,4 +1,6 @@ #!/usr/bin/env python3 +# Copyright (c) 2026 Stefan Koelle (https://stefankoelle.de) +# Licensed under the MIT License. See LICENSE file in project root for details. """ Google Calendar (privater ICS-Feed) -> MariaDB Sync Homelab: laeuft als Docker Container, pollt periodisch, expandiert RRULE/EXDATE/RECURRENCE-ID