Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 384 for untracked (0.31 sec)

  1. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/AfterExecutionResult.java

        protected AfterExecutionResult(AfterExecutionResult parent) {
            this(parent, parent.getAfterExecutionOutputState().orElse(null));
        }
    
        /**
         * State after execution, or {@link Optional#empty()} if work is untracked.
         */
        public Optional<ExecutionOutputState> getAfterExecutionOutputState() {
            return Optional.ofNullable(afterExecutionOutputState);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:29 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/internal/classpath/DefaultInstrumentedClosuresTracker.java

            currentClosuresEntries.computeInt(thisClosure, (key, oldValue) -> {
                if (oldValue == null) {
                    throw new IllegalStateException("leaveClosure called with an untracked instance");
                } else {
                    if (oldValue == 1) {
                        return null;
                    } else {
                        return oldValue - 1;
                    }
                }
            });
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jul 24 15:58:00 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/docs/userguide/running-builds/additional/continuous_builds.adoc

    [[sec:continuous_build_untracked]]
    === Inputs of untracked tasks
    Changes to the inputs of <<incremental_build.adoc#sec:disable-state-tracking,untracked tasks>> or tasks that have no outputs may not trigger a build.
    
    [[sec:continuous_build_project_dir]]
    === Changes to files outside of project directories
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 05 18:33:11 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  4. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/LoadPreviousExecutionStateStepTest.groovy

        def setup() {
            _ * context.identity >> identity
            _ * context.history >> Optional.of(executionHistoryStore)
        }
    
        def "loads execution history and removes untracked outputs when output is not captured"() {
            when:
            def result = step.execute(work, context)
    
            then:
            1 * executionHistoryStore.load(uniqueId) >> Optional.of(previousExecutionState)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:29 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/api/internal/changedetection/changes/DefaultTaskExecutionModeResolver.java

        }
    
        @Override
        public TaskExecutionMode getExecutionMode(TaskInternal task, TaskProperties properties) {
            if (task.getReasonNotToTrackState().isPresent()) {
                return DefaultTaskExecutionMode.untracked(task.getReasonNotToTrackState().get());
            }
            // Only false if no declared outputs AND no Task.upToDateWhen spec. We force to true for incremental tasks.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 03 11:19:27 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  6. src/compress/gzip/issue14937_test.go

    //
    //	$ dd if=/dev/zero bs=1 seek=4 count=4 conv=notrunc of=filename.gz
    //
    // See https://golang.org/issue/14937.
    func TestGZIPFilesHaveZeroMTimes(t *testing.T) {
    	// To avoid spurious false positives due to untracked GZIP files that
    	// may be in the user's GOROOT (Issue 18604), we only run this test on
    	// the builders, which should have a clean checkout of the tree.
    	if testenv.Builder() == "" {
    		t.Skip("skipping test on non-builder")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 10 16:37:53 UTC 2024
    - 2K bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/api/internal/TaskInternal.java

        @Internal
        boolean hasTaskActions();
    
        @Internal
        Spec<? super TaskInternal> getOnlyIf();
    
        /**
         * Return the reason for not to track state.
         *
         * Gradle considers the task as untracked if the reason is present.
         * When not tracking state, a reason must be present. Hence the {@code Optional} represents the state of enablement, too.
         *
         * @see org.gradle.api.tasks.UntrackedTask
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 16 23:29:30 UTC 2023
    - 4K bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/version_buildvcs_fossil.txt

    stdout '^\tbuild\tvcs.modified=false$'
    rm $GOBIN/a$GOEXE
    
    # Building with -buildvcs=false suppresses the info.
    go install -buildvcs=false
    go version -m $GOBIN/a$GOEXE
    ! stdout vcs.revision
    rm $GOBIN/a$GOEXE
    
    # An untracked file is shown as modified, even if it isn't part of the build.
    cp ../../outside/empty.txt .
    go install
    go version -m $GOBIN/a$GOEXE
    stdout '^\tbuild\tvcs=fossil\n'
    stdout '^\tbuild\tvcs.modified=true$'
    rm empty.txt
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 03 15:33:59 UTC 2022
    - 2.4K bytes
    - Viewed (0)
  9. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/StoreExecutionStateStepTest.groovy

            _ * context.previousExecutionState >> Optional.of(previousExecutionState)
            1 * previousExecutionState.outputFilesProducedByWork >> outputFilesProducedByWork
            0 * _
        }
    
        def "does not store untracked outputs"() {
            when:
            def result = step.execute(work, context)
    
            then:
            result == delegateResult
            1 * delegate.execute(work, context) >> delegateResult
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 08 08:29:47 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  10. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CopyErrorIntegrationTest.groovy

                failure.assertHasDocumentedCause("Cannot access input property 'rootSpec\$1' of task ':copy'. " +
                    "Accessing unreadable inputs or outputs is not supported. " +
                    "Declare the task as untracked by using Task.doNotTrackState(). " +
                    new DocumentationRegistry().getDocumentationRecommendationFor("information", "incremental_build", "sec:disable-state-tracking")
                )
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 29 10:48:19 UTC 2023
    - 4.1K bytes
    - Viewed (0)
Back to top