Skip to content

Commit 32a6c6b

Browse files
committed
style: replace verbose license headers with SPDX tags
Also fixes wrong license text from GPL-2 to AGPL-3.0-or-later. Co-Authored-by: Pascal Repond <pascal.repond@rero.ch>
1 parent 843652b commit 32a6c6b

321 files changed

Lines changed: 1260 additions & 4765 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.editorconfig

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,3 @@
1-
# RERO MEF
2-
# Copyright (C) 2020 RERO
3-
#
4-
# This program is free software: you can redistribute it and/or modify
5-
# it under the terms of the GNU Affero General Public License as published by
6-
# the Free Software Foundation, version 3 of the License.
7-
#
8-
# This program is distributed in the hope that it will be useful,
9-
# but WITHOUT ANY WARRANTY; without even the implied warranty of
10-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11-
# GNU Affero General Public License for more details.
12-
#
13-
# You should have received a copy of the GNU Affero General Public License
14-
# along with this program. If not, see <http://www.gnu.org/licenses/>.
15-
161
root = true
172

183
[*]

.github/workflows/continuous-integration-test.yml

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,5 @@
1-
2-
# RERO MEF
3-
# Copyright (C) 2026 RERO.
4-
#
5-
# This program is free software: you can redistribute it and/or modify
6-
# it under the terms of the GNU Affero General Public License as published by
7-
# the Free Software Foundation, version 3 of the License.
8-
#
9-
# This program is distributed in the hope that it will be useful,
10-
# but WITHOUT ANY WARRANTY; without even the implied warranty of
11-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12-
# GNU Affero General Public License for more details.
13-
#
14-
# You should have received a copy of the GNU Affero General Public License
15-
# along with this program. If not, see <http://www.gnu.org/licenses/>.
1+
# SPDX-FileCopyrightText: Fondation RERO+
2+
# SPDX-License-Identifier: AGPL-3.0-or-later
163

174
name: CI
185
on: [push, pull_request, workflow_dispatch]

.github_changelog_generator

Lines changed: 0 additions & 21 deletions
This file was deleted.

AUTHORS.md

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,6 @@
11
<!--
2-
RERO MEF
3-
Copyright (C) 2020-2026 RERO
4-
5-
This program is free software: you can redistribute it and/or modify
6-
it under the terms of the GNU Affero General Public License as published by
7-
the Free Software Foundation, version 3 of the License.
8-
9-
This program is distributed in the hope that it will be useful,
10-
but WITHOUT ANY WARRANTY; without even the implied warranty of
11-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12-
GNU Affero General Public License for more details.
13-
14-
You should have received a copy of the GNU Affero General Public License
15-
along with this program. If not, see <http://www.gnu.org/licenses/>.
2+
SPDX-FileCopyrightText: Fondation RERO+
3+
SPDX-License-Identifier: AGPL-3.0-or-later
164
-->
175

186
# Authors

CLAUDE.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
<!--
2+
SPDX-FileCopyrightText: Fondation RERO+
3+
SPDX-License-Identifier: AGPL-3.0-or-later
4+
-->
5+
16
# RERO MEF — Claude Code Guide
27

38
## Overview

CONTRIBUTING.md

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,6 @@
11
<!--
2-
RERO MEF
3-
Copyright (C) 2020-2026 RERO
4-
5-
This program is free software: you can redistribute it and/or modify
6-
it under the terms of the GNU Affero General Public License as published by
7-
the Free Software Foundation, version 3 of the License.
8-
9-
This program is distributed in the hope that it will be useful,
10-
but WITHOUT ANY WARRANTY; without even the implied warranty of
11-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12-
GNU Affero General Public License for more details.
13-
14-
You should have received a copy of the GNU Affero General Public License
15-
along with this program. If not, see <http://www.gnu.org/licenses/>.
2+
SPDX-FileCopyrightText: Fondation RERO+
3+
SPDX-License-Identifier: AGPL-3.0-or-later
164
-->
175

186
# Contributing

Dockerfile

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,5 @@
1-
# RERO MEF
2-
# Copyright (C) 2020 RERO
3-
#
4-
# This program is free software: you can redistribute it and/or modify
5-
# it under the terms of the GNU Affero General Public License as published by
6-
# the Free Software Foundation, version 3 of the License.
7-
#
8-
# This program is distributed in the hope that it will be useful,
9-
# but WITHOUT ANY WARRANTY; without even the implied warranty of
10-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11-
# GNU Affero General Public License for more details.
12-
#
13-
# You should have received a copy of the GNU Affero General Public License
14-
# along with this program. If not, see <http://www.gnu.org/licenses/>.
1+
# SPDX-FileCopyrightText: Fondation RERO+
2+
# SPDX-License-Identifier: AGPL-3.0-or-later
153

164
ARG VERSION=latest
175
FROM rero/rero-mef-base:${VERSION}

Dockerfile.base

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,5 @@
1-
# RERO MEF
2-
# Copyright (C) 2020 RERO
3-
#
4-
# This program is free software: you can redistribute it and/or modify
5-
# it under the terms of the GNU Affero General Public License as published by
6-
# the Free Software Foundation, version 3 of the License.
7-
#
8-
# This program is distributed in the hope that it will be useful,
9-
# but WITHOUT ANY WARRANTY; without even the implied warranty of
10-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11-
# GNU Affero General Public License for more details.
12-
#
13-
# You should have received a copy of the GNU Affero General Public License
14-
# along with this program. If not, see <http://www.gnu.org/licenses/>.
1+
# SPDX-FileCopyrightText: Fondation RERO+
2+
# SPDX-License-Identifier: AGPL-3.0-or-later
153
FROM python:3.14-slim-bookworm
164

175
# # uwsgi uwsgitop uwsgi-tools

INSTALL.md

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,6 @@
11
<!--
2-
RERO MEF
3-
Copyright (C) 2020-2026 RERO
4-
5-
This program is free software: you can redistribute it and/or modify
6-
it under the terms of the GNU Affero General Public License as published by
7-
the Free Software Foundation, version 3 of the License.
8-
9-
This program is distributed in the hope that it will be useful,
10-
but WITHOUT ANY WARRANTY; without even the implied warranty of
11-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12-
GNU Affero General Public License for more details.
13-
14-
You should have received a copy of the GNU Affero General Public License
15-
along with this program. If not, see <http://www.gnu.org/licenses/>.
2+
SPDX-FileCopyrightText: Fondation RERO+
3+
SPDX-License-Identifier: AGPL-3.0-or-later
164
-->
175

186
# Installation

0 commit comments

Comments
 (0)