cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From drk...@apache.org
Subject [26/31] git commit: fixed unicode issues and updated to buildbot 0.8.8
Date Tue, 15 Oct 2013 18:40:07 GMT
fixed unicode issues and updated to buildbot 0.8.8


Project: http://git-wip-us.apache.org/repos/asf/cordova-medic/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-medic/commit/8ba567d2
Tree: http://git-wip-us.apache.org/repos/asf/cordova-medic/tree/8ba567d2
Diff: http://git-wip-us.apache.org/repos/asf/cordova-medic/diff/8ba567d2

Branch: refs/heads/master
Commit: 8ba567d26349b1cbf199db84939e21912795e295
Parents: 9bf6b7b
Author: David Kemp <drkemp@google.com>
Authored: Thu Sep 5 09:33:14 2013 -0400
Committer: David Kemp <drkemp@chromium.org>
Committed: Tue Oct 15 14:14:08 2013 -0400

----------------------------------------------------------------------
 README.md  |  2 +-
 master.cfg | 37 +++++++++++++++++++------------------
 2 files changed, 20 insertions(+), 19 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-medic/blob/8ba567d2/README.md
----------------------------------------------------------------------
diff --git a/README.md b/README.md
index d8a2319..c328ee4 100644
--- a/README.md
+++ b/README.md
@@ -17,7 +17,7 @@
 
 - set up a wireless access point so that the devices being tested can access the couchDB
 
-- get [buildbot] (http://buildbot.net) version 0.8.7p1
+- get [buildbot] (http://buildbot.net) version 0.8.8
 - install buildbot using the buildbot install/tutorial instructions
 - get the sample running
 - stop the slave and the master

http://git-wip-us.apache.org/repos/asf/cordova-medic/blob/8ba567d2/master.cfg
----------------------------------------------------------------------
diff --git a/master.cfg b/master.cfg
index 7b394f8..1f3e8a4 100644
--- a/master.cfg
+++ b/master.cfg
@@ -22,7 +22,7 @@ with open("../repos.json") as f:
     json_repos=json.load(f)
 
 platform_list=json_config['app']['platforms']    
-branch_release =json_config['app']['release']
+branch_release =str(json_config['app']['release'])
 
 build_android=('android' in platform_list)
 build_ios=('ios' in platform_list)
@@ -36,7 +36,7 @@ def getBranches(tags) :
     if(b == 'RELEASE') :
        result.append(branch_release)
     else :
-       result.append(b)
+       result.append(str(b))
   return result
 
 
@@ -60,21 +60,23 @@ c['slavePortnum'] = 9889
 repos={}
 
 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))
+  cat = str(jrepo['category'])
+  title = str(jrepo["title"])
+  repo_url=str(jrepo['repo'])
+  if cat == "PLUGIN" :
+    c['change_source'].append(GitPoller(repo_url, project=cat,category=cat, branches=getBranches([jrepo['release'],jrepo['current']]),
pollinterval=polltime))
 
-  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))
+  elif not (cat == "PLATFORM") :
+    repos[title] = repo_url
+    c['change_source'].append(GitPoller(repo_url, project=cat,category=cat, branches=getBranches([jrepo['release'],jrepo['current']]),
pollinterval=polltime))
 
   else :
-    repos[jrepo["title"]] = jrepo["repo"]
-    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))
+    repos[title] = repo_url
+    if(build_android and title=="ANDROID") :
+       c['change_source'].append(GitPoller(repo_url,project=title,category='PLATFORM', branches=getBranches([jrepo['release'],jrepo['current']]),
pollinterval=polltime))
 
-    if(build_ios and jrepo["title"]=="IOS") :
-       c['change_source'].append(GitPoller(jrepo['repo'],project=jrepo['title'],category='PLATFORM',
branches=getBranches([jrepo['release'],jrepo['current']]), pollinterval=polltime))
+    if(build_ios and title=="IOS") :
+       c['change_source'].append(GitPoller(repo_url,project=title,category='PLATFORM', branches=getBranches([jrepo['release'],jrepo['current']]),
pollinterval=polltime))
 
 
 ####### SCHEDULERS
@@ -92,12 +94,11 @@ c['schedulers'] = []
 for test in json_repos['tests'] :
   if test["platform"] in platform_list :
     c['schedulers'].append(SingleBranchScheduler(
-                            name=test["title"],
-                            change_filter=filter.ChangeFilter(branch=test["branch"],project=test["categories"]),
+                            name=str(test["title"]),
+                            change_filter=filter.ChangeFilter(branch=str(test["branch"]),project=str(test["categories"])),
                             treeStableTimer=stabletime,
-                            builderNames=[test["builder"]]))
-    force_builders.append(test["builder"])
-
+                            builderNames=[str(test["builder"])]))
+    force_builders.append(str(test["builder"]))
 
 c['schedulers'].append(ForceScheduler(
                             name="force",


Mime
View raw message