Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 78 for rev (0.05 sec)

  1. src/cmd/go/internal/modfetch/codehost/git.go

    	// below, in case we already have the rev in question in the local cache.
    	var ref, hash string
    	if refs["refs/tags/"+rev] != "" {
    		ref = "refs/tags/" + rev
    		hash = refs[ref]
    		// Keep rev as is: tags are assumed not to change meaning.
    	} else if refs["refs/heads/"+rev] != "" {
    		ref = "refs/heads/" + rev
    		hash = refs[ref]
    		rev = hash // Replace rev, because meaning of refs/heads/foo can change.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 11 22:10:38 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  2. src/cmd/go/internal/modfetch/codehost/git_test.go

    		{
    			repo: gitrepo1,
    			rev:  "latest",
    			file: "README",
    			data: "",
    		},
    		{
    			repo: gitrepo1,
    			rev:  "v2",
    			file: "another.txt",
    			data: "another\n",
    		},
    		{
    			repo: gitrepo1,
    			rev:  "v2.3.4",
    			file: "another.txt",
    			err:  fs.ErrNotExist.Error(),
    		},
    	} {
    		t.Run(path.Base(tt.repo)+"/"+tt.rev+"/"+tt.file, runTest(tt))
    		if tt.repo == gitrepo1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 19:46:23 UTC 2023
    - 18.9K bytes
    - Viewed (0)
  3. src/cmd/go/internal/modfetch/coderepo_test.go

    				}
    
    				info, err := repo.Stat(ctx, tt.rev)
    				if err != nil {
    					if tt.err != "" {
    						if !strings.Contains(err.Error(), tt.err) {
    							t.Fatalf("repoStat(%q): %v, wanted %q", tt.rev, err, tt.err)
    						}
    						return
    					}
    					t.Fatalf("repo.Stat(%q): %v", tt.rev, err)
    				}
    				if tt.err != "" {
    					t.Errorf("repo.Stat(%q): success, wanted error", tt.rev)
    				}
    				if info.Version != tt.version {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 18 20:10:14 UTC 2023
    - 29.4K bytes
    - Viewed (0)
  4. istioctl/pkg/checkinject/checkinject_test.go

    					Revision: "default",
    					Reason: "No matching namespace labels (istio.io/rev=default, istio-injection=enabled) " +
    						"or pod labels (istio.io/rev=default, sidecar.istio.io/inject=true)",
    				},
    				{
    					Name:     "istio-sidecar-injector-1-16",
    					Revision: "1-16",
    					Reason:   "No matching namespace labels (istio.io/rev=1-16) or pod labels (istio.io/rev=1-16)",
    				},
    				{
    					Name:     "istio-sidecar-injector-deactivated",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 15 15:02:17 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  5. src/cmd/go/internal/modfetch/codehost/vcs.go

    		statLocal: func(rev, remote string) []string {
    			return []string{"hg", "log", "-l1", "-r", rev, "--template", "{node} {date|hgdate} {tags}"}
    		},
    		parseStat: hgParseStat,
    		fetch:     []string{"hg", "pull", "-f"},
    		latest:    "tip",
    		readFile: func(rev, file, remote string) []string {
    			return []string{"hg", "cat", "-r", rev, file}
    		},
    		readZip: func(rev, subdir, remote, target string) []string {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:50:24 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  6. src/cmd/go/internal/modfetch/codehost/codehost.go

    // used in pseudo-versions (12 hex digits).
    func ShortenSHA1(rev string) string {
    	if AllHex(rev) && len(rev) == 40 {
    		return rev[:12]
    	}
    	return rev
    }
    
    // WorkDir returns the name of the cached work directory to use for the
    // given repository type and name.
    func WorkDir(ctx context.Context, typ, name string) (dir, lockfile string, err error) {
    	if cfg.GOMODCACHE == "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:50:24 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  7. src/cmd/go/internal/modfetch/coderepo.go

    			return r
    		}
    		if semver.Build(rev) == "+incompatible" {
    			rev = rev[:len(rev)-len("+incompatible")]
    		}
    		if r.codeDir == "" {
    			return rev
    		}
    		return r.codeDir + "/" + rev
    	}
    	return rev
    }
    
    func (r *codeRepo) versionToRev(version string) (rev string, err error) {
    	if !semver.IsValid(version) {
    		return "", &module.ModuleError{
    			Path: r.modPath,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:50:24 UTC 2024
    - 38.4K bytes
    - Viewed (0)
  8. src/cmd/go/internal/modfetch/cache.go

    // GoMod is like Lookup(ctx, path).GoMod(rev) but avoids the
    // repository path resolution in Lookup if the result is
    // already cached on local disk.
    func GoMod(ctx context.Context, path, rev string) ([]byte, error) {
    	// Convert commit hash to pseudo-version
    	// to increase cache hit rate.
    	if !gover.ModIsValid(path, rev) {
    		if _, info, err := readDiskStat(ctx, path, rev); err == nil {
    			rev = info.Version
    		} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 18:15:22 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  9. tests/integration/pilot/testdata/upgrade/1.11.0-beta.1-cni-install.yaml.tar

    apiVersion: v1 kind: ServiceAccount metadata: name: istio-cni namespace: kube-system labels: app: istio-cni release: istio istio.io/rev: default install.operator.istio.io/owning-resource: unknown operator.istio.io/component: "Cni" --- apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: name: istio-cni labels: app: istio-cni release: istio istio.io/rev: default install.operator.istio.io/owning-resource: unknown operator.istio.io/component: "Cni" rules: - apiGroups: [""] resources:...
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jul 29 18:43:32 UTC 2021
    - 10K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/parser/IvyXmlModuleDescriptorParserTest.groovy

                        <dependency name="mymodule2" rev="1.2"/>
                        <dependency name="mymodule2" rev="1.2" conf=""/>
                        <dependency name="mymodule2" rev="1.2" conf="a"/>
                        <dependency name="mymodule2" rev="1.2" conf="b"/>
                        <dependency name="mymodule2" rev="1.2" conf="a->other"/>
                        <dependency name="mymodule2" rev="1.2" conf="*->@"/>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 33.8K bytes
    - Viewed (0)
Back to top