Search Options

Results per page
Sort
Preferred Languages
Advance

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

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

    	"cmd/go/internal/work"
    	"cmd/internal/sys"
    
    	cmdgo "cmd/go"
    )
    
    func init() {
    	// GOVCS defaults to public:git|hg,private:all,
    	// which breaks many tests here - they can't use non-git, non-hg VCS at all!
    	// Change to fully permissive.
    	// The tests of the GOVCS setting itself are in ../../testdata/script/govcs.txt.
    	os.Setenv("GOVCS", "*:all")
    }
    
    var (
    	canRace = false // whether we can run the race detector
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 81.1K bytes
    - Viewed (0)
  9. 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)
  10. 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