[Buildbot-devel] How does isFileImportant work?, was Re: Some Questions

Dennis Schridde devurandom at gmx.net
Fri Jun 20 09:58:25 UTC 2008


Hi!

As requested by Ben Finney, I split up my questions into seperate emails.

How is buildbot.scheduler.Scheduler(isFileImportant) supposed to work?

I tried the following, but without luck (the build is never triggered):
def importantQuickFiles(filename):
    return (filename.endswith(".c") or filename.endswith(".h") or
        filename.endswith(".cpp") or filename.endswith(".hpp") or
        filename.endswith(".am") or filename.endswith(".ac"))
c['schedulers'] = []
from buildbot import scheduler
c['schedulers'].append(scheduler.Scheduler(name="quick", branch=None,
    treeStableTimer=10*60,
    fileIsImportant=importantQuickFiles,
    builderNames=['quick_linux', 'quick_mingw32']))

Thanks in advance,
Dennis
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://buildbot.net/pipermail/devel/attachments/20080620/60ffb5b5/attachment.bin>


More information about the devel mailing list