From 5c4f262235c73e50878f6881849c5fed95a24742 Mon Sep 17 00:00:00 2001 From: Yen-Chen Chen <yen-chen.chen@kit.edu> Date: Wed, 27 Nov 2024 08:37:54 +0000 Subject: [PATCH] Move licenses of technical files and docs into REUSE.toml (icon-libraries/libfortran-support!102) ## What is the bug Gather licenses of technical files and docs into REUSE.toml. This prevents licenses from getting into the commit with the MR templates. ## How do you fix it Add `REUSE.toml` and remove license texts Approved-by: Jonas Jucker <jonas.jucker@env.ethz.ch> Merged-by: Yen-Chen Chen <yen-chen.chen@kit.edu> Changelog: bugfix --- .clang-format | 11 ------ .cmake-format.py | 11 ------ .gitignore | 11 ------ .gitlab-ci.yml | 11 ------ .gitlab/changelog_config.yml | 11 ------ .gitlab/merge_request_templates/bugfix.md | 13 ------- .gitlab/merge_request_templates/feature.md | 13 ------- AUTHORS.txt | 11 ------ README.md | 13 ------- REUSE.toml | 44 ++++++++++++++++++++++ _typos.toml | 11 ------ 11 files changed, 44 insertions(+), 116 deletions(-) create mode 100644 REUSE.toml diff --git a/.clang-format b/.clang-format index ca20e87..162ebb5 100644 --- a/.clang-format +++ b/.clang-format @@ -1,14 +1,3 @@ -# ICON -# -# --------------------------------------------------------------- -# Copyright (C) 2004-2024, DWD, MPI-M, DKRZ, KIT, ETH, MeteoSwiss -# Contact information: icon-model.org -# -# See AUTHORS.TXT for a list of authors -# See LICENSES/ for license information -# SPDX-License-Identifier: CC0-1.0 -# --------------------------------------------------------------- - --- Language: Cpp # BasedOnStyle: GNU diff --git a/.cmake-format.py b/.cmake-format.py index d10da97..b3d5933 100644 --- a/.cmake-format.py +++ b/.cmake-format.py @@ -1,14 +1,3 @@ -# ICON -# -# --------------------------------------------------------------- -# Copyright (C) 2004-2024, DWD, MPI-M, DKRZ, KIT, ETH, MeteoSwiss -# Contact information: icon-model.org -# -# See AUTHORS.TXT for a list of authors -# See LICENSES/ for license information -# SPDX-License-Identifier: CC0-1.0 -# --------------------------------------------------------------- - with section("parse"): additional_commands = { "check_macro_defined": { diff --git a/.gitignore b/.gitignore index 69b2938..3b8b984 100644 --- a/.gitignore +++ b/.gitignore @@ -1,14 +1,3 @@ -# ICON -# -# --------------------------------------------------------------- -# Copyright (C) 2004-2024, DWD, MPI-M, DKRZ, KIT, ETH, MeteoSwiss -# Contact information: icon-model.org -# -# See AUTHORS.TXT for a list of authors -# See LICENSES/ for license information -# SPDX-License-Identifier: CC0-1.0 -# --------------------------------------------------------------- - # CMake stage files: /**/CMakeFiles/* /**/_deps/* diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9d0777b..61ffb63 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,14 +1,3 @@ -# ICON -# -# --------------------------------------------------------------- -# Copyright (C) 2004-2024, DWD, MPI-M, DKRZ, KIT, ETH, MeteoSwiss -# Contact information: icon-model.org -# -# See AUTHORS.TXT for a list of authors -# See LICENSES/ for license information -# SPDX-License-Identifier: BSD-3-Clause -# --------------------------------------------------------------- - include: - project: 'anw_dienste/ci-templates' file: '.slurm-ci.yml' diff --git a/.gitlab/changelog_config.yml b/.gitlab/changelog_config.yml index 5ec28d1..97fd465 100644 --- a/.gitlab/changelog_config.yml +++ b/.gitlab/changelog_config.yml @@ -1,14 +1,3 @@ -# ICON -# -# --------------------------------------------------------------- -# Copyright (C) 2004-2024, DWD, MPI-M, DKRZ, KIT, ETH, MeteoSwiss -# Contact information: icon-model.org -# -# See AUTHORS.TXT for a list of authors -# See LICENSES/ for license information -# SPDX-License-Identifier: CC0-1.0 -# --------------------------------------------------------------- - categories: feature: New features bugfix: Bug fixes diff --git a/.gitlab/merge_request_templates/bugfix.md b/.gitlab/merge_request_templates/bugfix.md index d26cac4..8326eb3 100644 --- a/.gitlab/merge_request_templates/bugfix.md +++ b/.gitlab/merge_request_templates/bugfix.md @@ -1,16 +1,3 @@ -<!-- -ICON - ---------------------------------------------------------------- -Copyright (C) 2004-2024, DWD, MPI-M, DKRZ, KIT, ETH, MeteoSwiss -Contact information: icon-model.org - -See AUTHORS.TXT for a list of authors -See LICENSES/ for license information -SPDX-License-Identifier: CC0-1.0 ---------------------------------------------------------------- ---> - ## What is the bug _Please describe the bug in a couple of words._ ## How do you fix it diff --git a/.gitlab/merge_request_templates/feature.md b/.gitlab/merge_request_templates/feature.md index 375d349..3220305 100644 --- a/.gitlab/merge_request_templates/feature.md +++ b/.gitlab/merge_request_templates/feature.md @@ -1,16 +1,3 @@ -<!-- -ICON - ---------------------------------------------------------------- -Copyright (C) 2004-2024, DWD, MPI-M, DKRZ, KIT, ETH, MeteoSwiss -Contact information: icon-model.org - -See AUTHORS.TXT for a list of authors -See LICENSES/ for license information -SPDX-License-Identifier: CC0-1.0 ---------------------------------------------------------------- ---> - ## What is the new feature _Please describe your feature in a couple of words._ ## How is it implemented diff --git a/AUTHORS.txt b/AUTHORS.txt index 338c335..2df0199 100644 --- a/AUTHORS.txt +++ b/AUTHORS.txt @@ -1,14 +1,3 @@ -# ICON -# -# --------------------------------------------------------------- -# Copyright (C) 2004-2024, DWD, MPI-M, DKRZ, KIT, ETH, MeteoSwiss -# Contact information: icon-model.org -# -# See AUTHORS.TXT for a list of authors -# See LICENSES/ for license information -# SPDX-License-Identifier: CC-BY-4.0 -# --------------------------------------------------------------- - # A more complete author list is provided in the ICON repository. Daniel Hupp Daniel Reinert diff --git a/README.md b/README.md index 52e0b10..c34fa24 100644 --- a/README.md +++ b/README.md @@ -1,16 +1,3 @@ -<!-- -ICON - ---------------------------------------------------------------- -Copyright (C) 2004-2024, DWD, MPI-M, DKRZ, KIT, ETH, MeteoSwiss -Contact information: icon-model.org - -See AUTHORS.TXT for a list of authors -See LICENSES/ for license information -SPDX-License-Identifier: CC-BY-4.0 ---------------------------------------------------------------- ---> - # Fortran-support library This repository is an external library of ICON collecting low-level supporting modules of ICON. diff --git a/REUSE.toml b/REUSE.toml new file mode 100644 index 0000000..93cdb80 --- /dev/null +++ b/REUSE.toml @@ -0,0 +1,44 @@ +# ICON +# +# --------------------------------------------------------------- +# Copyright (C) 2004-2024, DWD, MPI-M, DKRZ, KIT, ETH, MeteoSwiss +# Contact information: icon-model.org +# +# See AUTHORS.txt for a list of authors +# See LICENSES/ for license information +# SPDX-License-Identifier: CC0-1.0 +# --------------------------------------------------------------- + +version = 1 + +[[annotations]] +# Documentation and its source files: +path = [ + "AUTHORS.txt", + "README.md", +] +precedence = "aggregate" +SPDX-FileCopyrightText = "2004-2024, DWD, MPI-M, DKRZ, KIT, ETH, MeteoSwiss" +SPDX-License-Identifier = "CC-BY-4.0" + +[[annotations]] +# "Unimportant" technical files: +path = [ + ".gitignore", + ".gitlab/**", + ".clang-format", + ".cmake-format.py", + "_typos.toml" +] +precedence = "aggregate" +SPDX-FileCopyrightText = "2004-2024, DWD, MPI-M, DKRZ, KIT, ETH, MeteoSwiss" +SPDX-License-Identifier = "CC0-1.0" + +[[annotations]] +# GitLab CI configuration file: +path = [ + ".gitlab-ci.yml" +] +precedence = "aggregate" +SPDX-FileCopyrightText = "2004-2024, DWD, MPI-M, DKRZ, KIT, ETH, MeteoSwiss" +SPDX-License-Identifier = "BSD-3-Clause" diff --git a/_typos.toml b/_typos.toml index 1e213fa..9a96af4 100644 --- a/_typos.toml +++ b/_typos.toml @@ -1,14 +1,3 @@ -# ICON -# -# --------------------------------------------------------------- -# Copyright (C) 2004-2024, DWD, MPI-M, DKRZ, KIT, ETH, MeteoSwiss -# Contact information: icon-model.org -# -# See AUTHORS.TXT for a list of authors -# See LICENSES/ for license information -# SPDX-License-Identifier: CC0-1.0 -# --------------------------------------------------------------- - [files] extend-exclude = [ # Ragel generated files -- GitLab