Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

REUSE: Convert to TOML config, update action #1843

Merged
merged 3 commits into from
Jul 20, 2024

Conversation

ferdnyc
Copy link
Member

@ferdnyc ferdnyc commented Jul 17, 2024

REUSE has deprecated the .reuse/dep5 configuration file in favor of a TOML-based config, REUSE.toml.

Fortunately, they have a converter tool, reuse convert-dep5.

This PR is the result of running that, adding license comments to the resulting REUSE.toml file, and updating the reuse workflow to use action version 4.0.0 (which expects a REUSE.toml by default).

The new precedence = "aggregate" argument in the configs controls what will happen with a given file that both contains license comments (or something that appears to be), and there's configuration for that file in REUSE.toml.

"aggregate" will combine both sources (favoring the in-file comments, I believe), "closest" will prefer to use the file comments exclusively unless they're completely absent, and "override" will ignore all in-file comments in favor of using the config file data exclusively.

@ferdnyc ferdnyc enabled auto-merge (rebase) July 20, 2024 15:13
@ferdnyc ferdnyc merged commit 57c270c into GSConnect:main Jul 20, 2024
3 checks passed
@ferdnyc ferdnyc deleted the reuse-update branch July 20, 2024 15:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants