aboutsummaryrefslogtreecommitdiff
path: root/src/README.vendor
AgeCommit message (Collapse)Author
2026-01-26README.vendor: document release cycle considerationsDmitri Shuralyov
Write down a few more things relevant to the process of maintaining the vendor directory for the std and cmd modules. This includes the import path of the package containing a tree consistency check, and some considerations regarding the Go release cycle. Also mention the updatestd command with enough context so that it's clear that it is okay to either use it to update everything at once, or instead update specific modules with individual 'go get' calls, whichever is a better fit for the task at hand. For #31806. For #36905. Change-Id: I37d391c557d6cf6ebf2751d71ab9c8f7c10d922d Reviewed-on: https://go-review.googlesource.com/c/go/+/739301 Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org> Reviewed-by: Ian Alexander <jitsu@google.com> Reviewed-by: Damien Neil <dneil@google.com> TryBot-Bypass: Dmitri Shuralyov <dmitshur@golang.org>
2024-09-30README.vendor: add note about GOROOT, recommend fresh goDavis Goodin
Using a different build of Go (specifically, a different GOROOT) to maintain the vendor directory doesn't always reproduce the same results. This can result in unknowingly creating a vendor directory that isn't able to build Go. Add a note to README.vendor to point this out. Specifically, mention that a mismatched GOROOT is an issue, and recommend using a fresh build of Go to maintain the vendor directory. Updates #69235 Change-Id: Id80c7607bf28bd76e43e1fdc672811c50f2bffb3 Reviewed-on: https://go-review.googlesource.com/c/go/+/616815 Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Auto-Submit: Sam Thanawalla <samthanawalla@google.com> Reviewed-by: Sam Thanawalla <samthanawalla@google.com> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
2024-04-02cmd: update vendored x/tools to 904c6baAlan Donovan
This fixes one of the many obstacles to enabling types.Alias by updating vet. The 'loopclosure' checker (formerly 'rangeloop') no longer reports any findings with go1.22, so the test needed work to ensure that it still runs on files with go1.21 semantics. Updates #65294 Change-Id: I987ff529d4e165b56b7241563c6003e63bf92bb1 Reviewed-on: https://go-review.googlesource.com/c/go/+/575315 Auto-Submit: Alan Donovan <adonovan@google.com> Reviewed-by: Robert Findley <rfindley@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2023-07-11src/README.vendor: s/latest/master/Jonathan Amsterdam
Update the README to specify the module query "@master" instead of "@latest". Vendoring the highest tagged version is unlikely to be right. Usually one wants to vendor the module at HEAD. Change-Id: Id00d23523a13fd3dcd73d6eacefdf50bcdbfa26e Reviewed-on: https://go-review.googlesource.com/c/go/+/508823 TryBot-Result: Gopher Robot <gobot@golang.org> Run-TryBot: Jonathan Amsterdam <jba@google.com> Reviewed-by: Bryan Mills <bcmills@google.com>
2023-01-03README.vendor: minor updatesIan Lance Taylor
Change-Id: Iaacc96e6302833019ebf7a82d5a1ae49f6ff1955 Reviewed-on: https://go-review.googlesource.com/c/go/+/460175 Run-TryBot: Ian Lance Taylor <iant@golang.org> Auto-Submit: Ian Lance Taylor <iant@golang.org> Reviewed-by: Bryan Mills <bcmills@google.com> Reviewed-by: Heschi Kreinick <heschi@google.com> TryBot-Result: Gopher Robot <gobot@golang.org>
2019-08-23all: update 'go get' command in standard library README.vendorJay Conrod
The -m flag is removed in Go 1.13. -d should be used instead. Change-Id: Ia53764748309f16cb231e5ac6770400a73804484 Reviewed-on: https://go-review.googlesource.com/c/go/+/191621 Run-TryBot: Jay Conrod <jayconrod@google.com> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
2019-05-09all: document vendoring in the standard libraryJay Conrod
Added documentation that explains special cases for vendored packages in the standard library and provides instructions for updating vendor directories. Fixes #31806 Change-Id: Ib697ed18eae28023ab0bfb9f4d250992c393571d Reviewed-on: https://go-review.googlesource.com/c/go/+/174999 Reviewed-by: Bryan C. Mills <bcmills@google.com>