x/pkgsite: support symlinks or LICENSES directory #40586
On a project I am working on, I recently implemented the Free Software Foundation Europe's REUSE (repository) recommendations for licensing. The used licenses are the GNU GPL for code and CC0 for some other stuff, both listed as supported licenses.
In a nutshell, REUSE stores all licenses named as their SPDX identifier in a
Because GitHub does not handled this, I created a
However, the pkg.go.dev page is currently not able to process this. Furthermore, the documentation is "not displayed due to license restrictions". Compared to this, the old GoDoc has no limitations in this regard. Sorry, this is annoying.
Would it be possible to adjust pkg.go.dev to
Thanks a lot for all the great work!
The text was updated successfully, but these errors were encountered:
Please see [this post](https://groups.google.com/g/golang-dev/c/mfiPCtJ1BGU/m/qtCrqlrEEwAJ) to understand why we check licenses and godoc.org doesn't.
Thanks for the background and clarification. For the record, the following link also works without having a Google account. https://groups.google.com/d/msg/golang-dev/mfiPCtJ1BGU/qtCrqlrEEwAJ
A `LICENSES` directory is a reasonable request. We'll look into it.
That would be very cool, thanks. Alternatively, could a license hint or link to such a file also be included in the go.mod file, for example?