Github user dblotsky commented on a diff in the pull request:

    https://github.com/apache/cordova-medic/pull/37#discussion_r26227251
  
    --- Diff: buildbot-conf/cordova-internal.conf ---
    @@ -0,0 +1,101 @@
    +import os
    +import json
    +
    +from buildbot.changes.gitpoller import GitPoller
    +from buildbot.schedulers.forcesched import ForceScheduler
    +
    +# config
    +MEDIC_CONFIG_FILE    = os.path.join(FP, 'cordova-config.json')
    +PROJECTS_CONFIG_FILE = os.path.join(FP, 'cordova-repos.json')
    +
    +def parse_config_file(file_name):
    +    with open(file_name, 'r') as config_file:
    +        return json.load(config_file)
    +
    +medic_config    = parse_config_file(MEDIC_CONFIG_FILE)
    +projects_config = parse_config_file(PROJECTS_CONFIG_FILE)
    +
    +# constants
    +GIT_BIN       = 'git' if os.name != 'nt' else 'C:\Program Files 
(x86)\Git\cmd\git.exe'
    +GITPOLLER_DIR = 'gitpoller-workdir'
    +
    +POLLED_PROJECT_PATTERNS = [
    +    'cordova-mobile-spec',
    +    'cordova-lib',
    +    'cordova-js',
    +    'cordova-cli',
    +    'cordova-medic',
    +    'cordova-plugman',
    +    'cordova-windows',
    +    'cordova-android',
    +]
    --- End diff --
    
    This is currently in test, and plugins will be added later.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org
For additional commands, e-mail: dev-h...@cordova.apache.org

Reply via email to