Permalink
Browse files

Move static web files to own subdir of buildbot.status.web

  • Loading branch information...
1 parent e91371f commit 86ff427f6cea7b7841897ced47104baa498b75ce @marcusl marcusl committed Jan 17, 2010
View
@@ -385,9 +385,9 @@ def upgradeMaster(config):
# check web files: index.html, default.css, robots.txt
webdir = os.path.join(basedir, "public_html")
m.upgrade_public_html({
- 'bg_gradient.jpg' : util.sibpath(__file__, "../status/web/bg_gradient.jpg"),
- 'default.css' : util.sibpath(__file__, "../status/web/default.css"),
- 'robots.txt' : util.sibpath(__file__, "../status/web/robots.txt"),
+ 'bg_gradient.jpg' : util.sibpath(__file__, "../status/web/files/bg_gradient.jpg"),
+ 'default.css' : util.sibpath(__file__, "../status/web/files/default.css"),
+ 'robots.txt' : util.sibpath(__file__, "../status/web/files/robots.txt"),
})
m.populate_if_missing(os.path.join(basedir, "master.cfg.sample"),
util.sibpath(__file__, "sample.cfg"),
@@ -470,9 +470,9 @@ def createMaster(config):
m.makeTAC(contents)
m.sampleconfig(util.sibpath(__file__, "sample.cfg"))
m.public_html({
- 'bg_gradient.jpg' : util.sibpath(__file__, "../status/web/bg_gradient.jpg"),
- 'default.css' : util.sibpath(__file__, "../status/web/default.css"),
- 'robots.txt' : util.sibpath(__file__, "../status/web/robots.txt"),
+ 'bg_gradient.jpg' : util.sibpath(__file__, "../status/web/files/bg_gradient.jpg"),
+ 'default.css' : util.sibpath(__file__, "../status/web/files/default.css"),
+ 'robots.txt' : util.sibpath(__file__, "../status/web/files/robots.txt"),
})
m.makefile()
View
@@ -207,9 +207,9 @@ def finalize_options(self):
'data_files': [("buildbot", ["buildbot/buildbot.png"]),
("buildbot/clients", ["buildbot/clients/debug.glade"]),
("buildbot/status/web",
- ["buildbot/status/web/default.css",
- "buildbot/status/web/bg_gradient.jpg",
- "buildbot/status/web/robots.txt",
+ ["buildbot/status/web/files/default.css",
+ "buildbot/status/web/files/bg_gradient.jpg",
+ "buildbot/status/web/files/robots.txt",
]),
include("buildbot/status/web/templates", '*.html'),
("buildbot/scripts", ["buildbot/scripts/sample.cfg"]),

0 comments on commit 86ff427

Please sign in to comment.