Ticket #2192 (closed enhancement: worksforme)
GerritChangeSource: event filter
| Reported by: | sanxiyn | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | undecided |
| Version: | 0.8.5 | Keywords: | gerrit |
| Cc: |
Description
You may be interested in only a small number of projects in a large Gerrit installation. This patch lets you to create Changes only for Gerrit events you care about.
Attachments
Change History
comment:1 Changed 4 months ago by tom.prince
I can see how this could be useful for large Gerrit installations, even though we can already filter changes at the scheduler. If something like this was going to go in, reusing the changefilter from there would make sense.
In addition, even though it is perhaps mostly useful for gerrit, it seems like it would be straightforward to add this ability to all change sources at once.
comment:2 Changed 4 months ago by sanxiyn
I actually think a better way to do this is to create a new Gerrit user who can access only those projects and branches, so that gerrit stream-events will stream only those events. The trouble is that it can be difficult to convince Gerrit administrators that a new Gerrit user with a new set of permissions should be created.
So I don't think this is a best practice, but hopefully it can help others in a similar situation.
![[Buildbot Logo]](/chrome/site/header-text-transparent.png)
