fsfe / reuse-tool

reuse is a tool for compliance with the REUSE recommendations.
https://reuse.software
410 stars 149 forks source link

Add a check to make sure that snippets are closed #1074

Open carmenbianca opened 2 months ago

carmenbianca commented 2 months ago

We currently don't check if SPDX snippets are closed. Maybe we should. At the 2024-07-05 meeting we agreed that we should implement this.

The rationale for this is that it facilitates licensing of minified/aggregated JavaScript/CSS as outlined in this article. If this check is not performed, and if a snippet is accidentally not closed, then licensing information from one file may accidentally be applied to the next aggregated file.

This will/may also require a slight adjustment to the specification.