Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for modular (0.2 sec)

  1. .cm/plugins/filters/isEnabledUser/index.js

    const configuration = ["alllex"];
    const devProd = ["blindpirate"];
    const execution = [];
    const ide = ["hegyibalint", "donat", "reinsch82"];
    const jvm = ["big-guy", "ghale", "jvandort", "octylFractal", "tresat"];
    
    /**
     * @module isEnabledUser
     * @description Returns true if the username that is passed to this function is a member of the Gradle BT Team who has opted into gitStream automations.
     * @param {string} Input - The GitHub username to check.
    JavaScript
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Mon Feb 05 22:00:34 GMT 2024
    - 923 bytes
    - Viewed (0)
  2. .cm/plugins/filters/nullToEmpty/index.js

    /**
     * @module nullToEmpty
     * @description Returns the specified value if non-null, otherwise an empty array.
     * @param {Object} input - The object to investigate
     * @returns Object - The specified value if non-null, otherwise an empty array
     * @example {{ readField('jvm', 'files') | nullToEmpty }}
     */
    function nullToEmpty(input) {
        let output;
        if (input) {
            output = input;
        } else {
            output = [];
        }
    JavaScript
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Mon Apr 22 16:43:16 GMT 2024
    - 526 bytes
    - Viewed (0)
  3. .cm/plugins/filters/categorize/index.js

    /**
     * @module categorize
     * @description Returns a mapping of platforms to the information about the files involved in the PR contained in each platform
     * @param {Map} fileOwners mapping of platform name to a list of files involved in the change located in that platform
     * @param {[FileMetadata]} fileMetadatas - gitStream's list of metadata about file changes in the PR including path
    JavaScript
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 1.2K bytes
    - Viewed (0)
  4. .cm/plugins/filters/computeStatistics/index.js

    /**
     * @module computeStatistics
     * @description Summarizes the changes to files in the PR by platform.
     *
     * @param {Map} groupedFiles - map of platforms for containing info about the changes to files in that platform, from call to categorize
     * @param {[FileMetadata]} fileMetadatas - gitStream's list of metadata about file changes in the PR including path
     * @returns {[Object]} Returns list of computed summary statistic objects for each platform in the input groupedFiles
    JavaScript
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  5. .cm/plugins/filters/isEnabledAutomation/index.js

    enabled.set('complex_changes', ['always']);
    enabled.set('estimated_time_to_review', ['always']);
    enabled.set('misc_labels', ['always']);
    enabled.set('platform_labels', ['always']);
    
    /**
     * @module isEnabledAutomation
     * @description Returns true if the given automation should run against the given PR.
     *
     * This is determined by checking if any of the following conditions are met:
     *
     * <ul>
    JavaScript
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  6. .cm/plugins/filters/summaryTable/index.js

    /**
     * @module summaryTable
     * @description Create a string containing an HTML table describing the given summary statistics.
     *
     * The table should be in descending order of the number of lines changed, and should only include platforms with non-0 changes.
     *
     * @param {[Object]} statistics - list of summary data objects from computeStatistics
     * @param {String} title - description of how data is grouped
     * @returns {String} Returns the formatted HTMl table string.
    JavaScript
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  7. .cm/plugins/filters/byPlatform/index.js

    /**
     * @module byPlatform
     * @description Groups the PR's files by platform based on the file's path.
     * @param {string[]} files - the gitStream's files context variable
     * @returns {Map} - Map from platform to list of files in this PR in it
     * @example {{ owners | byPlatform }}
     */
    function byPlatform(files) {
        const result = new Map();
        files.forEach(file => {
            const platform = getPlatform(file);
            if (!result.has(platform)) {
    JavaScript
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Mon Apr 22 16:47:29 GMT 2024
    - 1K bytes
    - Viewed (0)
  8. .cm/plugins/filters/readField/index.js

    /**
     * @module readField
     * @description Returns one field for a particular named object in a list of objects.
     * @param {[Object]} objects - The objects to search
     * @param {String} objectName - The name of the particular object to find
     * @param {String} fieldName - The name of the field for the group to return
     * @returns String - The specified value
     * @example {{ files | byPlatform | categorize(branch.diff.files_metadata) | readField('jvm', 'name') }}
     */
    
    JavaScript
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 1K bytes
    - Viewed (0)
  9. .cm/plugins/filters/byCodeowner/index.js

    /**
     * @module byCodeowner
     * @description Groups the PR's files' by owner based on the CODEOWNERs file.
     * @param {string[]} files - the gitStream's files context variable
     * @param {Object} pr - the gitStream's pr context variable
     * @param {string} token - access token with repo:read scope, used to read the CODEOWNERS file
     * @param {string} pathToCodeOwners - path from repo root to CODEOWNERS file
     * @returns {Map} - Map from owner name to list of files they own
    JavaScript
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Mon Apr 22 19:12:32 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  10. .cm/plugins/filters/byCodeowner/ignore/index.js

    const isPathValid = path =>
        checkPath(path && checkPath.convert(path), path, RETURN_FALSE)
    
    factory.isPathValid = isPathValid
    
    // Fixes typescript
    factory.default = factory
    
    module.exports = factory
    
    // Windows
    // --------------------------------------------------------------
    /* istanbul ignore if */
    if (
        // Detect `process` so that it can run in browsers.
    JavaScript
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 17.5K bytes
    - Viewed (0)
Back to top