]> Cypherpunks repositories - gostls13.git/commit
cmd/go: add 2 scripts test for git sha256 fetching
authorDavid Finkel <david.finkel@gmail.com>
Wed, 14 May 2025 00:54:15 +0000 (20:54 -0400)
committerGopher Robot <gobot@golang.org>
Tue, 20 May 2025 14:59:04 +0000 (07:59 -0700)
commit7b91ec07eb2938f964579e20bef09e418c5091aa
tree94c2a1fea95186bc461443f1bd6d00354c3aad72
parent312ceba3185b158a89d022bdaf64f3cf7670c891
cmd/go: add 2 scripts test for git sha256 fetching

Fast follow to golang.org/cl/636475 with a couple script tests that
build/runs a module that depends on a function inside a git repo using
sha256 hashes. (one with go get of a branch-name and the other
configuring go.mod directly)

Change-Id: Ief6c7efaf6d5c066dc54a3e4a63aad109f625abe
Reviewed-on: https://go-review.googlesource.com/c/go/+/672435
Reviewed-by: Michael Matloob <matloob@google.com>
Reviewed-by: Michael Matloob <matloob@golang.org>
Auto-Submit: Sam Thanawalla <samthanawalla@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Sam Thanawalla <samthanawalla@google.com>
src/cmd/go/internal/modfetch/codehost/git_test.go
src/cmd/go/testdata/script/build_git_sha256_go_get_branch.txt [new file with mode: 0644]
src/cmd/go/testdata/script/build_git_sha256_moddep.txt [new file with mode: 0644]
src/cmd/go/testdata/vcstest/git/gitrepo-sha256.txt