gerrit: delete assignee logic
Gerrit has deprecated the assignee field and stopped showing it.
Delete it from our side too.
BUG=None
TEST=CQ passes
Change-Id: I5a1b29f160bf228eb3abbcf730ccf565b940ef5d
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/chromite/+/2740238
Tested-by: Mike Frysinger <vapier@chromium.org>
Auto-Submit: Mike Frysinger <vapier@chromium.org>
Reviewed-by: Alex Klein <saklein@chromium.org>
Commit-Queue: Alex Klein <saklein@chromium.org>
diff --git a/scripts/gerrit.py b/scripts/gerrit.py
index 9910970..acfbb0e 100644
--- a/scripts/gerrit.py
+++ b/scripts/gerrit.py
@@ -634,24 +634,6 @@
dryrun=opts.dryrun, notify=opts.notify)
-class ActionAssign(_ActionSimpleParallelCLs):
- """Set the assignee for CLs"""
-
- COMMAND = 'assign'
-
- @staticmethod
- def init_subparser(parser):
- """Add arguments to this action's subparser."""
- _ActionSimpleParallelCLs.init_subparser(parser)
- parser.add_argument('assignee',
- help='The new assignee')
-
- @staticmethod
- def _process_one(helper, cl, opts):
- """Use |helper| to process the single |cl|."""
- helper.SetAssignee(cl, opts.assignee, dryrun=opts.dryrun)
-
-
class ActionMessage(_ActionSimpleParallelCLs):
"""Add a message to a CL"""
@@ -1032,7 +1014,7 @@
with Commit-Queue=1.
$ gerrit label-cq `gerrit --raw -i mine` 1 # Mark *ALL* of your internal \
CLs with Commit-Queue=1.
- $ gerrit --json search 'assignee:self' # Dump all pending CLs in JSON.
+ $ gerrit --json search 'attention:self' # Dump all pending CLs in JSON.
Actions:
"""