Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(131)

Issue 1831813003: Revert of git cl: Rework Changelist class for Rietveld/Gerrit use. (Closed)

Created:
4 years, 9 months ago by tandrii(chromium)
Modified:
4 years, 9 months ago
CC:
chromium-reviews, dpranke+depot_tools_chromium.org, iannucci+depot_tools_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/tools/depot_tools.git@G100
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Revert of git cl: Rework Changelist class for Rietveld/Gerrit use. (patchset #8 id:380001 of https://codereview.chromium.org/1805193002/ ) Reason for revert: Broke one project presubmit. Original issue's description: > git cl: Rework Changelist class for Rietveld/Gerrit use. > > This adds pluggable codereview-specific implementations into > Changelist class. The specific implementation is chosen at > Changelist automatically, with Rietveld being default for > backwards compatibility. > > Gerrit implementation for Gerrit is incomplete, and will be > added in later CLs. However, it is sufficient to ensure > current functionality of this tool is not diminished. > > Sadly, the base class isn't completely free from Rietveld > assumptions because of presubmit_support. Apparently, PRESUBMIT > scripts can make use of Rietveld instance for RPCs directly. > This use doesn't make sense for Gerrit, which substitutes > rietveld instance with a dummy object, which raises exception > on any attribute access with a diagnostic message. > > This also includes refactoring of some related code which > (ab)used ChangeList. Overall, this CL adds a few extra call to > git config in order to determine which codereview to use, but > but it shouldn't have any performance impact. > > > BUG=579160 > > Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=299462 TBR=phajdan.jr@chromium.org,andybons@chromium.org,machenbach@chromium.org,sergiyb@chromium.org # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=579160, 597638 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=299476

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+154 lines, -423 lines) Patch
M git_cl.py View 21 chunks +130 lines, -392 lines 0 comments Download
M tests/git_cl_test.py View 10 chunks +24 lines, -31 lines 0 comments Download

Messages

Total messages: 10 (4 generated)
tandrii(chromium)
Created Revert of git cl: Rework Changelist class for Rietveld/Gerrit use.
4 years, 9 months ago (2016-03-24 17:19:36 UTC) #1
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1831813003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1831813003/1
4 years, 9 months ago (2016-03-24 17:19:41 UTC) #2
commit-bot: I haz the power
Failed to apply patch for git_cl.py: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
4 years, 9 months ago (2016-03-24 17:19:48 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1831813003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1831813003/1
4 years, 9 months ago (2016-03-24 17:33:30 UTC) #7
commit-bot: I haz the power
Committed patchset #1 (id:1) as http://src.chromium.org/viewvc/chrome?view=rev&revision=299476
4 years, 9 months ago (2016-03-24 17:33:34 UTC) #9
Sergiy Byelozyorov
4 years, 9 months ago (2016-03-24 17:49:06 UTC) #10
Message was sent while issue was closed.
lgtm

Powered by Google App Engine
This is Rietveld 408576698