]> Cypherpunks repositories - gostls13.git/commit
go/build: add check for allowed vendor packages
authorJonathan Amsterdam <jba@google.com>
Thu, 15 Feb 2024 13:13:43 +0000 (08:13 -0500)
committerJonathan Amsterdam <jba@google.com>
Wed, 28 Feb 2024 16:29:14 +0000 (16:29 +0000)
commitf8654408d65cc9dd839df9589d7d01c1af9d51f0
tree55cca3c3f4078e6c102ebc9485e350cf9251a272
parented07e16ffd899e6473cd7a4700d38a9054ecbcf9
go/build: add check for allowed vendor packages

Add a test that checks that all vendored packages in both src/ and
src/cmd are on an allowlist.

For #65678.

Change-Id: Ie9982f8b69c9c0fc6fef41c9dadeb464ecd7781a
Reviewed-on: https://go-review.googlesource.com/c/go/+/564355
Reviewed-by: Bryan Mills <bcmills@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
src/go/build/vendor_test.go [new file with mode: 0644]