Upgrade to REUSE 4.x and REUSE.toml
#127361
Labels
A-licensing
Area: Compiler licensing
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
REUSE 4.0.0 was recently released, which addresses all the issues we had with REUSE through the addition of
REUSE.toml
. We should upgrade the version of REUSE to it, and migrate from.reuse/dep5
toREUSE.toml
in the repository.Notable things of
REUSE.toml
that would help our use:It is possible to instruct REUSE to ignore all annotations it would discover in source files and only use the annotations present in
REUSE.toml
. While in most cases we would not want to do that (as annotations in source files themselves is probably more accurate), we do want to override LLVM's licensing information with the boilerplate defined in.reuse/dep5
/REUSE.toml
. Settingprecedence = "override"
inREUSE.toml
for LLVM only would address this.REUSE now supports having multiple
REUSE.toml
s in a repository, which means that a submodule can now define its own licensing annotations. Before that, only the top-level.reuse/dep5
would be considered, and any other instance of that file in subdirectories or submodules would be ignored.We should:
.reuse/dep5
intoREUSE.toml
precedence = "override"
Tracking issue: #99414
The text was updated successfully, but these errors were encountered: