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

Issue 2594513003: Merge scm.py and git.py in webkitpy. (Closed)

Created:
4 years ago by qyearsley
Modified:
3 years, 11 months ago
Reviewers:
Dirk Pranke, ojan
CC:
blink-reviews, chromium-reviews, Dirk Pranke, jeffcarp
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Merge scm.py and git.py in webkitpy. This is something which I've wanted to do for a while, since the Blink codebase is merged into Chromium and Chromium is git-only. The purpose of this change is to make it a little simpler and easier to change or use SCM methods in webkitpy in the future. In this CL: - Remove scm.py, merge scm.py and git.py - Move scm_mock.py -> git_mock.py - Move scm_unittest.py -> git_unittest.py - Simplify git.py, git_mock.py. - Clean up and improve coverage for git_unittest.py. Follow-ups that I think should be done after this: - Remove SCM detection code. - Rename scm -> git everywhere. - Move git.py and unit test into webkitpy/common/. - Refactor SCM initialization code in Host. - Move Windows-only git initialization from Host. BUG=676012 Review-Url: https://codereview.chromium.org/2594513003 Cr-Commit-Position: refs/heads/master@{#442291} Committed: https://chromium.googlesource.com/chromium/src/+/ad16c9d3694d24a3ed6c1eab71a567d1094d99f7

Patch Set 1 #

Total comments: 2

Patch Set 2 : Rebased #

Messages

Total messages: 27 (21 generated)
qyearsley
4 years ago (2016-12-20 19:16:55 UTC) #3
qyearsley
https://codereview.chromium.org/2594513003/diff/1/third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/scm/git_unittest.py File third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/scm/git_unittest.py (right): https://codereview.chromium.org/2594513003/diff/1/third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/scm/git_unittest.py#newcode78 third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/scm/git_unittest.py:78: def test_add_list(self): These methods (test_add_list, test_delete*, test_exists, test_move*) were ...
4 years ago (2016-12-20 19:20:24 UTC) #4
qyearsley
On 2016/12/20 at 19:20:24, qyearsley wrote: > https://codereview.chromium.org/2594513003/diff/1/third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/scm/git_unittest.py > File third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/scm/git_unittest.py (right): > > https://codereview.chromium.org/2594513003/diff/1/third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/scm/git_unittest.py#newcode78 ...
3 years, 11 months ago (2017-01-05 23:44:52 UTC) #21
Dirk Pranke
lgtm. https://codereview.chromium.org/2594513003/diff/1/third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/scm/git_unittest.py File third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/scm/git_unittest.py (right): https://codereview.chromium.org/2594513003/diff/1/third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/scm/git_unittest.py#newcode78 third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/scm/git_unittest.py:78: def test_add_list(self): On 2016/12/20 19:20:24, qyearsley wrote: > ...
3 years, 11 months ago (2017-01-09 04:44:52 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2594513003/20001
3 years, 11 months ago (2017-01-09 17:08:46 UTC) #24
commit-bot: I haz the power
3 years, 11 months ago (2017-01-09 18:09:55 UTC) #27
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/ad16c9d3694d24a3ed6c1eab71a5...

Powered by Google App Engine
This is Rietveld 408576698