Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 329 for untracked (0.23 sec)

  1. 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)
  2. 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)
  3. hack/lib/version.sh

          fi
          if [[ "${KUBE_GIT_TREE_STATE}" == "dirty" ]]; then
            # git describe --dirty only considers changes to existing files, but
            # that is problematic since new untracked .go files affect the build,
            # so use our idea of "dirty" from git status instead.
            KUBE_GIT_VERSION+="-dirty"
          fi
    
    
          # Try to match the "git describe" output to a regex to try to extract
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 29 08:22:09 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  4. 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)
  5. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/continuous/SmokeContinuousIntegrationTest.groovy

            exitsContinuousBuildSinceNotWatchingAnyLocationsExceptForConfigCache()
    
            where:
            description      | taskConfiguration
            "no outputs"     | ""
            "untracked task" | "outputs.file('output/marker'); doNotTrackState('for test')"
        }
    
        def "basic smoke test"() {
            given:
            def markerFile = file("input/marker")
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 18.5K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. platforms/documentation/docs/src/docs/userguide/releases/upgrading/upgrading_version_7.adoc

    Use the @link:{javadocPath}/org/gradle/api/tasks/UntrackedTask.html[UntrackedTask] annotation or the link:{groovyDslPath}/org.gradle.api.Task.html#org.gradle.api.Task:doNotTrackState(java.lang.String)[Task.doNotTrackState()] method to declare a task as untracked.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 01 15:00:23 UTC 2024
    - 87.7K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformCachingIntegrationTest.groovy

                        doLast {
                            println "files: " + files.collect { it.name }
                        }
                    }
                }
    """
    
            and: 'preconditions for cleanup of untracked files'
            gcFile.createFile().lastModified = daysAgo(2)
            writeJournalInceptionTimestamp(daysAgo(8))
    
            when: 'cleaning build is started'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 11:52:44 UTC 2024
    - 97.8K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/docs/userguide/optimizing-performance/configuration_cache.adoc

    [[config_cache:usage:invalidate]]
    === Invalidating the cache
    
    The configuration cache is automatically invalidated when inputs to the configuration phase change.
    However, certain inputs are not tracked yet, so you may have to manually invalidate the configuration cache when untracked inputs to the configuration phase change.
    This can happen if you <<configuration_cache#config_cache:usage:ignore_problems,ignored problems>>.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 29 16:24:12 UTC 2024
    - 71.1K bytes
    - Viewed (0)
Back to top