x/pkgsite: UpsertSearchDocuments should not store synopsis for non-redistributable packages #40971
Comments
Change https://golang.org/cl/250637 mentions this issue: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If a package is not redistributable, we can't store its doc synopsis. That decision should happen at the DataSource (that is, DB) level, in UpsertSearchDocuments.
It's not quite a trivial change because we also have to consider the flag for bypassing license checks, which UpsertSearchDocuments currently can't see because it's on the
postgres.DB
struct.The text was updated successfully, but these errors were encountered: