Revert "git-cl: make SetReview ReAuth capable"

This reverts commit 6da6aecbb4.

Reason for revert: Breaks official chrome release.

Original change's description:
> git-cl: make SetReview ReAuth capable
>
> This CL changes SetReview to be ReAuth capable.
>
> This is a potential breaking change if an downstream script relies on
> gerrit_util.SetReview but hasn't implemented ReAuth.
>
> If this caused breakage, please refer to https://chromium.googlesource.com/chromium/src.git/+/HEAD/docs/gerrit_reauth.md#Troubleshooting for troubleshooting instructions.
>
> If the above doesn't work, please report a bug, then add `LUCI_BYPASS_REAUTH=1` to the environment to disable ReAuth for now.
>
> Bug: 442666611
> Change-Id: I7724f15f166f9975fc88be5d8e1c93be4e1ec302
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/6939308
> Reviewed-by: Allen Li <ayatane@chromium.org>
> Reviewed-by: Scott Lee <ddoman@chromium.org>
> Commit-Queue: Jiewei Qian <qjw@chromium.org>

Bug: 442666611
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Change-Id: I7b7e769b5a8011d45e976e471d0f2e43f186e0c6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/6955930
Commit-Queue: Alex Kravchuk <alexanderkr@google.com>
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Owners-Override: Ben Mason <benmason@chromium.org>
This commit is contained in:
Jacek Dobrowolski
2025-09-17 03:52:50 -07:00
committed by LUCI CQ
parent 6da6aecbb4
commit c932af8f97
4 changed files with 8 additions and 83 deletions

View File

@@ -2270,8 +2270,7 @@ class Changelist(object):
gerrit_util.SetReview(self.GetGerritHost(),
self._GerritChangeIdentifier(),
labels=labels,
notify=notify,
project=self.GetGerritProject())
notify=notify)
return 0
except KeyboardInterrupt:
raise
@@ -2589,8 +2588,7 @@ class Changelist(object):
gerrit_util.SetReview(self.GetGerritHost(),
self._GerritChangeIdentifier(),
msg=message,
ready=publish,
project=self.GetGerritProject())
ready=publish)
def GetCommentsSummary(self, readable=True):
# DETAILED_ACCOUNTS is to get emails in accounts.