Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for GOVCS (0.04 sec)

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

    env GOVCS='github.com:svn|hg'
    ! go get github.com/google/go-cmp
    stderr '^go: GOVCS disallows using git for public github.com/google/go-cmp; see ''go help vcs''$'
    env GOVCS='github.com/google/go-cmp/inner:git,github.com:svn|hg'
    ! go get github.com/google/go-cmp
    stderr '^go: GOVCS disallows using git for public github.com/google/go-cmp; see ''go help vcs''$'
    
    # bad patterns are reported (for more bad patterns, see TestGOVCSErrors)
    env GOVCS='git'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 16 14:41:02 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  2. src/cmd/go/internal/vcs/vcs_test.go

    	err string
    }{
    	{`,`, `empty entry in GOVCS`},
    	{`,x`, `empty entry in GOVCS`},
    	{`x,`, `malformed entry in GOVCS (missing colon): "x"`},
    	{`x:y,`, `empty entry in GOVCS`},
    	{`x`, `malformed entry in GOVCS (missing colon): "x"`},
    	{`x:`, `empty VCS list in GOVCS: "x:"`},
    	{`x:|`, `empty VCS name in GOVCS: "x:|"`},
    	{`x:y|`, `empty VCS name in GOVCS: "x:y|"`},
    	{`x:|y`, `empty VCS name in GOVCS: "x:|y"`},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 03 15:33:59 UTC 2022
    - 17K bytes
    - Viewed (0)
  3. src/cmd/go/internal/vcs/vcs.go

    		// and are always allowed.
    		return nil
    	}
    
    	govcsOnce.Do(func() {
    		govcs, govcsErr = parseGOVCS(os.Getenv("GOVCS"))
    		govcs = append(govcs, defaultGOVCS...)
    	})
    	if govcsErr != nil {
    		return govcsErr
    	}
    
    	private := module.MatchPrefixPatterns(cfg.GOPRIVATE, root)
    	if !govcs.allow(root, private, vcs.Cmd) {
    		what := "public"
    		if private {
    			what = "private"
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:30:18 UTC 2024
    - 46.2K 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/internal/cfg/cfg.go

    	GOINSECURE
    	GOMIPS
    	GOMIPS64
    	GOMODCACHE
    	GONOPROXY
    	GONOSUMDB
    	GOOS
    	GOPATH
    	GOPPC64
    	GOPRIVATE
    	GOPROXY
    	GORISCV64
    	GOROOT
    	GOSUMDB
    	GOTMPDIR
    	GOTOOLCHAIN
    	GOTOOLDIR
    	GOVCS
    	GOWASM
    	GOWORK
    	GO_EXTLINK_ENABLED
    	PKG_CONFIG
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 06 01:33:19 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  6. .github/ISSUE_TEMPLATE/00-bug.yml

            GOPRIVATE=""
            GOPROXY="https://proxy.golang.org,direct"
            GOROOT="/usr/local/go"
            GOSUMDB="sum.golang.org"
            GOTMPDIR=""
            GOTOOLDIR="/usr/local/go/pkg/tool/darwin_arm64"
            GOVCS=""
            GOVERSION="go1.20.7"
            GCCGO="gccgo"
            AR="ar"
            CC="clang"
            CXX="clang++"
            CGO_ENABLED="1"
            GOMOD="/dev/null"
            GOWORK=""
            CGO_CFLAGS="-O2 -g"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 04 23:31:17 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  7. src/cmd/go/internal/modget/get.go

    variable; otherwise it is public.
    
    If no rules in the GOVCS variable match a particular module or import path,
    the 'go get' command applies its default rule, which can now be summarized
    in GOVCS notation as 'public:git|hg,private:all'.
    
    To allow unfettered use of any version control system for any package, use:
    
    	GOVCS=*:all
    
    To disable all use of version control, use:
    
    	GOVCS=*:off
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 18:26:32 UTC 2024
    - 66.5K bytes
    - Viewed (0)
  8. src/cmd/go/internal/envcmd/env.go

    		{Name: "GOSUMDB", Value: cfg.GOSUMDB, Changed: cfg.GOSUMDBChanged},
    		{Name: "GOTMPDIR", Value: cfg.Getenv("GOTMPDIR")},
    		{Name: "GOTOOLCHAIN"},
    		{Name: "GOTOOLDIR", Value: build.ToolDir},
    		{Name: "GOVCS", Value: cfg.GOVCS},
    		{Name: "GOVERSION", Value: runtime.Version()},
    		{Name: "GODEBUG", Value: os.Getenv("GODEBUG")},
    		{Name: "GOTELEMETRY", Value: telemetry.Mode()},
    		{Name: "GOTELEMETRYDIR", Value: telemetry.Dir()},
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 17:13:51 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  9. src/cmd/go/internal/cfg/cfg.go

    	GONOPROXY, GONOPROXYChanged = EnvOrAndChanged("GONOPROXY", GOPRIVATE)
    	GONOSUMDB, GONOSUMDBChanged = EnvOrAndChanged("GONOSUMDB", GOPRIVATE)
    	GOINSECURE                  = Getenv("GOINSECURE")
    	GOVCS                       = Getenv("GOVCS")
    )
    
    // EnvOrAndChanged returns the environment variable value
    // and reports whether it differs from the default value.
    func EnvOrAndChanged(name, def string) (v string, changed bool) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 17:13:51 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  10. src/cmd/go/alldocs.go

    // variable; otherwise it is public.
    //
    // If no rules in the GOVCS variable match a particular module or import path,
    // the 'go get' command applies its default rule, which can now be summarized
    // in GOVCS notation as 'public:git|hg,private:all'.
    //
    // To allow unfettered use of any version control system for any package, use:
    //
    //	GOVCS=*:all
    //
    // To disable all use of version control, use:
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 142.4K bytes
    - Viewed (0)
Back to top