Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for exports (0.17 sec)

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

                    result.get(platform).files.push(fileMetadata.file);
                }
            });
        });
    
        console.log("categorize: ");
        console.log([...result.values()]);
        return result;
    }
    
    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/computeStatistics/index.js

        console.log(summaries)
        return summaries;
    }
    
    function metadataFor(fileMetadatas, file) {
        return fileMetadatas.find(fileMetadata => fileMetadata.file == file);
    }
    
    JavaScript
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  3. .cm/plugins/filters/isEnabledAutomation/index.js

    enabled.set('summary_table_owners', ['tresat']);
    enabled.set('summary_table_platforms', ['community', 'tresat']);
    
    // Require Opt-In/User Request
    enabled.set('code_experts', []);
    
    // Always run
    enabled.set('add_usual_expert', ['always']);
    enabled.set('complex_changes', ['always']);
    enabled.set('estimated_time_to_review', ['always']);
    enabled.set('misc_labels', ['always']);
    enabled.set('platform_labels', ['always']);
    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)
  4. .cm/plugins/filters/nullToEmpty/index.js

    function nullToEmpty(input) {
        let output;
        if (input) {
            output = input;
        } else {
            output = [];
        }
        console.log("nullToEmpty: " + output);
        return output;
    }
    
    JavaScript
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Mon Apr 22 16:43:16 GMT 2024
    - 526 bytes
    - Viewed (0)
  5. .cm/plugins/filters/summaryTable/index.js

            result += " (:warning: if possible, only one platform should have significant changes in a PR)";
        } else {
            result += " ";
        }
        return result;
    }
    
    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)
  6. .cm/plugins/filters/isEnabledUser/index.js

        return (buildScan.includes(username) || configuration.includes(username) || devProd.includes(username) || execution.includes(username) || ide.includes(username) || jvm.includes(username));
    };
    
    JavaScript
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Mon Feb 05 22:00:34 GMT 2024
    - 923 bytes
    - Viewed (0)
  7. .cm/plugins/filters/byPlatform/index.js

        if (file.startsWith('platforms/')) {
            const parts = file.split('/');
            result = parts[1];
        }
    
        console.log(file + " = " + result);
        return result;
    }
    
    JavaScript
    - Registered: Wed May 08 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

                return result;
            }
        } else {
            console.log("readField: named object with field not found '" + objectName + '.' + fieldName + "'");
            return null;
        }
    }
    
    JavaScript
    - Registered: Wed May 08 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

                    .ignores(file)
            );
        if (!match) {
            console.log("No codeowner found for: " + file);
            return ['No owner'];
        }
        return match.owners;
    }
    
    module.exports = {
        async: true,
        filter: async (files, pr, token, pathToCodeOwners, callback) => {
            const fileData = await loadCodeownersFile(pr.author, pr.repo, token, 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)
  10. .cm/add_usual_expert.cm

      - pr_created
      - commit
      - comment_added
    
    automations:
    
      # If someone is a primary author of the files in a change, but NOT the pr author, automatically add them as a reviewer.
      add_usual_expert:
        if:
          - {{ ('add_usual_expert' | isEnabledAutomation(pr)) }}
          - {{ repo | codeExperts(gt=50) | match(branch.author) | nope }}
        run:
          - action: add-reviewers@v1
            args:
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 1.4K bytes
    - Viewed (0)
Back to top