-
Notifications
You must be signed in to change notification settings - Fork 78
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 Compatability #53
Comments
I face the same issue with my repo: https://codeberg.org/pfad.fr/vanitydoc/src/branch/main/LICENSES (I don't even have a Instead of looking for the As such, the documentation of my package is not displayed on pkg.go.dev (luckily the goal of this package is to enable self-hosting documentation: https://code.pfad.fr/vanitydoc ;) |
I hit the same problem today, but I wonder if this repo is the right place to propose a fix? The actual logic to use it and identify which file to scan sits in https://github.com/golang/pkgsite. And that repo expects issues to be raised in https://github.com/golang/go, where the related one (golang/go#40586) was then closed last week:
And as far I can tell from a brief check, this line is part of the logic that would need to be changed: So I guess the only way forward for a permanent solution would be to contribute a PR in https://github.com/golang/pkgsite. The workaround till then is a redundant copy of the relevant license file in the project root as it's for example brought up in gocsaf/csaf#599. |
Copy of primary license in project root created to address error 'Documentation not displayed due to license restrictions.' when using pkg.go.dev. It's caused by missing support for 'LICENSE/' sub-folder and Reuse structure. Required till appropriate fix in https://github.com/golang/pkgsite Refs: golang/go#40586 Refs: google/licensecheck#53
Copy of primary license in project root created to address error 'Documentation not displayed due to license restrictions.' when using pkg.go.dev. It's caused by missing support for 'LICENSE/' sub-folder and Reuse structure. Required till appropriate fix in https://github.com/golang/pkgsite Refs: golang/go#40586 Refs: google/licensecheck#53
I changed a go project I have over to use spdx & the FSF's reuse tooling to attempt to make things more clear & simpler to manage. It looks like this license checker doesn't handle looking in a
LICENSES
directory for the SPDX licenses. The purpose for this issue is to see if that is something the maintainers here would be willing to accept a change for.For reference, this is what reuse shows for it's structuring:
https://reuse.software/tutorial/#result
Here is my project (that uses the reuse cli tool):
https://github.com/schmidtw/goschtalt/tree/main/LICENSES
Of note is that the code isn't dual licensed (meaning it's available under both) but parts are covered by one license and other are covered by a different license.
The text was updated successfully, but these errors were encountered: