-
Notifications
You must be signed in to change notification settings - Fork 17.7k
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
x/pkgsite: documentation not displayed for HPND-sell-variant license #49504
Comments
The license demands that
which pkg.go.dev clearly does not do. So the choice of not displaying the documentation is justified. Edit: And your title is incorrect as you can clearly see from the screenshot that an MIT license variant was detected. |
I see. Thanks for the clarification! |
After moving the license for wayinfo.h from the I also changed the license from MIT to BSD-3 for the files that are not in Moving license text around in the project made |
Currently go.dev uses github.com/google/licensecheck to detect a projects license which just has a list of files it goes over. It is a simple tool that does not traverse all files and neither does it look for source code comments that may be a license texts. Here is the current official policy of go.dev along with a list of all the files that are consulted: https://pkg.go.dev/license-policy |
Using a simple license checker tool instead of a more advanced one is a bug in the pkg.go.dev website, then. |
Here is the |
the license checker correctly identified it as both HPND-sell-variant and MIT |
Also, the HPND-sell-variant license only applies to the C header file |
Looks like it is working now? If you put HPND-sell-variant in your LICENSE file, then pkgsite (and some people) will assume it applies to the whole repo. But it looks like you've taken it out, which will make sense to both pkgsite and people. So I believe this can be closed. |
Yes. Thanks for looking into this! I appreciate the automatic generation of documentation at pkg.go.dev. |
What is the URL of the page with the issue?
https://pkg.go.dev/github.com/xyproto/wallutils?utm_source=godoc
What is your user agent?
Mozilla/5.0 (X11; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0
Screenshot
What did you do?
Tried to visit and browse the documentation:
http://godoc.org/github.com/xyproto/wallutils
What did you expect to see?
The package documentation.
What did you see instead?
Wallutils is licensed under the MIT license, but the license file contains two of them, separated by
--
, because the original MIT license has slightly different wording.The text was updated successfully, but these errors were encountered: