From 22506e5682e4af61500852ef8397834e9a16ec28 Mon Sep 17 00:00:00 2001
From: Ian Wienand <iwienand@redhat.com>
Date: Fri, 3 Mar 2023 10:57:26 +1100
Subject: [PATCH] doc/gerrit : update copyCondition

Update the deprecated copy flags to copyCondition in the boostrap
documentation.

The verified and workflow labels don't ever copy their approvals, so
it is really only code-review.

Change-Id: I3563a7a394ae7d96af9e27b10dc18ba5c459ba82
---
 doc/source/gerrit.rst | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/doc/source/gerrit.rst b/doc/source/gerrit.rst
index a7d82af71b..75cf085ffc 100644
--- a/doc/source/gerrit.rst
+++ b/doc/source/gerrit.rst
@@ -294,8 +294,7 @@ Next, edit ``project.config`` to look like::
 
   [label "Code-Review"]
   abbreviation = R
-  copyAllScoresOnTrivialRebase = true
-  copyMinScore = true
+  copyCondition = changekind:TRIVIAL_REBASE OR is:MIN
   function = MaxWithBlock
   value = -2 Do not merge
   value = -1 This patch needs further work before it can be merged