[Buildbot-devel] what exactly should "branch=" be in a scheduler?

john gale john at smadness.com
Sat Jan 12 01:56:28 UTC 2008


On Jan 11, 2008, at 5:47 PM, john gale wrote:

> So the question is, what exactly should "branch=" be in the
> scheduler?  The path of the svn repo minus the root? The "name" of the
> branch, which is specified somewhere I haven't found yet?



Oop, just found the split_file requirement.

> split_fileA function to convert pathnames into (branch,  
> relative_pathname) tuples. Use this to explain your repository's  
> branch-naming policy to SVNPoller. This function must accept a  
> single string and return a two-entry tuple. There are a few utility  
> functions in buildbot.changes.svnpoller that can be used as a  
> split_file function, see below for details.
> The default value always returns (None, path), which indicates that  
> all files are on the trunk.
>
> Subclasses of SVNPoller can override the split_file method instead  
> of using the split_file= argument.
>


	~ john

=================
support the arts!
www.smadness.com

updated October 12, 2005






More information about the devel mailing list