]> Cypherpunks repositories - gostls13.git/commit
cmd/distpack: rename go.mod to _go.mod in toolchain modules
authorRuss Cox <rsc@golang.org>
Fri, 16 Jun 2023 17:04:50 +0000 (13:04 -0400)
committerGopher Robot <gobot@golang.org>
Tue, 20 Jun 2023 15:03:07 +0000 (15:03 +0000)
commit3b4b7b84def19a57ffa3c83001b37038d9ea204b
treecd2fe0c3f62ab2152aa4a7ef995cf2a998843700
parent645949401455bb32ce430c7a7eb87fe8102f002c
cmd/distpack: rename go.mod to _go.mod in toolchain modules

Modules cannot contain go.mod files except at the root
(and we don't keep one at the root). Rename the other go.mod
files to _go.mod.

dl2mod, which we used to convert all the old releases,
did this renaming, but it was missed when porting that
code to distpack.

For #57001.
Fixes #60847.

Change-Id: I4d646b96b5be15df3b79193e254ddc9b11cc8734
Reviewed-on: https://go-review.googlesource.com/c/go/+/503979
Auto-Submit: Russ Cox <rsc@golang.org>
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: Heschi Kreinick <heschi@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Bryan Mills <bcmills@google.com>
src/cmd/distpack/archive.go
src/cmd/distpack/pack.go
src/cmd/distpack/test.go