Skip to content

Commit 986c4a8

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 986c4a8

1,100 files changed

Lines changed: 5355 additions & 714 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.

.docheader

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
/*
2-
* Copyright (c) Alexandre Gomes Gaigalas <alganet@gmail.com>
32
* SPDX-License-Identifier: MIT
3+
* SPDX-FileCopyrightText: 2010-2026 Respect Project Contributors
44
*/

.gitattributes

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# SPDX-FileCopyrightText: 2010-2026 Respect Project Contributors
2+
# SPDX-FileCopyrightText: 2010-2026 Respect Project Contributors
3+
#
4+
# SPDX-License-Identifier: MIT
5+
16
/* export-ignore
27
/composer.json -export-ignore
38
/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)