Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for regex (0.15 sec)

  1. .cm/lacks_tests.cm

    colors:
      yellow: 'ffb300'
    
    includes_src_changes: {{ files | match(regex=r/.*\/src\//) | some }}
    includes_test_changes: {{ files | match(regex=r/.*\/(test|integTest|crossVersionTest|docsTest|smokeTest)\//) | some }}
    is_docs_only_change: {{ (files | allDocs) or (files | match(regex=r/\.adoc$/) | every) }} # This won't catch a mix of .adoc and non .adoc changes, see: https://github.com/linear-b/gitstream/issues/93
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  2. .cm/complex_changes.cm

    # Read the "|" not as "or", but as a "pipe", taking the output of the previous command and passing it to the next command.
    # This section could also appear ahead of the automations section.
    
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  3. .cm/misc_labels.cm

      docs: {{ (files | allDocs) or (files | match(regex=r/\.adoc$/) | every) }} # This won't catch a mix of .adoc and non .adoc changes, see: https://github.com/linear-b/gitstream/issues/93
      tests: {{ files | allTests }}
    
      # Exclude anything under samples/snippets sourceSets, or any sort of test resource file
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 3K bytes
    - Viewed (0)
  4. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildEnvironment.kt

        val agentNum: Int
            get() {
                if (System.getenv().containsKey("USERNAME")) {
                    val agentNumEnv = System.getenv("USERNAME").replaceFirst("tcagent", "")
                    if (Regex("""\d+""").containsMatchIn(agentNumEnv)) {
                        return agentNumEnv.toInt()
                    }
                }
                return 1
            }
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Feb 09 22:52:01 GMT 2024
    - 5.7K bytes
    - Viewed (2)
  5. .cm/plugins/filters/byCodeowner/ignore/index.js

    }
    
    const EMPTY = ''
    const SPACE = ' '
    const ESCAPE = '\\'
    const REGEX_TEST_BLANK_LINE = /^\s+$/
    const REGEX_INVALID_TRAILING_BACKSLASH = /(?:[^\\]|^)\\$/
    const REGEX_REPLACE_LEADING_EXCAPED_EXCLAMATION = /^\\!/
    const REGEX_REPLACE_LEADING_EXCAPED_HASH = /^\\#/
    const REGEX_SPLITALL_CRLF = /\r?\n/g
    // /foo,
    // ./foo,
    // ../foo,
    // .
    // ..
    const REGEX_TEST_INVALID_PATH = /^\.*\/|^\.+$/
    
    const SLASH = '/'
    
    JavaScript
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  6. .teamcity/src/main/kotlin/model/CIBuildModel.kt

            if (shortenedSubprojectName.length + prefix.length <= 80) {
                return shortenedSubprojectName
            }
            return shortenedSubprojectName.replace(Regex("[aeiou]"), "")
        }
    
        fun asName(): String =
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Feb 23 01:54:48 GMT 2024
    - 20.9K bytes
    - Viewed (0)
  7. build-logic/cleanup/src/main/java/gradlebuild/cleanup/services/KillLeakingJavaProcesses.java

    import java.util.concurrent.CountDownLatch;
    import java.util.concurrent.TimeUnit;
    import java.util.function.BiConsumer;
    import java.util.regex.Matcher;
    import java.util.regex.Pattern;
    import java.util.stream.Collectors;
    import java.util.stream.Stream;
    
    import static java.util.regex.Pattern.quote;
    
    /**
     * NOTICE: this class is invoked via java command line, so we must NOT DEPEND ON ANY 3RD-PARTY LIBRARIES except JDK 11.
     *
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Apr 26 09:46:00 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  8. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/upgrades/UpgradedProperties.java

    public class UpgradedProperties {
    
        private static final Pattern SETTER_REGEX = Pattern.compile("set[A-Z].*");
        private static final Pattern GETTER_REGEX = Pattern.compile("get[A-Z].*");
        private static final Pattern BOOLEAN_GETTER_REGEX = Pattern.compile("is[A-Z].*");
        public static final String OLD_ACCESSORS_OF_UPGRADED_PROPERTIES = "oldAccessorsOfUpgradedProperties";
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Apr 23 08:40:36 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  9. .idea/inspectionProfiles/Gradle.xml

          <extension name="InstanceMethodNamingConvention" enabled="true">
            <option name="m_regex" value="[a-z][A-Za-z\d]*" />
            <option name="m_minLength" value="2" />
            <option name="m_maxLength" value="999" />
          </extension>
          <extension name="StaticMethodNamingConvention" enabled="true">
            <option name="m_regex" value="[a-z][A-Za-z\d]*" />
            <option name="m_minLength" value="2" />
    XML
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Thu Apr 11 13:39:08 GMT 2024
    - 13K bytes
    - Viewed (0)
  10. .cm/includes_todos.cm

    automations:
    
      # If someone adds a TODO, remind them about it by requesting removal
      includes_todos:
        if:
          - {{ ('includes_todos' | isEnabledAutomation(pr)) }}
          - {{ source.diff.files | matchDiffLines(regex=r/(TODO)|(todo)/) | some }}
        run:
          - action: add-label@v1
            args:
              label: "⚠️ Includes TODOs"
              color: {{ colors.yellow }}
          - action: add-comment@v1
            args:
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 1.9K bytes
    - Viewed (0)
Back to top