New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add GerritChangeFilter #1070
add GerritChangeFilter #1070
Conversation
@hgenru @PiotrSikora comments? |
I'd like to hear comments from someone else using Gerrit, but I have no problem with this - please merge when you have feedback, or if none comes. |
Sorry, I've stopped using buildbot (and Gerrit) a while ago. |
What about ChangeFilter validation functions? |
Its not very clear for people how to use gerritchangesource to filter gerrit change events, and create builds. add GerritChangeFilter, which is a simple general purpose filter, which manage most of the changefilters needs doc + tests and some whitespace fixing in the doc. Signed-off-by: Pierre Tardy <pierre.tardy@intel.com>
new version with reuse of the original changefilter |
Will this work with Nightly builds? Now there are some difficulties. |
Well, if you specify what kind of difficulties, I could tell. I have made Pierre On Tue, Feb 25, 2014 at 9:41 AM, Alexander Plesovskikh <
|
https://github.com/buildbot/buildbot/blob/master/master/buildbot/schedulers/timed.py#L348 master =! master/1234 |
indeed. I think Nightly should use ChangeFilters instead. Pierre On Tue, Feb 25, 2014 at 10:19 AM, Alexander Plesovskikh <
|
They use, but somehow wrong. |
This comes at the prize of a little bit of complexity Signed-off-by: Pierre Tardy <pierre.tardy@intel.com>
for nightly and post-commit style schedulers, you really need to have the branch to be the real gerrit branch or the list of changes in the UI will be incorrect This is a simple way of implementing it, probably by separating the change grouping to the notion of change branch Signed-off-by: Pierre Tardy <pierre.tardy@intel.com>
…-created and some cleanup of failUnless* API usage Signed-off-by: Pierre Tardy <pierre.tardy@intel.com>
Excuse me. I now have no way to verify. |
@tardyp please merge |
merged in master and nine |
I realize I never upstreamed this simple change filter I made two years ago.
Hoping this will help to understand how things are supposed to be bound together.
Its not very clear for people how to use gerritchangesource to filter
gerrit change events, and create builds.
add GerritChangeFilter, which is a simple general purpose filter, which
manage most of the changefilters needs
doc + tests
and some whitespace fixing in the doc.