Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Narvaez <dwnarvaez@gmail.com>2013-01-12 01:14:12 (GMT)
committer Daniel Narvaez <dwnarvaez@gmail.com>2013-01-12 01:14:12 (GMT)
commit174f558b96c57625a1a1ca1521565b6f15d09cd7 (patch)
treecca4becdebeb9a13b3b88efe065c1d9243e71cf1
parenta84e8a7d615fcadea3558b3922ce0c199654186c (diff)
Upload with mode 0755
-rw-r--r--builders.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/builders.py b/builders.py
index 5748562..402c0ea 100644
--- a/builders.py
+++ b/builders.py
@@ -80,6 +80,7 @@ def create_factory(config, env={}, full=False, distribute=False,
docs_url = "http://shell.sugarlabs.org/~buildbot/docs/index.html"
factory.addStep(DirectoryUpload(slavesrc="build/sugar-docs/html",
masterdest="~/public_html/docs",
+ mode=0755,
url=docs_url))
if snapshot:
@@ -91,7 +92,8 @@ def create_factory(config, env={}, full=False, distribute=False,
masterdest = "~/public_html/snapshots/snapshot.tar.xz"
factory.addStep(FileUpload(slavesrc="snapshot.tar.xz",
- masterdest=masterdest))
+ masterdest=masterdest,
+ mode=0755))
command = Interpolate("~/public_html/snapshots/upload-completed "
"%(prop:slavename)s %(prop:buildnumber)s")