Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 286 for rev (0.02 sec)

  1. 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)
  2. 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)
  3. hack/pin-dependency.sh

    if meta=$(go mod download -json "${replacement}@${sha}"); then
        rev=$(echo "${meta}" | jq -r ".Version")
    else
        error=$(echo "${meta}" | jq -r ".Error")
        echo "Download failed: ${error}" >&2
        exit 1
    fi
    echo "Resolved to ${replacement}@${rev}"
    
    # Add the require directive
    echo "Running: go mod edit -require ${dep}@${rev}"
    go mod edit -require "${dep}@${rev}"
    
    # Add the replace directive
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 05:44:43 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  4. 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)
  5. tests/integration/pilot/cross_revision_test.go

    			namespaces := make([]revisionedNamespace, 0, len(extraRevs))
    			for _, rev := range extraRevs {
    				namespaces = append(namespaces, revisionedNamespace{
    					revision: rev,
    					namespace: namespace.NewOrFail(t, t, namespace.Config{
    						Prefix:   fmt.Sprintf("revision-%s", rev),
    						Inject:   true,
    						Revision: rev,
    					}),
    				})
    			}
    			// Allow all namespaces so we do not hit passthrough cluster
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 3K bytes
    - Viewed (0)
  6. manifests/charts/istio-control/istio-discovery/templates/validatingwebhookconfiguration.yaml

      labels:
        app: istiod
        release: {{ .Release.Name }}
        istio: istiod
        istio.io/rev: {{ .Values.revision | default "default" | quote }}
    webhooks:
      # Webhook handling per-revision validation. Mostly here so we can determine whether webhooks
      # are rejecting invalid configs on a per-revision basis.
      - name: rev.validation.istio.io
        clientConfig:
          # Should change from base but cannot for API compat
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 18 18:16:49 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  7. manifests/charts/istiod-remote/templates/validatingwebhookconfiguration.yaml

      labels:
        app: istiod
        release: {{ .Release.Name }}
        istio: istiod
        istio.io/rev: {{ .Values.revision | default "default" | quote }}
    webhooks:
      # Webhook handling per-revision validation. Mostly here so we can determine whether webhooks
      # are rejecting invalid configs on a per-revision basis.
      - name: rev.validation.istio.io
        clientConfig:
          # Should change from base but cannot for API compat
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 18 18:16:49 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  8. hack/apidiff.sh

            exit 1
        fi
    fi
    base="$(git rev-parse --verify "${base}")"
    
    # Give some information about what's happening. Failures from "git describe" are ignored
    # silently, that's optional information.
    describe () {
        local rev="$1"
        local descr
        echo -n "$rev"
        if descr=$(git describe --tags "${rev}" 2>/dev/null); then
            echo -n " (= ${descr})"
        fi
        echo
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 26 09:00:03 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  9. maven-embedder/src/main/java/org/apache/maven/cli/CLIReportingUtils.java

            String rev = reduce(buildProperties.getProperty("buildNumber"));
            String distributionName = reduce(buildProperties.getProperty("distributionName"));
    
            String msg = distributionName + " ";
            msg += (version != null ? version : "<version unknown>");
            if (rev != null || timestamp != null) {
                msg += " (";
                msg += (rev != null ? rev : "");
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Feb 28 23:31:59 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/storage/etcd3/store.go

    		if err != nil {
    			return nil, storage.NewInternalError(err.Error())
    		}
    		state.rev = getResp.Kvs[0].ModRevision
    		state.meta.ResourceVersion = uint64(state.rev)
    		state.data = data
    		state.stale = stale
    		if err := decode(s.codec, s.versioner, state.data, state.obj, state.rev); err != nil {
    			recordDecodeError(s.groupResourceString, key)
    			return nil, err
    		}
    	}
    	return state, nil
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 11:56:42 UTC 2024
    - 35.2K bytes
    - Viewed (0)
Back to top