Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 20 for GONOSUMDB (0.22 sec)

  1. src/cmd/go/internal/modfetch/sumdb.go

    func useSumDB(mod module.Version) bool {
    	if mod.Path == "golang.org/toolchain" {
    		must := true
    		// Downloaded toolchains cannot be listed in go.sum,
    		// so we require checksum database lookups even if
    		// GOSUMDB=off or GONOSUMDB matches the pattern.
    		// If GOSUMDB=off, then the eventual lookup will fail
    		// with a good error message.
    
    		// Exception #1: using GOPROXY=file:// to test a distpack.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 20 15:02:47 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  2. src/crypto/ed25519/ed25519vectors_test.go

    	cmd := exec.Command(goTool, "mod", "download", "-modcacherw", "-json", path)
    	// TODO: enable the sumdb once the TryBots proxy supports it.
    	cmd.Env = append(os.Environ(), "GONOSUMDB=*")
    	output, err := cmd.Output()
    	if err != nil {
    		t.Fatalf("failed to run `go mod download -json %s`, output: %s", path, output)
    	}
    	var dm struct {
    		Dir string // absolute path to cached source root directory
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 25 14:52:51 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/mod/sumdb/client.go

    	}
    	c.nosumdb = list
    }
    
    // ErrGONOSUMDB is returned by [Client.Lookup] for paths that match
    // a pattern listed in the GONOSUMDB list (set by [Client.SetGONOSUMDB],
    // usually from the environment variable).
    var ErrGONOSUMDB = errors.New("skipped (listed in GONOSUMDB)")
    
    func (c *Client) skip(target string) bool {
    	return module.MatchPrefixPatterns(c.nosumdb, target)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 08 17:50:49 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  4. src/cmd/go/internal/cfg/cfg.go

    	GOSUMDB, GOSUMDBChanged     = EnvOrAndChanged("GOSUMDB", "")
    	GOPRIVATE                   = Getenv("GOPRIVATE")
    	GONOPROXY, GONOPROXYChanged = EnvOrAndChanged("GONOPROXY", GOPRIVATE)
    	GONOSUMDB, GONOSUMDBChanged = EnvOrAndChanged("GONOSUMDB", GOPRIVATE)
    	GOINSECURE                  = Getenv("GOINSECURE")
    	GOVCS                       = Getenv("GOVCS")
    )
    
    // EnvOrAndChanged returns the environment variable value
    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/internal/envcmd/env.go

    		{Name: "GOINSECURE", Value: cfg.GOINSECURE},
    		{Name: "GOMODCACHE", Value: cfg.GOMODCACHE, Changed: cfg.GOMODCACHEChanged},
    		{Name: "GONOPROXY", Value: cfg.GONOPROXY, Changed: cfg.GONOPROXYChanged},
    		{Name: "GONOSUMDB", Value: cfg.GONOSUMDB, Changed: cfg.GONOSUMDBChanged},
    		{Name: "GOOS", Value: cfg.Goos, Changed: cfg.Goos != runtime.GOOS},
    		{Name: "GOPATH", Value: cfg.BuildContext.GOPATH, Changed: cfg.GOPATHChanged},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 17:13:51 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  6. 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)
  7. src/cmd/go/internal/modfetch/fetch.go

    hashes are stored in a file in the module root directory named go.sum. Hashes
    may also be downloaded from the checksum database depending on the values of
    GOSUMDB, GOPRIVATE, and GONOSUMDB.
    
    For details, see https://golang.org/ref/mod#authenticating.
    `,
    }
    
    var HelpPrivate = &base.Command{
    	UsageLine: "private",
    	Short:     "configuration for downloading non-public code",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  8. src/cmd/go/internal/help/helpdoc.go

    		of module path prefixes that should always be fetched in an insecure
    		manner. Only applies to dependencies that are being fetched directly.
    		GOINSECURE does not disable checksum database validation. GOPRIVATE or
    		GONOSUMDB may be used to achieve that.
    	GOOS
    		The operating system for which to compile code.
    		Examples are linux, darwin, windows, netbsd.
    	GOPATH
    		Controls where various files are stored. See: 'go help gopath'.
    	GOPROXY
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  9. src/cmd/go/internal/modfetch/cache.go

    	// zip is extracted, but if it was deleted (by another program?), we need
    	// to re-calculate it. Note that checkMod will repopulate the ziphash
    	// file if it doesn't exist, but if the module is excluded by checks
    	// through GONOSUMDB or GOPRIVATE, that check and repopulation won't happen.
    	ziphashPath, err := CachePath(ctx, m, "ziphash")
    	if err != nil {
    		return dir, err
    	}
    	if _, err := os.Stat(ziphashPath); os.IsNotExist(err) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 18:15:22 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  10. src/cmd/go/alldocs.go

    //		of module path prefixes that should always be fetched in an insecure
    //		manner. Only applies to dependencies that are being fetched directly.
    //		GOINSECURE does not disable checksum database validation. GOPRIVATE or
    //		GONOSUMDB may be used to achieve that.
    //	GOOS
    //		The operating system for which to compile code.
    //		Examples are linux, darwin, windows, netbsd.
    //	GOPATH
    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