Skip to content

Commit c5015b4

Browse files
authored
SPDX: license declaration cleanup (#62)
This PR fixes license declarations and adds missing declarations in file headers. It also adds the official license text file. Goal: acceptable result with `reuse lint`
1 parent 81a2568 commit c5015b4

28 files changed

+323
-322
lines changed

LICENSES/GPL-3.0-or-later.txt

Lines changed: 232 additions & 0 deletions
Large diffs are not rendered by default.

docker/build-docker/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# SPDX-FileCopyrightText: (c) 2022-2025 by mundialis GmbH & Co. KG
2+
# SPDX-License-Identifier: GPL-3.0-or-later
3+
14
FROM ubuntu:24.04
25
ENV DEBIAN_FRONTEND=noninteractive
36
RUN apt-get update && apt-get install \

docker/docker-compose-test.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
---
2+
3+
# SPDX-FileCopyrightText: (c) 2022-2025 by mundialis GmbH & Co. KG
4+
# SPDX-License-Identifier: GPL-3.0-or-later
5+
16
version: "3"
27
services:
38

docker/test-docker/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# SPDX-FileCopyrightText: (c) 2022-2025 by mundialis GmbH & Co. KG
2+
# SPDX-License-Identifier: GPL-3.0-or-later
3+
14
FROM mundialis/actinia:2.6.6
25
# TODO change to latest docker image if this is fixed
36
# FROM mundialis/actinia:latest

src/actinia/__init__.py

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,23 +6,12 @@
66
API for scalable, distributed, high performance processing of geographical
77
data that uses GRASS GIS for computational tasks.
88
9-
Copyright (c) 2022-2025 mundialis GmbH & Co. KG
9+
SPDX-FileCopyrightText: (c) 2022-2025 mundialis GmbH & Co. KG
1010
11-
This program is free software: you can redistribute it and/or modify
12-
it under the terms of the GNU General Public License as published by
13-
the Free Software Foundation, either version 3 of the License, or
14-
(at your option) any later version.
15-
16-
This program is distributed in the hope that it will be useful,
17-
but WITHOUT ANY WARRANTY; without even the implied warranty of
18-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19-
GNU General Public License for more details.
20-
21-
You should have received a copy of the GNU General Public License
22-
along with this program. If not, see <https://www.gnu.org/licenses/>.
11+
SPDX-License-Identifier: GPL-3.0-or-later
2312
"""
2413

25-
__license__ = "GPLv3"
14+
__license__ = "GPL-3.0-or-later"
2615
__author__ = "Anika Weinmann"
2716
__copyright__ = "Copyright 2022-2025, mundialis GmbH & Co. KG"
2817
__maintainer__ = "Anika Weinmann"

src/actinia/actinia.py

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -5,24 +5,13 @@
55
# API for scalable, distributed, high performance processing of geographical
66
# data that uses GRASS GIS for computational tasks.
77
#
8-
# Copyright (c) 2022 mundialis GmbH & Co. KG
8+
# SPDX-FileCopyrightText: (c) 2022 mundialis GmbH & Co. KG
99
#
10-
# This program is free software: you can redistribute it and/or modify
11-
# it under the terms of the GNU General Public License as published by
12-
# the Free Software Foundation, either version 3 of the License, or
13-
# (at your option) any later version.
14-
#
15-
# This program is distributed in the hope that it will be useful,
16-
# but WITHOUT ANY WARRANTY; without even the implied warranty of
17-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18-
# GNU General Public License for more details.
19-
#
20-
# You should have received a copy of the GNU General Public License
21-
# along with this program. If not, see <https://www.gnu.org/licenses/>.
10+
# SPDX-License-Identifier: GPL-3.0-or-later
2211
#
2312
#######
2413

25-
__license__ = "GPLv3"
14+
__license__ = "GPL-3.0-or-later"
2615
__author__ = "Anika Weinmann"
2716
__copyright__ = "Copyright 2022, mundialis GmbH & Co. KG"
2817
__maintainer__ = "Anika Weinmann"

src/actinia/job.py

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -5,24 +5,13 @@
55
# API for scalable, distributed, high performance processing of geographical
66
# data that uses GRASS GIS for computational tasks.
77
#
8-
# Copyright (c) 2022 mundialis GmbH & Co. KG
8+
# SPDX-FileCopyrightText: (c) 2022 mundialis GmbH & Co. KG
99
#
10-
# This program is free software: you can redistribute it and/or modify
11-
# it under the terms of the GNU General Public License as published by
12-
# the Free Software Foundation, either version 3 of the License, or
13-
# (at your option) any later version.
14-
#
15-
# This program is distributed in the hope that it will be useful,
16-
# but WITHOUT ANY WARRANTY; without even the implied warranty of
17-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18-
# GNU General Public License for more details.
19-
#
20-
# You should have received a copy of the GNU General Public License
21-
# along with this program. If not, see <https://www.gnu.org/licenses/>.
10+
# SPDX-License-Identifier: GPL-3.0-or-later
2211
#
2312
#######
2413

25-
__license__ = "GPLv3"
14+
__license__ = "GPL-3.0-or-later"
2615
__author__ = "Anika Weinmann"
2716
__copyright__ = "Copyright 2022, mundialis GmbH & Co. KG"
2817
__maintainer__ = "Anika Weinmann"

src/actinia/location.py

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -5,24 +5,13 @@
55
# API for scalable, distributed, high performance processing of geographical
66
# data that uses GRASS GIS for computational tasks.
77
#
8-
# Copyright (c) 2022 mundialis GmbH & Co. KG
8+
# SPDX-FileCopyrightText: (c) 2022 mundialis GmbH & Co. KG
99
#
10-
# This program is free software: you can redistribute it and/or modify
11-
# it under the terms of the GNU General Public License as published by
12-
# the Free Software Foundation, either version 3 of the License, or
13-
# (at your option) any later version.
14-
#
15-
# This program is distributed in the hope that it will be useful,
16-
# but WITHOUT ANY WARRANTY; without even the implied warranty of
17-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18-
# GNU General Public License for more details.
19-
#
20-
# You should have received a copy of the GNU General Public License
21-
# along with this program. If not, see <https://www.gnu.org/licenses/>.
10+
# SPDX-License-Identifier: GPL-3.0-or-later
2211
#
2312
#######
2413

25-
__license__ = "GPLv3"
14+
__license__ = "GPL-3.0-or-later"
2615
__author__ = "Anika Weinmann"
2716
__copyright__ = "Copyright 2022, mundialis GmbH & Co. KG"
2817
__maintainer__ = "Anika Weinmann"

src/actinia/mapset.py

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,25 +6,14 @@
66
API for scalable, distributed, high performance processing of geographical
77
data that uses GRASS GIS for computational tasks.
88
9-
Copyright (c) 2022 mundialis GmbH & Co. KG
9+
SPDX-FileCopyrightText: (c) 2022 mundialis GmbH & Co. KG
1010
11-
This program is free software: you can redistribute it and/or modify
12-
it under the terms of the GNU General Public License as published by
13-
the Free Software Foundation, either version 3 of the License, or
14-
(at your option) any later version.
15-
16-
This program is distributed in the hope that it will be useful,
17-
but WITHOUT ANY WARRANTY; without even the implied warranty of
18-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19-
GNU General Public License for more details.
20-
21-
You should have received a copy of the GNU General Public License
22-
along with this program. If not, see <https://www.gnu.org/licenses/>.
11+
SPDX-License-Identifier: GPL-3.0-or-later
2312
"""
2413

2514
from __future__ import annotations
2615

27-
__license__ = "GPLv3"
16+
__license__ = "GPL-3.0-or-later"
2817
__author__ = "Anika Weinmann, Corey White and Stefan Blumentrath"
2918
__copyright__ = "Copyright 2022, mundialis GmbH & Co. KG"
3019
__maintainer__ = "Anika Weinmann"

src/actinia/raster.py

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -5,24 +5,13 @@
55
# API for scalable, distributed, high performance processing of geographical
66
# data that uses GRASS GIS for computational tasks.
77
#
8-
# Copyright (c) 2022 mundialis GmbH & Co. KG
8+
# SPDX-FileCopyrightText: (c) 2022 mundialis GmbH & Co. KG
99
#
10-
# This program is free software: you can redistribute it and/or modify
11-
# it under the terms of the GNU General Public License as published by
12-
# the Free Software Foundation, either version 3 of the License, or
13-
# (at your option) any later version.
14-
#
15-
# This program is distributed in the hope that it will be useful,
16-
# but WITHOUT ANY WARRANTY; without even the implied warranty of
17-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18-
# GNU General Public License for more details.
19-
#
20-
# You should have received a copy of the GNU General Public License
21-
# along with this program. If not, see <https://www.gnu.org/licenses/>.
10+
# SPDX-License-Identifier: GPL-3.0-or-later
2211
#
2312
#######
2413

25-
__license__ = "GPLv3"
14+
__license__ = "GPL-3.0-or-later"
2615
__author__ = "Anika Weinmann"
2716
__copyright__ = "Copyright 2022, mundialis GmbH & Co. KG"
2817
__maintainer__ = "Anika Weinmann"

0 commit comments

Comments
 (0)