Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 607 for goproxy (0.56 sec)

  1. 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)
  2. 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)
  3. src/cmd/go/testdata/script/list_std_vendor.txt

    cmp stdout $WORK/net-deps.txt
    
    
    # However, 'go mod' and 'go get' subcommands should report the original module
    # dependencies, not the vendored packages.
    
    [!net:golang.org] stop
    
    env GOPROXY=
    env GOWORK=off
    go mod why -m golang.org/x/net
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 24 15:54:04 UTC 2023
    - 883 bytes
    - Viewed (0)
  4. go.env

    # Values set by 'go env -w' and written to the user's go/env file override these.
    # 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)
  5. 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)
  6. src/cmd/go/testdata/script/get_insecure.txt

    [!git] skip
    
    env PATH=$WORK/tmp/bin${:}$PATH
    go build -o $WORK/tmp/bin/ssh ssh.go
    
    # Modules: Set up
    env GOPATH=$WORK/m/gp
    mkdir $WORK/m
    cp module_file $WORK/m/go.mod
    cd $WORK/m
    env GO111MODULE=on
    env GOPROXY=''
    
    # Modules: Try go get -d of HTTP-only repo (should fail).
    ! go get -d insecure.go-get-issue-15410.appspot.com/pkg/p
    
    # Modules: Try again with GOINSECURE (should succeed).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 16 14:41:02 UTC 2023
    - 937 bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/mod_download_git_decorate_full.txt

    # For older git versions we also set $HOME.
    env GIT_CONFIG_GLOBAL=$WORK${/}home${/}gopher${/}.gitconfig
    env HOME=$WORK${/}home${/}gopher
    exec git config --global --show-origin user.name
    stdout 'Go Gopher'
    
    env GOPROXY=direct
    
    exec git config --get log.decorate
    stdout 'full'
    
    # Test that Git log with user's global config '~/gitconfig' has log.decorate=full
    # go mod download has an error 'v1.x.y is not a tag'
    # with go1.16.14: 
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 07 16:37:00 UTC 2023
    - 1011 bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/mod_list_odd_tags.txt

    [short] skip
    [!git] skip
    
    env GOPROXY=direct
    
    go list -m vcs-test.golang.org/git/odd-tags.git@latest
    stdout -count=1 '^.'
    stdout '^vcs-test.golang.org/git/odd-tags.git v0.1.1-0.20220223184835-9d863d525bbf$'
    
    go list -m -versions vcs-test.golang.org/git/odd-tags.git
    stdout -count=1 '^.'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 24 15:54:04 UTC 2023
    - 392 bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/mod_prefer_compatible.txt

    # (Note that they may still be included in results from a proxy: in proxy mode,
    # we would need to fetch the whole zipfile for the latest compatible version in
    # order to determine whether it contains a go.mod file, and part of the point of
    # the proxy is to avoid fetching unnecessary data.)
    
    [!git] stop
    env GOPROXY=direct
    
    go list -versions -m github.com/russross/blackfriday
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jul 17 18:25:37 UTC 2023
    - 3.2K 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