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!
Privacy Badger will take care of third-party tracking the best, but hiding this message takes a more targeted filter such as uBlock Origin (for Firefox) or uBlock Origin Lite (for everything else).
Additionally considering adblocking DNS services such as DNS4EU Protective Resolution With Ad blocking or public AdGuard DNS may be a good idea to clean up your modern internet.
Learn more about targeted advertising!
PS. I am not sorry if this cosmetic filtering targeting script doesn't detect your protection, because this message brings me too many amused messages and smiles for that (and thus this message is here to stay) 🐾