Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 607 for goproxy (0.14 sec)

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

    cd $WORK/x
    go mod edit -fmt
    go list -mod=readonly
    env GOPROXY=file:///nonexist
    go list
    grep v1.5.1 $GOPATH/pkg/mod/cache/download/rsc.io/quote/@v/list
    
    # Use download cache as file:/// proxy.
    env GOPATH=$WORK/gopath2
    [GOOS:windows] env GOPROXY=file:///C:/nonexist
    [!GOOS:windows] env GOPROXY=file:///nonexist
    ! go list
    [GOOS:windows] env GOPROXY=file:///$WORK/gopath1/pkg/mod/cache/download
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/mod_proxy_invalid.txt

    env GO111MODULE=on
    env GOPROXY=$GOPROXY/invalid
    
    ! go list -m rsc.io/quote@latest
    stderr '^go: module rsc.io/quote: invalid response from proxy "'$GOPROXY'": invalid character ''i'' looking for beginning of value$'
    
    ! go list -m rsc.io/quote@1.5.2
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 15 00:06:54 UTC 2021
    - 397 bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/mod_proxy_https.txt

    env GO111MODULE=on
    
    # GOPROXY file paths must provide the "file://" prefix explicitly.
    env GOPROXY=$WORK/proxydir
    ! go list -versions -m golang.org/x/text
    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
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 24 15:54:04 UTC 2023
    - 492 bytes
    - Viewed (0)
  4. 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)
  5. src/cmd/go/testdata/script/mod_tidy_support_buildx.txt

    # commands tidy executes.
    # Verifies golang.org/issue/35849
    
    rm $GOPATH/pkg/mod/cache/download/rsc.io/quote
    go mod tidy
    ! stderr 'get '$GOPROXY
    
    rm $GOPATH/pkg/mod/cache/download/rsc.io/quote
    go mod tidy -x
    stderr 'get '$GOPROXY
    
    -- go.mod --
    module example.com/mod
    
    -- a.go --
    package mod
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 10 21:10:40 UTC 2022
    - 360 bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/mod_query_empty.txt

    env GOPROXY=file:///$WORK/emptysub
    cp go.mod.orig go.mod
    go get example.com/join/subpkg
    go list -m example.com/join/...
    ! stdout 'example.com/join/subpkg'
    stdout 'example.com/join v1.1.0'
    
    # If @v/list includes a version that the proxy does not actually serve,
    # that version is treated as nonexistent.
    env GOPROXY=file:///$WORK/notfound
    cp go.mod.orig go.mod
    go get example.com/join/subpkg
    go list -m example.com/join/...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 2.7K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/mod_list_issue61423.txt

    ! stdout '"Ref":'
    ! stdout '"TagSum":'
    ! stdout '"Reuse":'
    
    
    # With GOPROXY=direct, the -reuse flag has an effect, but
    # the Origin data from the proxy should not be sufficient
    # for the proxy response to be reused.
    
    env GOPROXY=direct
    
    go list -reuse=proxy-latest.json -m -json vcs-test.golang.org/git/issue61415.git@latest
    stdout '"Version": "v0.0.0-20231114180001-f213069baa68"'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 17 22:43:50 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/mod_fileproxy_vcs_missing_issue51589.txt

    # This test checks that "go mod tidy -e" do not panic when
    # using a file goproxy that is missing some modules.
    # Verifies golang.org/issue/51589
    
    # download the modules first
    env GO111MODULE=on
    env GOPATH=$WORK/gopath
    cd $WORK/x
    go mod tidy
    
    # Use download cache as file:/// proxy.
    [GOOS:windows] env GOPROXY=file:///$WORK/gopath/pkg/mod/cache/download
    [!GOOS:windows] env GOPROXY=file://$WORK/gopath/pkg/mod/cache/download
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 990 bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/mod_sumdb.txt

    env GO111MODULE=on
    env sumdb=$GOSUMDB
    env proxy=$GOPROXY
    env GOPROXY GONOPROXY GOSUMDB GONOSUMDB
    env dbname=localhost.localdev/sumdb
    
    # disagreeing with the sumdb produces security errors
    # (this also populates tiles on the sumdb server).
    cp go.mod.orig go.mod
    env GOSUMDB=$sumdb' '$proxy/sumdb-wrong
    ! go get rsc.io/quote
    stderr 'go: rsc.io/quote@v1.5.2: verifying module: checksum mismatch'
    stderr 'downloaded: h1:3fEy'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 1.2K bytes
    - Viewed (0)
  10. hack/update-internal-modules.sh

            | while read -r F; do \
                dirname "${F}"; \
            done
        )
    
    # Detect problematic GOPROXY settings that prevent lookup of dependencies
    if [[ "${GOPROXY:-}" == "off" ]]; then
      kube::log::error "Cannot run hack/update-internal-modules.sh with \$GOPROXY=off"
      exit 1
    fi
    
    kube::golang::setup_env
    
    for mod in "${MODULES[@]}"; do
      echo "=== tidying go.mod/go.sum in ${mod}"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 02 22:38:25 UTC 2024
    - 1.6K bytes
    - Viewed (0)
Back to top