Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 92 for untracked (0.11 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/api/internal/tasks/TaskCacheabilityReasonIntegrationTest.groovy

            then:
            assertCachingDisabledFor NOT_ENABLED_FOR_TASK, "Task is untracked because: Untracked for testing from API"
        }
    
    
        def "cacheability for a untracked task is NOT_ENABLED_FOR_TASK with message"() {
            buildFile """
                task untrackedTrackWithReason(type: UntrackedTrackWithReason) {}
            """
            when:
            withBuildCache().run "untrackedTrackWithReason"
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 16:59:01 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/api/internal/tasks/execution/TaskExecution.java

                    .withContext("Copying to a directory which contains unreadable content is not supported.")
                    .withAdvice("Declare the task as untracked by using Task.doNotTrackState().");
            } else if (isDestinationDir && task instanceof Sync) {
                builder.withSummary("Cannot access a file in the destination directory.")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 13:46:07 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  3. hack/update-codegen.sh

        # modified and untracked files because this might be running against code
        # which is not tracked by git yet.
        git ls-files -cmo --exclude-standard ':!:vendor/*' "${DIRS_TO_AVOID[@]}" "$@"
    }
    
    function git_grep() {
        # We want to include modified and untracked files because this might be
        # running against code which is not tracked by git yet.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 15:15:31 UTC 2024
    - 29.2K bytes
    - Viewed (0)
  4. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/BuildCacheStepTest.groovy

                loadedOutputDir.mkdirs()
                loadedOutputDir.file("output.txt") << "output"
                throw failure
            }
    
            then:
            0 * _
        }
    
        def "does not store untracked result in cache"() {
            given:
            def execution = Mock(Execution)
    
            when:
            def result = step.execute(work, context)
    
            then:
            result == delegateResult
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 02 10:13:50 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  5. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/BuildCacheStep.java

            }
        }
    
        /**
         * Stores the results of the given work in the build cache, unless storing was disabled for this execution or work was untracked.
         * <p>
         * The former is currently used only for tasks and can be triggered via {@code org.gradle.api.internal.TaskOutputsEnterpriseInternal}.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 05 13:41:13 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  6. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/tasks/ValidatePluginsPart1IntegrationTest.groovy

                 additionalData.asMap == [ 'typeName' : 'MyTransformAction' ]
             }
        }
    
        def "untracked tasks don't need a disable caching by default reason"() {
            javaTaskSource << """
                import org.gradle.api.*;
                import org.gradle.api.tasks.*;
    
                @UntrackedTask(because = "untracked for validation test")
                public abstract class MyTask extends DefaultTask {
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  7. src/cmd/go/internal/vcs/vcs.go

    		if i := bytes.IndexByte(out, ' '); i > 0 {
    			out = out[:i]
    		}
    		rev, commitTime, err = parseRevTime(out)
    		if err != nil {
    			return Status{}, err
    		}
    	}
    
    	// Also look for untracked files.
    	out, err = vcsHg.runOutputVerboseOnly(rootDir, "status")
    	if err != nil {
    		return Status{}, err
    	}
    	uncommitted := len(out) > 0
    
    	return Status{
    		Revision:    rev,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:30:18 UTC 2024
    - 46.2K bytes
    - Viewed (0)
  8. subprojects/core-api/src/main/java/org/gradle/api/Task.java

         */
        void onlyIf(Closure onlyIfClosure);
    
        /**
         * Do not track the state of the task.
         *
         * <p>Instructs Gradle to treat the task as untracked.
         *
         * @see org.gradle.api.tasks.UntrackedTask
         * @since 7.3
         */
        void doNotTrackState(String reasonNotToTrackState);
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 17:25:12 UTC 2024
    - 31.6K bytes
    - Viewed (0)
  9. pkg/test/framework/suite_test.go

    		var ref OtherInterface
    		tracked := &resource.FakeResource{IDValue: "1"}
    		err := act(&ref, tracked)
    		g.Expect(err).To(BeNil())
    		g.Expect(tracked).To(Equal(ref))
    	})
    	t.Run("slice reference", func(t *testing.T) {
    		g := NewWithT(t)
    		existing := &resource.FakeResource{IDValue: "1"}
    		tracked := &resource.FakeResource{IDValue: "2"}
    		ref := []OtherInterface{existing}
    		err := act(&ref, tracked)
    		g.Expect(err).To(BeNil())
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  10. platforms/jvm/toolchains-jvm-shared/src/main/java/org/gradle/jvm/toolchain/internal/install/DefaultJdkCacheDirectory.java

            // Unpack into temporary directory (but on same file system as our target directory location)
            File unpackFolder = unpack(jdkArchive);
            try {
                // Get the folder that is the real root of the unpacked JDK, skipping any archive root folder
                UnpackedRoot unpackedRoot = determineUnpackedRoot(unpackFolder);
    
                validateMetadataMatchesSpec(spec, uri, unpackedRoot.metadata);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 23:47:49 UTC 2024
    - 13.4K bytes
    - Viewed (0)
Back to top