Skip to content

Commit 2f909ea

Browse files
committed
Introduce REUSE compliance
This commit introduces REUSE compliance by annotating all files with SPDX information and placing the reused licences in the LICENSES folder. We additionally removed the docheader tool which is made obsolete by this change. The main LICENSE and copyright text of the project is now not under my personal name anymore, and it belongs to "The Respect Project Contributors" instead. This change restores author names to several files, giving the appropriate attribution for contributions.
1 parent 3270c1f commit 2f909ea

File tree

1,100 files changed

+5306
-941
lines changed

Some content is hidden

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

1,100 files changed

+5306
-941
lines changed

.docheader

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

.gitattributes

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-FileCopyrightText: 2010-2026 Respect Project Contributors
2+
#
3+
# SPDX-License-Identifier: MIT
4+
15
/* export-ignore
26
/composer.json -export-ignore
37
/data -export-ignore

.github/dependabot.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-FileCopyrightText: 2010-2026 Respect Project Contributors
2+
#
3+
# SPDX-License-Identifier: MIT
4+
15
version: 2
26
updates:
37

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

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-FileCopyrightText: 2010-2026 Respect Project Contributors
2+
#
3+
# SPDX-License-Identifier: MIT
4+
15
name: Continuous Integration (code)
26

37
on:
@@ -84,9 +88,6 @@ jobs:
8488
- name: Install dependencies
8589
run: composer install --prefer-dist
8690

87-
- name: Run DocHeader
88-
run: vendor/bin/docheader check library/ tests/
89-
9091
- name: Run PHP_CodeSniffer
9192
run: vendor/bin/phpcs
9293

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-FileCopyrightText: 2010-2026 Respect Project Contributors
2+
#
3+
# SPDX-License-Identifier: MIT
4+
15
name: Continuous Integration (docs)
26

37
on:

.github/workflows/release.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-FileCopyrightText: 2010-2026 Respect Project Contributors
2+
#
3+
# SPDX-License-Identifier: MIT
4+
15
name: Release
26

37
on: push

.github/workflows/reuse.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# SPDX-FileCopyrightText: 2010-2026 Respect Project Contributors
2+
#
3+
# SPDX-License-Identifier: MIT
4+
5+
name: REUSE
6+
7+
on:
8+
push:
9+
branches:
10+
- main
11+
pull_request:
12+
branches:
13+
- '*'
14+
15+
jobs:
16+
reuse-check:
17+
name: Compliance Check
18+
runs-on: ubuntu-latest
19+
steps:
20+
- name: Checkout
21+
uses: actions/checkout@v6
22+
23+
- name: Set up Python
24+
uses: actions/setup-python@v6
25+
with:
26+
python-version: '3.x'
27+
28+
- name: Install REUSE tool
29+
run: pip install reuse
30+
31+
- name: Run REUSE check
32+
run: reuse lint

.github/workflows/update-regionals.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-FileCopyrightText: 2010-2026 Respect Project Contributors
2+
#
3+
# SPDX-License-Identifier: MIT
4+
15
name: Update Regional Information
26

37
on:

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-FileCopyrightText: 2010-2026 Respect Project Contributors
2+
#
3+
# SPDX-License-Identifier: MIT
4+
15
.couscous/
26
.iso-codes-cache/
37
.phpbench/

.readthedocs.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-FileCopyrightText: 2010-2026 Respect Project Contributors
2+
#
3+
# SPDX-License-Identifier: MIT
4+
15
version: 2
26

37
build:

0 commit comments

Comments
 (0)