Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for newRepo (0.12 sec)

  1. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/repositories/DefaultIvyArtifactRepositoryTest.groovy

            metadataSources.isIgnoreGradleMetadataRedirectionEnabled()
        }
    
        def "repositories have the same id when base url and other configuration is the same"() {
            def repo = newRepo()
            def same = newRepo()
            def different = newRepo()
    
            given:
            repo.url = new URI("http://localhost")
            same.url = new URI("http://localhost")
            different.url = new URI("http://localhost/repo")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 24K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/repositories/DefaultFlatDirArtifactRepositoryTest.groovy

        }
    
        def "repositories have the same id when base dirs and other configuration is the same"() {
            def repo = newRepo()
            def same = newRepo()
            def different = newRepo()
    
            given:
            repo.dirs('a', 'b')
            same.dirs('a', 'b')
            different.dirs('a')
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/repositories/DefaultMavenArtifactRepositoryTest.groovy

            metadataSources.isIgnoreGradleMetadataRedirectionEnabled()
        }
    
        def "repositories have the same id when base url and other configuration is the same"() {
            def repo = newRepo()
            def same = newRepo()
            def different = newRepo()
    
            given:
            repo.url = new URI("http://localhost")
            same.url = new URI("http://localhost")
            different.url = new URI("http://localhost/repo")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 14.6K bytes
    - Viewed (0)
  4. build-logic/documentation/src/test/groovy/gradlebuild/docs/model/SimpleClassMetaDataRepositoryTest.groovy

            repository.put('class', value)
    
            when:
            repository.store(file)
            def newRepo = new SimpleClassMetaDataRepository<TestDomainObject>()
            newRepo.load(file)
    
            then:
            newRepo.find('class') == value
        }
    }
    
    class TestDomainObject implements Attachable<TestDomainObject>, Serializable {
        def value
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Apr 06 02:21:33 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  5. src/cmd/go/internal/modfetch/codehost/shell.go

    }
    
    func main() {
    	cfg.GOMODCACHE = "/tmp/vcswork"
    	log.SetFlags(0)
    	log.SetPrefix("shell: ")
    	flag.Usage = usage
    	flag.Parse()
    	if flag.NArg() != 2 {
    		usage()
    	}
    
    	repo, err := codehost.NewRepo(flag.Arg(0), flag.Arg(1))
    	if err != nil {
    		log.Fatal(err)
    	}
    
    	b := bufio.NewReader(os.Stdin)
    	for {
    		fmt.Fprintf(os.Stderr, ">>> ")
    		line, err := b.ReadString('\n')
    		if err != nil {
    			log.Fatal(err)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 2.8K bytes
    - Viewed (0)
  6. staging/README.md

       [#kubernetes/kubernetes#91354](https://github.com/kubernetes/kubernetes/blob/release-1.24/staging/src/k8s.io/client-go/doc.go)
       for reference.
    
    7. NOTE: Do not edit go.mod or go.sum in the new repo (staging/src/k8s.io/<newrepo>/) manually. Run the following instead:
    
    ```
      ./hack/update-vendor.sh
    ```
    
    8. Run [`./hack/update-go-workspace.sh`](/hack/update-go-workspace.sh) to add
       the module to the workspace.
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 11:23:09 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  7. src/cmd/go/internal/modfetch/codehost/git_test.go

    	}
    	testenv.MustHaveExecPath(t, vcsName)
    	if runtime.GOOS == "android" && strings.HasSuffix(testenv.Builder(), "-corellium") {
    		testenv.SkipFlaky(t, 59940)
    	}
    	return NewRepo(ctx, vcsName, remote)
    }
    
    func TestTags(t *testing.T) {
    	t.Parallel()
    
    	type tagsTest struct {
    		repo   string
    		prefix string
    		tags   []Tag
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 19:46:23 UTC 2023
    - 18.9K bytes
    - Viewed (0)
  8. src/cmd/go/internal/modfetch/codehost/vcs.go

    func vcsErrorf(format string, a ...any) error {
    	return &VCSError{Err: fmt.Errorf(format, a...)}
    }
    
    type vcsCacheKey struct {
    	vcs    string
    	remote string
    }
    
    func NewRepo(ctx context.Context, vcs, remote string) (Repo, error) {
    	return vcsRepoCache.Do(vcsCacheKey{vcs, remote}, func() (Repo, error) {
    		repo, err := newVCSRepo(ctx, vcs, remote)
    		if err != nil {
    			return nil, &VCSError{err}
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:50:24 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  9. src/cmd/go/internal/modfetch/repo.go

    	if err != nil {
    		return nil, err
    	}
    	return newCodeRepo(code, rr.Root, path)
    }
    
    func lookupCodeRepo(ctx context.Context, rr *vcs.RepoRoot) (codehost.Repo, error) {
    	code, err := codehost.NewRepo(ctx, rr.VCS.Cmd, rr.Repo)
    	if err != nil {
    		if _, ok := err.(*codehost.VCSError); ok {
    			return nil, err
    		}
    		return nil, fmt.Errorf("lookup %s: %v", rr.Root, err)
    	}
    	return code, nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 16:36:19 UTC 2023
    - 15.2K bytes
    - Viewed (0)
  10. pkg/registry/discovery/endpointslice/strategy.go

    		ogNewMeta.Generation = ogOldMeta.Generation + 1
    	}
    
    	newEPS.ObjectMeta = ogNewMeta
    	oldEPS.ObjectMeta = ogOldMeta
    
    	dropDisabledFieldsOnUpdate(oldEPS, newEPS)
    	dropTopologyOnV1(ctx, oldEPS, newEPS)
    }
    
    // Validate validates a new EndpointSlice.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jan 02 10:00:01 UTC 2023
    - 7.6K bytes
    - Viewed (0)
Back to top