Auto-deferral regexes for CodeReview were implemented in r63277 [1],
and I deployed this feature three weeks ago. It allows us to set an
array of regexes that will be matched against the path of each new
commit; if one of them matches, the commit is automatically marked as
'deferred' instead of 'new'.

There are a few limitations to this implementation that are important
to understand:
* it only matches paths, not commit summaries. This means
auto-deferring e.g. TranslateWiki exports is harder
* it only matches the root path of the commit, which is very often an
uninformative one like /trunk/phase3 , /trunk/extensions , /trunk or
even / . This means you can't e.g. auto-defer all commits touching a
certain file or path

Despite these limitations, this feature could be quite useful for
autodeferring at least some large parts of the repository we don't
care about review-wise. Any suggestions for paths to auto-defer?

Roan Kattouw (Catrope)

[1] http://www.mediawiki.org/wiki/Special:Code/MediaWiki/63277

_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to