]> Cypherpunks repositories - gostls13.git/commit
cmd/distpack: use positive list of tools to keep
authorMichael Matloob <matloob@golang.org>
Fri, 16 May 2025 23:53:21 +0000 (19:53 -0400)
committerMichael Matloob <matloob@google.com>
Mon, 19 May 2025 17:20:17 +0000 (10:20 -0700)
commitbd299852121f997b8bff3c9de244df27427819f3
tree9ba16867fdb1fcd5288e1f2dcf4ca4f6eb535cd3
parent198c3cb785282ee4c199680ec2d05381805a6f66
cmd/distpack: use positive list of tools to keep

Previously, distpack filtered out tools from the packaged distribution
using a list of tools to remove. Instead follow mpratt's suggestion on
CL 666755 and instead filter out tools that are not on a list of tools
to keep. This will make it easier to tell which tools are actually in
the distribution.

For #71867

Change-Id: I8336465703ac820028c3381a0a743c457997e78a
Reviewed-on: https://go-review.googlesource.com/c/go/+/673696
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Pratt <mpratt@google.com>
Reviewed-by: Michael Matloob <matloob@google.com>
src/cmd/distpack/pack.go