Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 67 for _new (0.18 sec)

  1. .cm/javadoc_on_new_files.cm

    # its own file.
    
    on:
      - pr_created
      - commit
      - comment_added
    
    automations:
    
      javadoc_on_new_files:
        # Triggered for new Java files that lack Javadoc content.
        if:
    
          - {{ ('javadoc_on_new_files' | isEnabledAutomation(pr)) }}
          - {{ is.java and is.new }}
          - {{ source.diff.files | matchDiffLines(regex=r/\/*\*([\s\S]*?)\//) | nope }}
        run:
          - action: add-label@v1
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  2. .cm/plugins/filters/isEnabledAutomation/index.js

    const enabled = new Map();
    
    // Require Opt-In/User Request/Community PR
    enabled.set('includes_todos', ['community', 'tresat']);
    enabled.set('javadoc_on_new_files', ['community', 'tresat']);
    enabled.set('lacks_tests', ['community', 'tresat']);
    enabled.set('summary_table_owners', ['tresat']);
    enabled.set('summary_table_platforms', ['community', 'tresat']);
    
    // Require Opt-In/User Request
    enabled.set('code_experts', []);
    
    // Always run
    JavaScript
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/PublicAPIRulesTest.groovy

            where:
            ruleElem << [new BinaryBreakingChangesRule([:]), new SinceAnnotationMissingRule([:]), new IncubatingMissingRule([:])]
            error << ['Is not binary compatible.', 'Is not annotated with @since', 'Is not annotated with @Incubating']
        }
    
        def "the @since annotation on inner classes is recognised"() {
            given:
            def rule = withContext(new SinceAnnotationMissingRule([:]))
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Dec 01 20:12:19 GMT 2023
    - 16K bytes
    - Viewed (0)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/ExtractDslMetaDataTask.groovy

            if (!sourceFile.name.endsWith('.java')) {
                throw new DocGenerationException("Parsing non-Java files is not supported: $sourceFile")
            }
            try {
                new JavaParser().parse(sourceFile).getResult().get().accept(new SourceMetaDataVisitor(), repository)
            } catch (Exception e) {
                throw new DocGenerationException("Could not parse '$sourceFile'.", e)
            }
        }
    
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Mon Jan 08 12:45:57 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  5. build-logic/documentation/src/test/groovy/gradlebuild/docs/FindBrokenInternalLinksTest.groovy

        private File sampleDoc
        private File linkErrors
    
        private setup() {
            docsRoot = new File(projectDir, "docsRoot")
            new File(docsRoot, 'javadoc').mkdirs()
            sampleDoc = new File(docsRoot, "sample.adoc")
            linkErrors = new File(projectDir, "build/reports/dead-internal-links.txt")
    
    
            new File(projectDir, "build.gradle") << """
                plugins {
                    id 'java'
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Mon Nov 28 22:01:54 GMT 2022
    - 7.8K bytes
    - Viewed (0)
  6. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/rules/AbstractContextAwareRuleSpecification.groovy

    import spock.lang.Specification
    import spock.lang.TempDir
    
    abstract class AbstractContextAwareRuleSpecification extends Specification {
        @TempDir
        File testDir
    
        ViolationCheckContext context = new ViolationCheckContext() {
            Map userData = [seenApiChanges: [] as Set]
    
            String getClassName() { return null }
    
            Map<String, ?> getUserData() { return userData }
    
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Oct 06 19:15:15 GMT 2022
    - 2K bytes
    - Viewed (0)
  7. .github/workflows/CheckBadMerge.groovy

                List<String> badFiles = MONITORED_FILES.grep { isBadFileInMergeCommit(it, commit, parentCommits[0], parentCommits[1]) }
                if (!badFiles.isEmpty()) {
                    throw new RuntimeException("Found bad files in merge commit $commit: $badFiles")
                } else {
                    println("No bad files found in $commit")
                }
            } else {
    Groovy
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Tue Dec 19 10:35:44 GMT 2023
    - 6.5K bytes
    - Viewed (0)
  8. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/UpgradePropertiesRuleSetup.java

                mapOldAccessorsOfUpgradedProperties(currentUpgradedProperties),
                mapOldAccessorsOfUpgradedProperties(baselineUpgradedProperties)
            ));
            context.putUserData(SEEN_OLD_ACCESSORS_OF_UPGRADED_PROPERTIES, new HashSet<>());
        }
    
        private static Map<AccessorKey, UpgradedProperty> mapCurrentAccessorsOfUpgradedProperties(List<UpgradedProperty> upgradedProperties) {
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Apr 23 08:40:36 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  9. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleUserManualPlugin.java

        }
    
        public static List<String> getDefaultExcludedPackages() {
            // TODO: This should be configured via the extension vs hardcoded in the plugin
            List<String> excludedPackages = new ArrayList<>();
            // These are part of the API, but not the DSL
            excludedPackages.add("org.gradle.tooling.**");
            excludedPackages.add("org.gradle.testfixtures.**");
    
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Mar 01 05:46:51 GMT 2024
    - 17.7K bytes
    - Viewed (0)
  10. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleKotlinDslReferencePlugin.java

            try {
                URI relativeLocation = projectRootDir.toURI().relativize(file.toURI());
                return new URI("https://github.com/gradle/gradle/blob/" + commitId + "/" + relativeLocation);
            } catch (URISyntaxException e) {
                throw new RuntimeException(e);
            }
        }
    
        private static DokkatooExtension getDokkatooExtension(Project project) {
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Mon Jan 15 14:00:14 GMT 2024
    - 7.7K bytes
    - Viewed (0)
Back to top