Update of /cvsroot/boost/boost/tools/buildbot/src
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv2699

Added Files:
        buildbot.py 
Log Message:
Work in progress, for automated testing with Buildbot.

--- NEW FILE: buildbot.py ---
#! /usr/bin/python

#~ Copyright Redshift Software, Inc. 2006-2007
#~ Distributed under the Boost Software License, Version 1.0. 
#~ (See accompanying file LICENSE_1_0.txt or copy at 
#~ http://www.boost.org/LICENSE_1_0.txt)

import sys
import os.path
import pprint

from boost.patchwork import def_modules

#~ The directory this file is in.
root = os.path.abspath( os.path.dirname(__file__ ) )

#~ The zip files we import from...

#~ BuildBot has a simple single package tree.
def_modules(
    [ os.path.join(root,'_packages'), 'buildbot-(\d+).(\d+).(\d+).zip' ],
    {   'buildbot' :
            '^buildbot-[^/]+/buildbot/__init__.py$' }
    )

#~ Twisted has a variety of split packages.
def_modules(
    [ os.path.join(root,'_packages'), 'Twisted-(\d+).(\d+).(\d+).zip' ],
    {   'twisted' :
            '^Twisted[^/]+/TwistedCore-[^/]+/twisted/$' ,
        'twisted.conch' :
            '^Twisted[^/]+/TwistedConch-[^/]+/twisted/conch/$' ,
        'twisted.lore' :
            '^Twisted[^/]+/TwistedLore-[^/]+/twisted/lore/$' ,
        'twisted.mail' :
            '^Twisted[^/]+/TwistedMail-[^/]+/twisted/mail/$' ,
        'twisted.names' :
            '^Twisted[^/]+/TwistedNames-[^/]+/twisted/names/$' ,
        'twisted.news' :
            '^Twisted[^/]+/TwistedNews-[^/]+/twisted/news/$' ,
        'twisted.runner' :
            '^Twisted[^/]+/TwistedRunner-[^/]+/twisted/runner/$' ,
        'twisted.web' :
            '^Twisted[^/]+/TwistedWeb-[^/]+/twisted/web/$' ,
        'twisted.words' :
            '^Twisted[^/]+/TwistedWords-[^/]+/twisted/words/$' ,
        'zope' :
            '^Twisted[^/]+/zope.interface-[^/]+/src/zope/$' }
    )


#~ And run the buildbot frontend script.
from buildbot.scripts import runner
runner.run()


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs

Reply via email to