Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for New (0.14 sec)

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

     * @example {{ owners | categorize(branch.diff.files_metadata) }}
     */
    
    function categorize(fileOwners, fileMetadatas) {
        const result = new Map();
        [...fileOwners.keys()].forEach(platform => {
            result.set(platform, {
                name: platform,
                files: []
            });
        });
    
    JavaScript
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 1.2K 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. .cm/plugins/filters/summaryTable/index.js

        let newRatio = totalAdditions / (totalAdditions + totalDeletions) * 100;
    
        let result = `:bar_chart: **Changes by ${title}: this PR is ${Math.round(newRatio, 2)}% new code**`;
    
        // Only title by Platform
        if (title === "Platform") {
            result += `
      <br>${platformsAffected(preppedStatistics)}`;
        }
    
        result += `
      <details>
      <summary>See details</summary>
    JavaScript
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  4. .cm/plugins/filters/byCodeowner/index.js

     **/
    
    const { Octokit } = require("@octokit/rest");
    const ignore = require('./ignore/index.js');
    
    async function loadCodeownersFile(owner, repo, auth, pathToCodeOwners) {
        const octokit = new Octokit({
            request: { fetch },
            auth,
        });
    
        const res = await octokit.repos.getContent({
            owner,
            repo,
            path: pathToCodeOwners
        });
    
    JavaScript
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Mon Apr 22 19:12:32 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  5. .cm/plugins/filters/byPlatform/index.js

     * @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)) {
                result.set(platform, []);
            }
            result.get(platform).push(file);
        });
    
    JavaScript
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Mon Apr 22 16:47:29 GMT 2024
    - 1K bytes
    - Viewed (0)
  6. .cm/plugins/filters/byCodeowner/ignore/index.js

                (prev, current) => prev.replace(current[0], current[1].bind(pattern)),
                pattern
            )
            regexCache[pattern] = source
        }
    
        return ignoreCase
            ? new RegExp(source, 'i')
            : new RegExp(source)
    }
    
    const isString = subject => typeof subject === 'string'
    
    // > A blank line matches no files, so it can serve as a separator for readability.
    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)
Back to top