Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 43 for GOSUMDB (0.08 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. go.env

    # The environment overrides everything else.
    
    # Use the Go module mirror and checksum database by default.
    # See https://proxy.golang.org for details.
    GOPROXY=https://proxy.golang.org,direct
    GOSUMDB=sum.golang.org
    
    # Automatically download newer toolchains as directed by go.mod files.
    # See https://go.dev/doc/toolchain for details.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 19:18:46 UTC 2023
    - 505 bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/mod_proxy_https.txt

    stderr 'invalid proxy URL.*proxydir'
    
    [!net:proxy.golang.org] stop
    
    # GOPROXY HTTPS paths may elide the "https://" prefix.
    # (See golang.org/issue/32191.)
    env GOPROXY=proxy.golang.org
    env GOSUMDB=
    go list -versions -m golang.org/x/text
    
    -- go.mod --
    module example.com
    go 1.13
    -- $WORK/proxydir/README.md --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 24 15:54:04 UTC 2023
    - 492 bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/mod_getx.txt

    [!net:golang.org] skip
    [!git] skip
    
    env GO111MODULE=on
    env GOPROXY=direct
    env GOSUMDB=off
    
    # 'go get -x' should log URLs with an HTTP or HTTPS scheme.
    # A bug had caused us to log schemeless URLs instead.
    go get -x golang.org/x/text@v0.1.0
    stderr '^# get https://golang.org/x/text\?go-get=1$'
    stderr '^# get https://golang.org/x/text\?go-get=1: 200 OK \([0-9.]+s\)$'
    ! stderr '^# get //.*'
    
    -- go.mod --
    module m
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 24 15:54:04 UTC 2023
    - 422 bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/mod_download_insecure_redirect.txt

    # golang.org/issue/29591: 'go get' was following plain-HTTP redirects even without -insecure (now replaced by GOINSECURE).
    
    [short] skip
    [!git] skip
    
    env GO111MODULE=on
    env GOPROXY=direct
    env GOSUMDB=off
    
    ! go mod download vcs-test.golang.org/insecure/go/insecure@latest
    stderr 'redirected .* to insecure URL'
    
    # insecure host
    env GOINSECURE=vcs-test.golang.org
    go clean -modcache
    go mod download vcs-test.golang.org/insecure/go/insecure@latest
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 24 15:54:04 UTC 2023
    - 934 bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/mod_proxy_errors.txt

    [short] skip
    
    env GO111MODULE=on
    env GOSUMDB=off
    env GOPROXY=direct
    
    # Server responses should be truncated to some reasonable number of lines.
    # (For now, exactly eight.)
    ! go list -m vcs-test.golang.org/auth/ormanylines@latest
    stderr '\tserver response:\n(.|\n)*\tline 8\n\t\[Truncated: too many lines.\]$'
    
    # Server responses should be truncated to some reasonable number of characters.
    ! go list -m vcs-test.golang.org/auth/oronelongline@latest
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 24 15:54:04 UTC 2023
    - 698 bytes
    - Viewed (0)
Back to top