REUSE — Software License Compliance
REUSE1 — Recommendations for licensing software
- …from Free Software Foundation Europe (FSFE)
- …SPDX license list2
- Add licence information to each file…
SPDX-FileCopyrightText
…publication years and copyright holderSPDX-License-Identifier
…valid SPDX License Expression
- …or create a
REUSE.toml
3 file
Example
/*
* SPDX-FileCopyrightText: 2024 Jane Doe <jane@example.com>
*
* SPDX-License-Identifier: GPL-3.0-or-later
*/
Install the reuse
4 CLI
# install via RPM package
sudo dnf install -y reuse
# install as Python package
pip3 install --user reuse
Usage:
# check compliance
reuse lint
Footnotes
REUSE Software, FSFE
https://reuse.software↩︎SPDX License List
https://spdx.org/licenses↩︎REUSE.toml
https://reuse.software/spec-3.3/#reusetoml↩︎reuse
Documentation
https://reuse.readthedocs.io↩︎