Return to note index?

REUSE notes

Automaattinen sisällysluettelo / Automatically generated Table of Contents

reuse is a tool for compliance with the REUSE recommendations.

says their GitHub description and in practice this means having a license header in all files or alternatively a file.license file. The tool can generate these, but I never remember the commands.

For more detailed explanation, consult reuse.software/tutorial


Adding headers

Copy-paste and add file name(s) to the end

# Autodetect how to add comment?
reuse annotate --copyright="Aminda Suomalainen <suomalainen@aminda.eu>" --license="CC0-1.0"
# Create a file.license
reuse annotate --copyright="Aminda Suomalainen <suomalainen@aminda.eu>" --license="CC0-1.0" --force-dot-license
# The usual # marks a comment
reuse annotate --copyright="Aminda Suomalainen <suomalainen@aminda.eu>" --license="CC0-1.0" --style python

Note!

Styles

Generic commands

Development version

License identifiers I commonly use

See also SPDX License List

Viewing source of this page reveals this one to be CC-BY-SA-4.0.

Return to note index?

Dear reader, you may be missing a content blocker! 🙀 Please consider installing one to protect yourself, and your close ones, from manipulation and targeted malvertising! Personally I love both Privacy Badger and uBlock Origin (with EFF DNT Policy Allowlist) together, while AdNauseam alone would be more direct protest tool to oppose how the internet is nowadays. Android users may be better served by Rethink while for iOS there is AdGuard. Learn more about targeted advertising! PS. I am sorry if you are already protected and this silly EasyList targeting(?) script doesn't detect that, thank you for taking the steps towards a safer internet! 💜