Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 607 for goproxy (0.18 sec)

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

    # an upgrade, 'go list -m -u' still succeeds.
    # We use a local file proxy, since our test proxy doesn't have the behavior
    # we want to test, and we don't want it to be too clever.
    # Verifies #45305, where proxy.golang.org serves an empty /@v/list (200)
    # but has no /@latest (410) because the go.mod at the tip of the default
    # branch has a different major version suffix.
    env testproxy=$GOPROXY
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 15 00:06:54 UTC 2021
    - 2K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/mod_get_direct.txt

    # Regression test for golang.org/issue/34092: with an empty module cache,
    # 'GOPROXY=direct go get golang.org/x/tools/gopls@master' did not correctly
    # 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)
  3. src/cmd/go/testdata/script/mod_graph.txt

    env GO111MODULE=on
    
    go mod graph
    stdout '^m rsc.io/quote@v1.5.2$'
    stdout '^rsc.io/quote@v1.5.2 rsc.io/sampler@v1.3.0$'
    ! stdout '^m rsc.io/sampler@v1.3.0$'
    ! stderr 'get '$GOPROXY
    
    rm $GOPATH/pkg/mod/cache/download/rsc.io/quote
    go mod graph -x
    stderr 'get '$GOPROXY
    
    -- go.mod --
    module m
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 10 21:10:42 UTC 2022
    - 317 bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/mod_get_replaced.txt

    go get example.com/x
    go list -m example.com/x
    stdout '^example.com/x v0.2.0 '
    
    go get example.com/x@<v0.2.0
    go list -m example.com/x
    stdout '^example.com/x v0.1.0 '
    
    
    # The same should work with GOPROXY=off.
    
    env GOPROXY=off
    cp go.mod.orig go.mod
    
    go mod edit -replace=example.com/x=./x
    go get example.com/x
    
    go list -m example.com/x
    stdout '^example.com/x v0.0.0-00010101000000-000000000000 '
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 15 16:24:01 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  5. hack/lint-dependencies.sh

    set -o errexit
    set -o nounset
    set -o pipefail
    
    KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/..
    source "${KUBE_ROOT}/hack/lib/init.sh"
    
    # Detect problematic GOPROXY settings that prevent lookup of dependencies
    if [[ "${GOPROXY:-}" == "off" ]]; then
      kube::log::error "Cannot run with \$GOPROXY=off"
      exit 1
    fi
    
    kube::golang::setup_env
    kube::util::require-jq
    
    # Set the Go environment, otherwise we get "can't compute 'all' using the
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:07:42 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/mod_list_pseudo.txt

    env GOSUMDB=off # don't verify go.mod files when loading retractions
    env GOPROXY=file:///$GOPATH/pkg/mod/cache/download
    env GOPATH=$WORK/gopath2
    mkdir $GOPATH
    
    go list -m -f '{{.Path}} {{.Version}} {{.Time.Format "2006-01-02"}}' github.com/dmitshur-test/modtest5@latest
    stdout '^github.com/dmitshur-test/modtest5 v0.5.0-alpha 2019-06-18$'
    
    # If the module proxy contains only pseudo-versions, 'latest' should stat
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 26 21:17:01 UTC 2020
    - 1.7K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/govcs.txt

    stderr '^go: github.com/google/go-cmp: unreachable pattern in GOVCS: "github.com:git" after "github.com:hg"$'
    
    # bad GOVCS patterns do not stop commands that do not need to check VCS
    go list
    env GOPROXY=$proxy
    go get rsc.io/quote # ok because used proxy
    env GOPROXY=direct
    
    # svn is disallowed by default
    env GOPRIVATE=
    env GOVCS=
    ! go get rsc.io/nonexist.svn/hello
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 16 14:41:02 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  8. hack/pin-dependency.sh

    set -o errexit
    set -o nounset
    set -o pipefail
    
    KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/..
    source "${KUBE_ROOT}/hack/lib/init.sh"
    
    # Detect problematic GOPROXY settings that prevent lookup of dependencies
    if [[ "${GOPROXY:-}" == "off" ]]; then
      kube::log::error "Cannot run with \$GOPROXY=off"
      exit 1
    fi
    
    kube::golang::setup_env
    kube::util::require-jq
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 05:44:43 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  9. hack/_update-generated-protobuf-dockerized.sh

    KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/..
    source "${KUBE_ROOT}/hack/lib/init.sh"
    source "${KUBE_ROOT}/hack/lib/protoc.sh"
    
    kube::protoc::check_protoc
    kube::golang::setup_env
    
    GOPROXY=off go install k8s.io/code-generator/cmd/go-to-protobuf
    GOPROXY=off go install k8s.io/code-generator/cmd/go-to-protobuf/protoc-gen-gogo
    
    # requires the 'proto' tag to build (will remove when ready)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:07:32 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/work_goproxy_off.txt

    # Because one module upgrades a transitive dependency needed by another,
    # listing the modules in the workspace should error out.
    
    go clean -modcache
    env GOPROXY=off
    ! go list -m all
    stderr '^go: rsc.io/sampler@v1.3.0: module lookup disabled by GOPROXY=off$'
    
    -- example.go --
    package example
    
    import _ "rsc.io/sampler"
    -- go.mod --
    module example
    
    go 1.19
    
    require rsc.io/sampler v1.3.0
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 14 19:05:09 UTC 2022
    - 1.2K bytes
    - Viewed (0)
Back to top