cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From drk...@apache.org
Subject [20/31] git commit: removed excess logging, added notes to readme
Date Tue, 15 Oct 2013 18:40:01 GMT
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 <drkemp@google.com>
Authored: Mon Aug 26 16:08:39 2013 -0400
Committer: David Kemp <drkemp@chromium.org>
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))
 


Mime
View raw message