commit | 80022c81ae058277d4fad188db145b764b8180f2 | [log] [tgz] |
---|---|---|
author | Jonathan Amsterdam <jba@google.com> | Wed Aug 11 17:30:07 2021 -0400 |
committer | Jonathan Amsterdam <jba@google.com> | Thu Aug 12 19:42:01 2021 +0000 |
tree | 39bc933976093433438f5d12f7055dd72bec97bd | |
parent | 57175a4ff73796f557066494e5670ac83a35838f [diff] |
internal/postgres: remove a fully retracted module from search If all the versions of a module have been retracted, remove it from the search_documents table so it doesn't appear in search. Also remove it from the imports_unique table so it doesn't contribute to the imported-by counts of other modules. For golang/go#47590 Change-Id: I76a6e33a1291abe4a19f1b3521c9dc8ebed4f110 Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/341591 Trust: Jonathan Amsterdam <jba@google.com> Run-TryBot: Jonathan Amsterdam <jba@google.com> TryBot-Result: kokoro <noreply+kokoro@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.
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 #pkgsite 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.