Return-Path: X-Original-To: apmail-cordova-commits-archive@www.apache.org Delivered-To: apmail-cordova-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EF55810C2E for ; Tue, 15 Oct 2013 18:39:55 +0000 (UTC) Received: (qmail 9737 invoked by uid 500); 15 Oct 2013 18:39:47 -0000 Delivered-To: apmail-cordova-commits-archive@cordova.apache.org Received: (qmail 9682 invoked by uid 500); 15 Oct 2013 18:39:47 -0000 Mailing-List: contact commits-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list commits@cordova.apache.org Received: (qmail 8727 invoked by uid 99); 15 Oct 2013 18:39:43 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Oct 2013 18:39:43 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 18D208B4DF8; Tue, 15 Oct 2013 18:39:43 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: drkemp@apache.org To: commits@cordova.apache.org Date: Tue, 15 Oct 2013 18:40:01 -0000 Message-Id: <9cdc6e9cfb5f4fc49a5ab215a2242cd8@git.apache.org> In-Reply-To: <1f4a1159fd154155ae7f5c9621f84983@git.apache.org> References: <1f4a1159fd154155ae7f5c9621f84983@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [20/31] git commit: removed excess logging, added notes to readme removed excess logging, added notes to readme Project: http://git-wip-us.apache.org/repos/asf/cordova-medic/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-medic/commit/16e56f29 Tree: http://git-wip-us.apache.org/repos/asf/cordova-medic/tree/16e56f29 Diff: http://git-wip-us.apache.org/repos/asf/cordova-medic/diff/16e56f29 Branch: refs/heads/master Commit: 16e56f29a416e264d28a8beed0604bd710db6e2b Parents: f23b09c Author: David Kemp Authored: Mon Aug 26 16:08:39 2013 -0400 Committer: David Kemp Committed: Tue Oct 15 14:13:05 2013 -0400 ---------------------------------------------------------------------- README.md | 19 +++++++++++++++++++ master.cfg | 3 --- 2 files changed, 19 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-medic/blob/16e56f29/README.md ---------------------------------------------------------------------- diff --git a/README.md b/README.md index 8c546e8..d8a2319 100644 --- a/README.md +++ b/README.md @@ -78,4 +78,23 @@ every command has a link to its output o the main display. When a mobile spec te The tests use COHO and CLI for as much as possible to ensure that the developer tool chain is working. +#Configuration Files +master.cfg: The main configuration file for buildbot. It is a python script and defines the triggers, builders and status display. +It uses both config.json and repos.json to determine which platforms and versions to test. +config.json: +Used by the buildbot master script and by some of the medic command-line tools. +It defines the platforms to test, the current release version, the couchdb url, and the ios keychain. +The release version specified here is used anywhere the keyword "RELEASE" is used in a test definition. + + +repos.json: +Contains the definitions for the tests (schedulers) and the various repositories in the project. +Tests define the components and branches that should trigger a test run. +This requires multiple triggers for each test path since a build might use tools from master, platforms from release and plugins from dev. + +For each repo there is a release branch (most recent supported release) and a current branch (tip-of-tree). +The branches are used by the python script in conjunction with the tests to set up the trggers. + + + http://git-wip-us.apache.org/repos/asf/cordova-medic/blob/16e56f29/master.cfg ---------------------------------------------------------------------- diff --git a/master.cfg b/master.cfg index 020a435..861833a 100644 --- a/master.cfg +++ b/master.cfg @@ -63,16 +63,13 @@ for jrepo in json_repos['repos'] : # logging.warning("Repo: "+jrepo); if jrepo["category"] == "PLUGIN" : c['change_source'].append(GitPoller(jrepo['repo'], project=jrepo['category'],category=jrepo['category'], branches=getBranches([jrepo['release'],jrepo['current']]), pollinterval=polltime)) - logging.warning("adding Plugin: "+jrepo["title"]); elif not (jrepo["category"] == "PLATFORM") : repos[jrepo["title"]] = jrepo["repo"] c['change_source'].append(GitPoller(jrepo['repo'], project=jrepo['category'],category=jrepo['category'], branches=getBranches([jrepo['release'],jrepo['current']]), pollinterval=polltime)) - logging.warning("adding Tooling: "+jrepo["title"]); else : repos[jrepo["title"]] = jrepo["repo"] - logging.warning("adding Platform: "+jrepo["title"]); if(build_android and jrepo["title"]=="ANDROID") : c['change_source'].append(GitPoller(jrepo['repo'],project=jrepo['title'],category='PLATFORM', branches=getBranches([jrepo['release'],jrepo['current']]), pollinterval=polltime))