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

Automatically detect licenses in packages that follow REUSE specification #532

Open
lsandig opened this issue Nov 7, 2023 · 1 comment

Comments

@lsandig
Copy link

lsandig commented Nov 7, 2023

The REUSE specification allows developers to specify fine-grained copyright and licensing information, but requires the license texts to be put in a LICENSES/ subdirectory. These files are currently not picked up by the automatic license check.
While the specification does not prevent you from copying the license texts additionally into a top-level LICENSE.md file, this workaround seems to me unnecessarily redundant.
Do you see any reason not to to try a

license_results = LicenseCheck.find_licenses(joinpath(pkgdir, "LICENSES"))

if Failuremode 1 occurs here?

@ericphanson
Copy link
Member

I think we wanted to make sure the license was somewhere "obvious" and not buried, so we didn't just check all subdirs. But LICENSES seems obvious enough, seems OK to me

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

No branches or pull requests

2 participants