-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
Upgrade to REUSE 4.x and REUSE.toml #127361
Copy link
Copy link
Closed
Labels
A-licensingArea: Compiler licensingArea: Compiler licensingC-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.
Metadata
Metadata
Assignees
Labels
A-licensingArea: Compiler licensingArea: Compiler licensingC-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.
Type
Fields
Give feedbackNo fields configured for issues without a type.
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/dep5toREUSE.tomlin the repository.Notable things of
REUSE.tomlthat 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.tomlfor LLVM only would address this.REUSE now supports having multiple
REUSE.tomls in a repository, which means that a submodule can now define its own licensing annotations. Before that, only the top-level.reuse/dep5would be considered, and any other instance of that file in subdirectories or submodules would be ignored.We should:
.reuse/dep5intoREUSE.tomlprecedence = "override"Tracking issue: #99414