- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 398 for doEmit (0.11 sec)
-
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/JGitPluginSmokeTest.groovy
task commit { doLast { sourceFile.text = "hello world" grgit.add(patterns: [ 'sourceFile' ]) grgit.commit { message = "first commit" } } } task tag { dependsOn commit doLast {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 3.1K bytes - Viewed (0) -
src/cmd/go/testdata/script/mod_get_pseudo_other_branch.txt
# tag that appears in any commit that is a (transitive) parent of the commit # supplied to 'go get', regardless of branches [short] skip [!git] skip # For this test repository: # tag v0.2.1 is most recent tag on master itself # tag v0.2.2 is on branch2, which was then merged to master # master is a merge commit with both tags as parents #
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 24 15:54:04 UTC 2023 - 1.5K bytes - Viewed (0)