Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for GOVCS (0.15 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.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/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)
  4. .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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top