[Buildbot-devel] ChangeFilter would accept different attributes for the same filter?

shiny knight theshinyknight at me.com
Mon Mar 10 01:12:18 UTC 2014


The issue is this: I have a builder that build 2 different projects, in 2 different repo. I have decided to use a filter to trigger a scheduler, using the repository attribute.

Now, I have noticed that one of these 2 repository (which are on Git, configured with hooks and py script for the post-commit), when sending data to the bot, send the project instead of the repository.
This means that my filter will trigger the scheduler only when the changes are made on one of the 2 project, but not on the other.

Hence my question: could I configure a filter, to trigger the builder for either the project or repository attribute? Or does a filter accept only one type of attribute?

Something like

myFilter= ChangeFilter ( project="datasetA", repository="user at git.myrepo.com/proj/datasetB.git")


I would love to know why, I get for some projects the project name and empty repository, while for other projects I get instead an empty project name, but I get the repository (they use the same git server, they just sit in different folders, and the hooks are virtually the same file with just the project name changed); but in the time being, if I can work around configuring the filter, I will be more than happy

Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20140309/aad5c0c5/attachment.html>


More information about the devel mailing list