[pypy-svn] r72424 - pypy/build/bot2/pypybuildbot

fijal at codespeak.net fijal at codespeak.net
Fri Mar 19 20:36:11 CET 2010


Author: fijal
Date: Fri Mar 19 20:36:10 2010
New Revision: 72424

Modified:
   pypy/build/bot2/pypybuildbot/master.py
Log:
An approach to have nightly builds with correct mime type


Modified: pypy/build/bot2/pypybuildbot/master.py
==============================================================================
--- pypy/build/bot2/pypybuildbot/master.py	(original)
+++ pypy/build/bot2/pypybuildbot/master.py	Fri Mar 19 20:36:10 2010
@@ -2,7 +2,7 @@
 from buildbot.buildslave import BuildSlave
 from buildbot.status.html import WebStatus
 from buildbot.process.builder import Builder
-
+from twisted.web.static import DirectoryLister
 
 # I really wanted to pass logPath to Site
 from twisted.web.server import Site
@@ -45,6 +45,8 @@
                                             'windows', 'mac',
                                             'benchmark-run',
                                             'other']))
+status.putChild('nightly', DirectoryLister(os.path.expanduser('~/nightly'),
+                                           defaultType='application/octet-stream'))
 
 
 pypybuilds = load('pypybuildbot.builds')



More information about the Pypy-commit mailing list