Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 108 for untracked (0.2 sec)

  1. subprojects/core/src/main/java/org/gradle/api/internal/changedetection/changes/DefaultTaskExecutionMode.java

        /**
         * The execution mode when the task is marked explicitly untracked.
         * The message will be `Task state is not tracked.`.
         */
        public static TaskExecutionMode untracked() {
            return UNTRACKED_NO_REASON;
        }
    
        /**
         * The execution mode when the task is marked explicitly untracked.
         * The message will be `"Task is untracked because: " + reason`.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 04 07:36:55 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  2. subprojects/core-api/src/main/java/org/gradle/api/tasks/UntrackedTask.java

     * Attached to a task to declare that the task should be untracked.
     *
     * <p>If a task is untracked, then Gradle will not try to capture its state.
     * That also means that Gradle does not do any optimizations for running the task.
     * For example, such a task will always be out of date and never stored in or loaded from the build cache.
     *
     * <p>There can be different reasons for declaring a task as untracked, for example:
     * <ul>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 05 09:15:04 UTC 2022
    - 2.2K bytes
    - Viewed (0)
  3. subprojects/core/src/test/groovy/org/gradle/api/internal/changedetection/changes/DefaultTaskExecutionModeResolverTest.groovy

            _ * task.getOutputs() >> outputs
            _ * outputs.getUpToDateSpec() >> upToDateSpec
        }
    
        def "untracked"() {
            when:
            def state = repository.getExecutionMode(task, taskProperties)
    
            then:
            state == DefaultTaskExecutionMode.untracked("For testing")
            _ * task.getReasonNotToTrackState() >> Optional.of("For testing")
            0 * _
        }
    
        def "no outputs"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  4. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/ResolveChangesStep.java

        private static final ImmutableList<String> NO_HISTORY = ImmutableList.of("No history is available.");
        private static final ImmutableList<String> UNTRACKED = ImmutableList.of("Change tracking is disabled.");
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 02 17:10:38 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  5. hack/update-gofmt.sh

    kube::golang::setup_env
    
    cd "${KUBE_ROOT}"
    
    function git_find() {
        # Similar to find but faster and easier to understand.  We want to include
        # 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/*'        `# catches vendor/...` \
            ':!:*/vendor/*'      `# catches any subdir/vendor/...` \
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:56 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/api/internal/tasks/execution/DefaultTaskCacheabilityResolver.java

                    }
                }
    
                return Optional.of(task.getReasonNotToTrackState()
                    .map(s -> new CachingDisabledReason(CachingDisabledReasonCategory.NOT_CACHEABLE, "Task is untracked because: " + s))
                    .orElse(CACHING_NOT_ENABLED));
    
            }
    
            if (!taskProperties.hasDeclaredOutputs()) {
                return Optional.of(NO_OUTPUTS_DECLARED);
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 15 07:20:24 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  7. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/UnreadableCopyDestinationFixture.groovy

            "Copying to a directory which contains unreadable content is not supported. " +
            "Declare the task as untracked by using Task.doNotTrackState(). " +
            new DocumentationRegistry().getDocumentationRecommendationFor("information", "incremental_build", "sec:disable-state-tracking")
    
        void expectUnreadableCopyDestinationFailure() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 23 08:05:53 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  8. hack/update-netparse-cve.sh

    cd "${KUBE_ROOT}"
    
    function git_find() {
        # Similar to find but faster and easier to understand.  We want to include
        # 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/*'        `# catches vendor/...` \
            ':!:*/vendor/*'      `# catches any subdir/vendor/...` \
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 02 22:40:10 UTC 2024
    - 2K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top