Add info about Plugins contributing Prolog predicates.

Change-Id: I290a3d3348cabf9fe9f2681534fd0d196a86c44f
Signed-off-by: Sasa Zivkov <sasa.zivkov@sap.com>
This commit is contained in:
Sasa Zivkov
2013-01-16 14:26:06 +01:00
parent 84c4d3e4b8
commit d0e5526c08

View File

@@ -324,6 +324,9 @@ On the other hand, Prolog based submit rules get a limited amount of facts about
the change exposed to them. Gerrit plugins get full access to Gerrit internals
and can potentially check more things than Prolog based rules.
From version 2.6 Gerrit plugins can contribute Prolog predicates. This way, we
can make use of the plugin provided predicates when writing Prolog based rules.
Examples - Submit Rule
----------------------
The following examples should serve as a cookbook for developing own submit rules.