Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 53 for GOSUMDB (0.22 sec)

  1. src/cmd/go/testdata/script/mod_sum_issue56222.txt

    # Issue 60667: 'go list' without -mod=mod shouldn't report the checksums as
    # dirty either.
    go list -m -u all
    
    env OLDSUMDB=$GOSUMDB
    env GOSUMDB=bad
    go mod tidy
    
    env GOSUMDB=$OLDSUMDB
    
    
    # Regardless of the go version in go.mod, 'go get -t' should fetch
    # enough checksums to run 'go test' on the named package.
    
    rm p
    go mod tidy -go=1.20
    go list -m all
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 12 13:58:58 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/mod_get_major.txt

    [short] skip
    [!git] skip
    
    env GO111MODULE=on
    env GOPROXY=direct
    env GOSUMDB=off
    
    # golang.org/issue/34383: if a module path ends in a major-version suffix,
    # ensure that 'direct' mode can resolve the package to a module.
    
    go get vcs-test.golang.org/git/v3pkg.git/v3@v3.0.0
    
    go list -m vcs-test.golang.org/git/v3pkg.git/v3
    stdout '^vcs-test.golang.org/git/v3pkg.git/v3 v3.0.0$'
    
    go get vcs-test.golang.org/git/empty-v2-without-v1.git/v2@v2.0.0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 24 15:54:04 UTC 2023
    - 616 bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/mod_sumdb_file_path.txt

    [!net:proxy.golang.org] skip
    [!net:sum.golang.org] skip
    
    env GO111MODULE=on
    [go-builder] env GOSUMDB=
    [!go-builder] env GOSUMDB=sum.golang.org  # Set explicitly in case GOROOT/go.env is modified.
    env GOPATH=$WORK/gopath1
    
    # With a file-based proxy with an empty checksum directory,
    # downloading a new module should fail, even if a subsequent
    # proxy contains a more complete mirror of the sum database.
    #
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jul 17 18:25:37 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/mod_gopkg_unstable.txt

    cp x.go.txt x.go
    cp go.mod.empty go.mod
    go list
    
    [!net:gopkg.in] skip
    [!git] skip
    
    skip  # TODO(#54503): redirect gopkg.in requests to a local server and re-enable.
    
    env GOPROXY=direct
    env GOSUMDB=off
    go get gopkg.in/macaroon-bakery.v2-unstable/bakery
    go list -m all
    stdout 'gopkg.in/macaroon-bakery.v2-unstable v2.0.0-[0-9]+-[0-9a-f]+$'
    
    -- go.mod.empty --
    module m
    
    -- x.go.txt --
    package x
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 24 15:54:04 UTC 2023
    - 509 bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/mod_missing_repo.txt

    # subgroups could not be fetched because the server returned bogus go-import
    # tags for prefixes of the module path.
    
    [short] skip
    [!git] skip
    
    env GO111MODULE=on
    env GOPROXY=direct
    env GOSUMDB=off
    
    ! go mod download vcs-test.golang.org/go/missingrepo/missingrepo-git@latest
    stderr 'vcs-test.golang.org/go/missingrepo/missingrepo-git: git ls-remote .*: exit status .*'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 24 15:54:04 UTC 2023
    - 534 bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/mod_get_hash.txt

    env GO111MODULE=on
    env GOPROXY=direct
    env GOSUMDB=off
    [!net:golang.org] skip
    [!git] skip
    
    # fetch commit hash reachable from refs/heads/* and refs/tags/* is OK
    go list -m golang.org/x/time@8be79e1e0910c292df4e79c241bb7e8f7e725959 # on master branch
    
    # fetch other commit hash, even with a non-standard ref, is not OK
    ! go list -m golang.org/x/time@334d83c35137ac2b376c1dc3e4c7733791855a3a # refs/changes/24/41624/3
    stderr 'unknown revision'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 24 15:54:04 UTC 2023
    - 626 bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/mod_list_direct.txt

    env GO111MODULE=on
    env GOPROXY=direct
    env GOSUMDB=off
    
    [short] skip
    [!git] skip
    
    # golang.org/issue/33099: if an import path ends in a major-version suffix,
    # ensure that 'direct' mode can resolve the package to the module.
    # For a while, (*modfetch.codeRepo).Stat was not checking for a go.mod file,
    # which would produce a hard error at the subsequent call to GoMod.
    
    go get -v
    
    -- go.mod --
    module example.com
    go 1.13
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 24 15:54:04 UTC 2023
    - 514 bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/mod_download_too_many_redirects.txt

    env GO111MODULE=on
    env GOPROXYBASE=$GOPROXY
    env GOPROXY=$GOPROXYBASE/redirect/11
    env GOSUMDB=off
    
    ! go mod download rsc.io/quote@v1.2.0
    stderr 'stopped after 10 redirects'
    
    env GOPROXY=$GOPROXYBASE/redirect/9
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:08 UTC 2021
    - 245 bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/mod_auth.txt

    [short] skip
    
    env GO111MODULE=on
    env GOPROXY=direct
    env GOSUMDB=off
    env GOVCS='*:off'
    
    # Without credentials, downloading a module from a path that requires HTTPS
    # basic auth should fail.
    env NETRC=$WORK/empty
    ! go mod tidy
    stderr '^\tserver response: ACCESS DENIED, buddy$'
    stderr '^\tserver response: File\? What file\?$'
    
    # With credentials from a netrc file, it should succeed.
    env NETRC=$WORK/netrc
    go mod tidy
    go list all
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 24 15:54:04 UTC 2023
    - 763 bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/mod_get_direct.txt

    # resolve the pseudo-version for its dependency on golang.org/x/tools.
    
    [!net:cloud.google.com] skip
    [!git] skip
    
    env GO111MODULE=on
    env GOPROXY=direct
    env GOSUMDB=off
    
    go list -m cloud.google.com/go@main
    ! stdout 'v0.0.0-'
    
    -- go.mod --
    module example.com
    
    go 1.14
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 24 15:54:04 UTC 2023
    - 429 bytes
    - Viewed (0)
Back to top