Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 768 for doEmit (0.23 sec)

  1. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/xcode/XcodeSwiftExternalSourceDependenciesIntegrationTest.groovy

            singleProjectBuild("greeter") {
                buildFile << """
                    apply plugin: 'swift-library'
                """
                fixture.library.writeToProject(it)
            }
            def commit = repo.commit('initial commit')
    
            and:
            settingsFile << """
                sourceControl {
                    vcsMappings {
                        withModule("org.test:greeter") {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 13.7K bytes
    - Viewed (0)
  2. testing/internal-performance-testing/src/test/groovy/org/gradle/performance/results/TestPageGeneratorTest.groovy

    class TestPageGeneratorTest extends Specification {
    
        def "transforms a single commit id to a url"() {
            when:
            def urls = new TestPageGenerator().createGitHubLinks(['123456'])
    
            then:
            urls[0].url == 'https://github.com/gradle/gradle/commit/123456'
        }
    
        def "transforms two commit ids to urls"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  3. platforms/software/version-control/src/integTest/groovy/org/gradle/vcs/internal/GitVcsIntegrationTest.groovy

            evenDeeperRepo.file('foo').text = "baz"
            evenDeeperRepo.commit('initial commit', "foo")
            deeperRepo.file('foo').text = "bar"
            deeperRepo.commit("initial commit", "foo")
            // Add submodule to repo
            deeperRepo.addSubmodule(evenDeeperRepo)
            repo.addSubmodule(deeperRepo)
            def commit = repo.commit('initial commit')
    
            settingsFile << """
                sourceControl {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 16.6K bytes
    - Viewed (0)
  4. pkg/registry/core/service/storage/transaction_test.go

    		start int
    		want  int
    	}{{
    		name: "commit and revert match",
    		mt: metaTransaction{
    			callbackTransaction{
    				commit: func() {
    					temp = temp + 1
    				},
    				revert: func() {
    					temp = temp - 1
    				},
    			},
    		},
    		want: 10,
    	}, {
    		name: "commit and revert match multiple times",
    		mt: metaTransaction{
    			callbackTransaction{
    				commit: func() {
    					temp = temp + 1
    				},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Sep 11 17:49:37 UTC 2021
    - 2.9K bytes
    - Viewed (0)
  5. lib/time/update.bash

    	echo No updates needed.
    	exit 0
    fi
    
    echo Updated for $CODE/$DATA: $files
    
    commitmsg="lib/time: update to $CODE/$DATA
    
    Commit generated by update.bash.
    
    For #22487.
    "
    
    if [ "$1" = "-commit" ]; then
    	echo "Creating commit. Run 'git reset HEAD^' to undo commit."
    	echo
    	git commit -m "$commitmsg" $files
    	echo
    	git log -n1 --stat
    	echo
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 02 18:20:41 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/vcstest/git/vgotest1.txt

    env GIT_COMMITTER_EMAIL=$GIT_AUTHOR_EMAIL
    
    git init
    
    at 2018-02-19T17:21:09-05:00
    git add LICENSE README.md
    git commit -m 'initial commit'
    git branch -m master
    
    git checkout --detach HEAD
    
    at 2018-02-19T18:10:06-05:00
    mkdir pkg
    echo 'package p // pkg/p.go'
    cp stdout pkg/p.go
    git add pkg/p.go
    git commit -m 'add pkg/p.go'
    git tag v0.0.0
    git tag v1.0.0
    git tag mytag
    
    git checkout --detach HEAD
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 25 15:36:24 UTC 2022
    - 7.9K bytes
    - Viewed (0)
  7. build-logic/performance-testing/src/test/kotlin/gradlebuild/performance/tasks/DetermineBaselinesTest.kt

        }
    
        @Test
        fun `keeps flakiness-detection-commit as it is in coordinator build`() {
            verifyBaselineDetermination("any", true, flakinessDetectionCommitBaseline, flakinessDetectionCommitBaseline)
        }
    
        @Test
        fun `resolves to current commit in worker build`() {
            // given
            mockGitOperation(listOf("git", "rev-parse", "HEAD"), "current")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 21 09:29:24 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  8. platforms/software/version-control/src/test/groovy/org/gradle/vcs/git/internal/GitVersionControlSystemSpec.groovy

            anotherSource << 'Goodbye world!'
            c2 = repo.commit('Second Commit')
            repoHead = GitVersionRef.from(repo.head)
            repoSpec = new DefaultGitVersionControlSpec()
            repoSpec.url = repo.url
    
            submoduleRepo.workTree.file("foo.txt") << "hello from submodule"
            submoduleRepo.commit("initial commit")
    
            submoduleRepo2.workTree.file("bar.txt") << "hello from another submodule"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 13:11:16 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  9. pkg/registry/core/service/storage/transaction.go

    func (mt metaTransaction) Commit() {
    	for _, t := range mt {
    		t.Commit()
    	}
    }
    
    func (mt metaTransaction) Revert() {
    	for _, t := range mt {
    		t.Revert()
    	}
    }
    
    // callbackTransaction is a transaction which calls arbitrary functions.
    type callbackTransaction struct {
    	commit func()
    	revert func()
    }
    
    func (cb callbackTransaction) Commit() {
    	if cb.commit != nil {
    		cb.commit()
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Sep 11 17:49:37 UTC 2021
    - 1.6K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/build_git_missing_tree.txt

    env GIT_COMMITTER_EMAIL=$GIT_AUTHOR_EMAIL
    
    # Create 2 commit
    env GIT_COMMITTER_DATE=2024-01-30T10:52:00+08:00
    env GIT_AUTHOR_DATE=2024-01-30T10:52:00+08:00
    
    cd $WORK/repo
    exec git init
    exec git add go.mod main.go
    exec git commit -m 'initial commit'
    
    env GIT_COMMITTER_DATE=2024-01-30T10:53:00+08:00
    env GIT_AUTHOR_DATE=2024-01-30T10:53:00+08:00
    exec git add extra.go
    exec git commit -m 'add extra.go'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:30:18 UTC 2024
    - 1.3K bytes
    - Viewed (0)
Back to top