Skip to content
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

make it possible to filter Gerrit events before they land in the database #1863

Closed
wants to merge 2 commits into from
Closed

make it possible to filter Gerrit events before they land in the database #1863

wants to merge 2 commits into from

Conversation

sa2ajj
Copy link
Contributor

@sa2ajj sa2ajj commented Sep 26, 2015

No description provided.

@tardyp
Copy link
Member

tardyp commented Sep 26, 2015

I like the api better. I think you should put this optional parameter in
the base class without the need for a new class.

Also don't override init and rather use checkConfig/reconfigService.
See my last pr about gerrit change source.

Le sam. 26 sept. 2015 11:07, Mikhail Sobolev notifications@github.com a
écrit :


You can view, comment on, or merge this pull request online at:

#1863
Commit Summary

  • wip

File Changes

Patch Links:


Reply to this email directly or view it on GitHub
#1863.

@sa2ajj
Copy link
Contributor Author

sa2ajj commented Sep 26, 2015

I've been thinking about adding filter parameter to the GerritChangeSource that would basically do the same thing as filter in all those schedulers. The only difference would be that those changes that are filtered here are not added to the database and, as a result, would not "clutter" console view.

@sa2ajj
Copy link
Contributor Author

sa2ajj commented Sep 26, 2015

(and I'll check the PR you mentioned, GH-1852, right?)

@sa2ajj sa2ajj changed the title wip make it possible to filter Gerrit events before they land in the database Sep 28, 2015
@tardyp
Copy link
Member

tardyp commented Sep 28, 2015

Humm, you are using changeFilter API.. I didn't though about that. Good idea!

I think it makes a lot of sense to have a filter at the source, and then a routing filter (that's what scheduler's changefilter are meant for)

I like a lot how it turns out!

@sa2ajj
Copy link
Contributor Author

sa2ajj commented Sep 28, 2015

Hmm... Looks my changes touch quite a few other bits :( I'll need (for sure) to re-arrange commits and make them to be more sensible (a difficult part)

Mikhail Sobolev added 2 commits October 6, 2015 18:18
@sa2ajj sa2ajj added the stalled label Oct 13, 2015
@sa2ajj
Copy link
Contributor Author

sa2ajj commented Oct 13, 2015

I really want to complete this, it's just a matter of time.

@djmitche
Copy link
Member

Closed per http://trac.buildbot.net/wiki/StalePullRequestPolicy -- this can always be re-opened or a new PR opened!

@djmitche djmitche closed this Mar 12, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants