Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 439 for untracked (0.23 sec)

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

        }
    
        def "does not clean up stale outputs for untracked tasks"() {
            def untrackedStaleFile = file("build/untracked/stale-output-file").createFile()
            def untrackedOutputFile = file("build/untracked/output.txt")
            def trackedStaleFile = file("build/tracked/stale-output-file").createFile()
            def trackedOutputFile = file("build/tracked/output.txt")
    
            buildFile("""
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 23 08:05:53 UTC 2023
    - 16.4K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. test/fixedbugs/issue20014.dir/a/a.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package a
    
    type T struct {
    	X int `go:"track"`
    	Y int `go:"track"`
    	Z int // untracked
    }
    
    func (t *T) GetX() int {
    	return t.X
    }
    func (t *T) GetY() int {
    	return t.Y
    }
    func (t *T) GetZ() int {
    	return t.Z
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 21 20:24:34 UTC 2021
    - 367 bytes
    - Viewed (0)
Back to top