Skip to content

Commit 7aa95c2

Browse files
committed
Add SPDX headers and REUSE compliance updates across project
1 parent 99f866a commit 7aa95c2

7 files changed

Lines changed: 44 additions & 1 deletion

File tree

AGENTS.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,15 @@ For every change, add a meaningful one-liner to the corresponding section (Added
2424
Test execution instructions are maintained in `tests/INSTRUCTIONS.md`; prefer the reusable wrappers `tests/run-unit.sh` and `tests/run-playwright.sh` over ad-hoc container commands.
2525

2626
No nodejs or vue components are used. Everything is plain Javascript.
27+
28+
### License Header
29+
30+
Every new file needs to get a SPDX header in the first rows according to this template.
31+
The year in the first line must be replaced with the year when the file is created (for example, 2026 for files first added in 2026).
32+
The commenting signs need to be used depending on the file type.
33+
If a file can not get a header like svg images, these need to be added to the REUSE.toml file.
34+
35+
```plaintext
36+
SPDX-FileCopyrightText: <YEAR> Marcel Scherello
37+
SPDX-License-Identifier: AGPL-3.0-or-later
38+
```

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
- Data sources can offer report templates within the wizard
66
- Startup splash screen
77
- Playwright UI and PHPUnit and testing
8+
- Reusable REUSE lint wrapper script for local test runs
89

910
### Changed
1011
- Automatically import demo reports on first app start for each user

REUSE.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ SPDX-FileCopyrightText = "2019-2024 Marcel Scherello"
1818
SPDX-License-Identifier = "AGPL-3.0-or-later"
1919

2020
[[annotations]]
21-
path = ["img/app.svg", "img/app-dark.svg", "img/app-color.svg", "img/infoIntro.svg", "img/infoReport.svg", "img/infoWiki.svg", "img/save.svg", "img/warning.svg", "img/**.png", "img/**.gif", "img/logo.svg", "img/rename.svg"]
21+
path = ["img/app.svg", "img/app-dark.svg", "img/app-color.svg", "img/app-integration.svg", "img/infoIntro.svg", "img/infoReport.svg", "img/infoWiki.svg", "img/save.svg", "img/warning.svg", "img/**.png", "img/**.gif", "img/logo.svg", "img/rename.svg"]
2222
precedence = "aggregate"
2323
SPDX-FileCopyrightText = "2019-2024 Marcel Scherello"
2424
SPDX-License-Identifier = "AGPL-3.0-or-later"

css/splash.css

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
/**
2+
* Analytics
3+
*
4+
* SPDX-FileCopyrightText: 2019-2024 Marcel Scherello
5+
* SPDX-License-Identifier: AGPL-3.0-or-later
6+
*/
7+
18
#app-content.has-splash {
29
position: relative;
310
}

js/splash.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
/**
2+
* Analytics
3+
*
4+
* SPDX-FileCopyrightText: 2019-2024 Marcel Scherello
5+
* SPDX-License-Identifier: AGPL-3.0-or-later
6+
*/
7+
18
(function() {
29
'use strict';
310

templates/partials/splash.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
<!--/**
2+
* Analytics
3+
*
4+
* SPDX-FileCopyrightText: 2019-2024 Marcel Scherello
5+
* SPDX-License-Identifier: AGPL-3.0-or-later
6+
*/-->
7+
18
<div
29
id="app-splash-screen"
310
class="app-splash-screen"

tests/INSTRUCTIONS.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,12 @@ Environment variables:
4343
Artifacts:
4444
- Scenario `10`: `tests/ui-artifacts/10/`
4545
- Scenario `20`: `tests/ui-artifacts/20/`
46+
47+
## License Compliance (REUSE)
48+
- Run REUSE lint:
49+
- `./tests/run-reuse.sh`
50+
51+
Notes:
52+
- Default container image: `fsfe/reuse`
53+
- Override image if needed:
54+
- `REUSE_IMAGE=fsfe/reuse:latest ./tests/run-reuse.sh`

0 commit comments

Comments
 (0)