commit | bc1c66ddadd31b581aea246a7053c6c216e7fddd | [log] [tgz] |
---|---|---|
author | Jonathan Amsterdam <jba@google.com> | Wed Jan 06 10:17:05 2021 -0500 |
committer | Jonathan Amsterdam <jba@google.com> | Thu Jan 14 13:52:37 2021 +0000 |
tree | cf255be0741047b119c6da9bdf5b6805d869e862 | |
parent | 5c60e501fd361f2fee2a9814c8207c76128eb5a0 [diff] |
internal/licenses: use new licensecheck Use the new version of licensecheck, which is more precise and has other improvements. The new version uses regexps instead of fuzzy matching to categorize licenses. That makes it much stricter than the old version, so we need many exceptions in order to match the same licenses we did before. It is also intolerant of various corruptions like truncation and search-and-replace errors. We observed many of these, and filed bugs against the offending repos where possible. We validated that except for corrupted licenses, this package accepts the same licensesn as it did before for all latest-version modules. The new version uses SPDX identifiers where they exist, so we no longer need to map licensecheck names to SPDX IDs. We also need include many variant SPDX identifiers in our list of redistributable licenses (e.g. "GPL2.0-or-later"). The new version dispenses with "-Short" and "-Header" variants, so we don't need to canonicalize the names. Change-Id: I5c1aaa2bdf745aff6ebb8c121fa63d6550931069 Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/283654 Trust: Jonathan Amsterdam <jba@google.com> Run-TryBot: Jonathan Amsterdam <jba@google.com> Reviewed-by: Julie Qiu <julie@golang.org>
Pkg.go.dev is a website for discovering and evaluating Go packages and modules.
You can check it out at https://pkg.go.dev.
Pkg.go.dev launched in November 2019, and is currently under active development by the Go team.
Here's what we are currently working on:
Design updates: We have some design changes planned for pkg.go.dev, to address UX feedback that we have received. You can expect a more cohesive search and navigation experience coming soon. We plan to share these designs for feedback once they are ready.
Godoc.org redirect: Longer term, we are working towards redirecting godoc.org traffic to pkg.go.dev. We know that there are features available on godoc.org that users want to see on pkg.go.dev, and we want to ensure that we address these. We’ve been keeping track of issues related to redirecting godoc.org traffic on Go issue #39144. These issues will be prioritized in the next few months. We also plan to continue improving our license detection algorithm.
Search improvements: We’ll be improving our search experience based on feedback in Go issue #37810, to make it easier for users to find the dependencies they are looking for and make better decisions around which ones to import.
We encourage everyone to begin using pkg.go.dev today for all of their needs and to file feedback! You can redirect all of your requests from godoc.org to pkg.go.dev, by clicking Always use pkg.go.dev
at the top of any page on godoc.org.
If you want to report a bug or have a feature suggestion, please first check the known issues to see if your issue is already being discussed. If an issue does not already exist, feel free to file an issue.
For answers to frequently asked questions, see go.dev/about.
You can also chat with us on the #tools slack channel on the Gophers slack.
We would love your help!
Our canonical Git repository is located at go.googlesource.com/pkgsite. There is a mirror of the repository at github.com/golang/pkgsite.
To contribute, please read our contributing guide.
Unless otherwise noted, the Go source files are distributed under the BSD-style license found in the LICENSE file.