By implementing the new OnPostReview interface plugins can now extend
the change message that is being posted when the post review REST
endpoint is invoked.
E.g. this is useful if certain approvals have a special meaning (e.g.
custom logic that is implemented in Prolog submit rules, signal for
triggering an action like running CI etc.), as it allows the plugin to
tell users about this meaning in the change message. This makes the
effect of a given approval more transparent to the user.
We intend to use this extension point in the code-owners plugin where a
configured label counts as code owner approval. If an approval on this
label is given, we want to tell the user which files have been approved
by this vote (which depends on which of the files are owned by the
user).
Signed-off-by: Edwin Kempin <ekempin@google.com>
Change-Id: I7742837f2b5d891a976dbc843d3d1e90e453c6eb