This project is read-only.
1

Closed

Allow custom replacements

description

Introduce a new XML tag that allows adding new replacements whose content is calculated using a regular expression which is applied on the commit message (or maybe even any "fixed" replacement).
For instance this might be useful to create a new replacement token which contains the bug-ids that are extracted from the commit message.

Suggestion:
<ReplacementToken TokenName="Foo" Value="a constant text"/>
<ReplacementToken TokenName="Bar" Value="#author# (#revision#)" />
<ReplacementToken TokenName="BugID" Value="#logmessage#" RegExPattern="Bug #(/d*)" />
Closed Jan 12, 2014 at 3:02 PM by markushastreiter
Added with commit 4e4a85175b95.
Available via RepoCop 1.2 which was released today.

comments