Index: subversion.conf =================================================================== --- subversion.conf (revision 775266) +++ subversion.conf (working copy) @@ -5,10 +5,33 @@ from buildbot.steps.master import MasterShellCommand from buildbot.steps.transfer import FileUpload + +# List the paths that are not interesting enough to trigger a new build. +excludes = ["COMMITTERS", "STATUS", "CHANGES", "README", "INSTALL", "COPYING", "HACKING", "TRANSLATING", + "BUGS", "www", "notes", "packages", "subversion/LICENSE", "subversion/po", "doc", "contrib", + "tools", "dist.sh"] + +def isImportant(change): + if not excludes: + return True + + for file in change.files: + triggerBuild = False + for pattern in excludes: + match = re.match(pattern, file) + if not match: + triggerBuild = True + break + if triggerBuild: + return True + c['schedulers'].append(AnyBranchScheduler(name="on-subversion-commit", - branches=["subversion/trunk"], + branches=["subversion/trunk", + "subversion/branches/1.3.x", "subversion/branches/1.4.x", + "subversion/branches/1.5.x", "subversion/branches/1.6.x"], treeStableTimer=2*60, - builderNames=["subversion-trunk" , "slik-w2k3-x64-local" , "slik-w2k3-x64-ra"])) + builderNames=["subversion-trunk" , "slik-w2k3-x64-local" , "slik-w2k3-x64-ra"], + fileIsImportant=isImportant)) #builders