On 29 December 2012 01:08, Merlijn van Deen valhallasw@arctus.nl wrote:
Could you make it so that I can subscribe to a file pattern, too? I'd like to be added as a reviewer to all patch sets that include files with i18n in the name (unless it's a patch set by L10n-bot).
This will take some work (because I have to retrieve the patchsets from gerrit in some way), but it should be possible. I'll try to get this working!
A (somewhat hackish, but that's the entire bot) implementation is now running - you can add a 'file_regexp' template parameter which is matched against all changed files. See [1] for examples and subscription ;-) - you can either get added to matched changes within a repository (Alex' use case) or to matched changes in all repositories (Siebrand and Raimond's use case): add yourself under the '*' header for that.
To test the regexp, try [2] (method=search, options DOTALL and IGNORECASE).
Best, Merlijn
[1] http://www.mediawiki.org/wiki/Git/Reviewers#* [2] http://re-try.appspot.com/