Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for GOVCS (0.03 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. src/cmd/go/script_test.go

    		"TESTGO_VCSTEST_TLS_HOST=" + httpsURL.Host,
    		"TESTGO_VCSTEST_CERT=" + srvCertFile,
    		"TESTGONETWORK=panic", // cleared by the [net] condition
    		"GOSUMDB=" + testSumDBVerifierKey,
    		"GONOPROXY=",
    		"GONOSUMDB=",
    		"GOVCS=*:all",
    		"devnull=" + os.DevNull,
    		"goversion=" + gover.Local(),
    		"CMDGO_TEST_RUN_MAIN=true",
    		"HGRCPATH=",
    		"GOTOOLCHAIN=auto",
    		"newline=\n",
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 18:15:22 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  6. src/cmd/go/internal/modfetch/fetch.go

    users would configure go using:
    
    	GOPRIVATE=*.corp.example.com
    	GOPROXY=proxy.example.com
    	GONOPROXY=none
    
    The GOPRIVATE variable is also used to define the "public" and "private"
    patterns for the GOVCS variable; see 'go help vcs'. For that usage,
    GOPRIVATE applies even in GOPATH mode. In that case, it matches import paths
    instead of module paths.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  7. src/cmd/go/internal/help/helpdoc.go

    	GOTOOLCHAIN
    		Controls which Go toolchain is used. See https://go.dev/doc/toolchain.
    	GOTMPDIR
    		The directory where the go command will write
    		temporary source files, packages, and binaries.
    	GOVCS
    		Lists version control commands that may be used with matching servers.
    		See 'go help vcs'.
    	GOWORK
    		In module aware mode, use the given go.work file as a workspace file.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 36.3K bytes
    - Viewed (0)
Back to top