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

Issue 1098123002: [release-tools] Tool to find related commits (Closed)

Created:
5 years, 8 months ago by Michael Hablich
Modified:
5 years, 7 months ago
Reviewers:
Michael Achenbach
CC:
v8-dev
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[release-tools] Tool to find related commits usage: This tool analyzes the commit range between <of> and <until>. It finds commits which belong together e.g. Implement/Revert pairs and Implement/Port/Revert triples. All supplied hashes need to be from the same branch e.g. master. Example for M42: ./search_related_commits.py --prettyprint --separator e0110920d6f98f0ba2ac0d680f635ae3f094a04e b856e8785933a2a9cd884ab8966fee0e7098927e b1c2a3495624a9776c7df865d972886f2d078c10 BUG= NOTRY=true Committed: https://crrev.com/276a846f69dcae94d601732cf06dc003ff6071e3 Cr-Commit-Position: refs/heads/master@{#28197}

Patch Set 1 #

Total comments: 8

Patch Set 2 : Not for review: Just an update so it is saved #

Patch Set 3 : Have a look, tests will follow #

Patch Set 4 : --grep from git now fed properly by python #

Patch Set 5 : Prettyprint, sorting by date #

Total comments: 27

Patch Set 6 : Did reformatting+refactoring #

Total comments: 9

Patch Set 7 : Made changes, made code testable, added 4 tests #

Total comments: 15

Patch Set 8 : Changes according to review #

Total comments: 24

Patch Set 9 : More changes according to review + more tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+492 lines, -0 lines) Patch
A tools/release/search_related_commits.py View 1 2 3 4 5 6 7 8 1 chunk +218 lines, -0 lines 0 comments Download
A tools/release/test_search_related_commits.py View 1 2 3 4 5 6 7 8 1 chunk +274 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (3 generated)
Michael Achenbach
detectReverts.py -> detect_reverts.py Please be more pedantic about style as long as there is no ...
5 years, 8 months ago (2015-04-21 14:14:24 UTC) #2
Michael Hablich
On 2015/04/21 14:14:24, Michael Achenbach wrote: > detectReverts.py -> detect_reverts.py > > Please be more ...
5 years, 8 months ago (2015-04-21 14:32:12 UTC) #3
Michael Achenbach
Some comments. Will make another review round after you looked through those. Many of the ...
5 years, 8 months ago (2015-04-24 12:45:12 UTC) #4
Michael Hablich
https://codereview.chromium.org/1098123002/diff/80001/tools/release/search_related_commits.py File tools/release/search_related_commits.py (right): https://codereview.chromium.org/1098123002/diff/80001/tools/release/search_related_commits.py#newcode14 tools/release/search_related_commits.py:14: git_working_dir, of, until, deadline, verbose=False): On 2015/04/24 12:45:12, Michael ...
5 years, 8 months ago (2015-04-27 11:06:08 UTC) #5
Michael Achenbach
Some more readability comments and replies, before diving into the functionality a bit deeper. Could ...
5 years, 8 months ago (2015-04-27 13:09:43 UTC) #6
Michael Hablich
PTAL https://codereview.chromium.org/1098123002/diff/100001/tools/release/search_related_commits.py File tools/release/search_related_commits.py (right): https://codereview.chromium.org/1098123002/diff/100001/tools/release/search_related_commits.py#newcode16 tools/release/search_related_commits.py:16: hash = of On 2015/04/27 13:09:43, Michael Achenbach ...
5 years, 8 months ago (2015-04-27 15:39:00 UTC) #7
Michael Achenbach
https://codereview.chromium.org/1098123002/diff/80001/tools/release/search_related_commits.py File tools/release/search_related_commits.py (right): https://codereview.chromium.org/1098123002/diff/80001/tools/release/search_related_commits.py#newcode162 tools/release/search_related_commits.py:162: (_git_execute(options.git_dir, On 2015/04/27 13:09:43, Michael Achenbach wrote: > On ...
5 years, 7 months ago (2015-04-28 21:23:52 UTC) #8
Michael Hablich
https://codereview.chromium.org/1098123002/diff/120001/tools/release/search_related_commits.py File tools/release/search_related_commits.py (right): https://codereview.chromium.org/1098123002/diff/120001/tools/release/search_related_commits.py#newcode22 tools/release/search_related_commits.py:22: #Adding start hash too On 2015/04/28 21:23:51, Michael Achenbach ...
5 years, 7 months ago (2015-04-29 09:22:43 UTC) #9
Michael Achenbach
https://codereview.chromium.org/1098123002/diff/1/tools/release/detectReverts.py File tools/release/detectReverts.py (right): https://codereview.chromium.org/1098123002/diff/1/tools/release/detectReverts.py#newcode39 tools/release/detectReverts.py:39: parser = argparse.ArgumentParser('Tool to check where a git commit ...
5 years, 7 months ago (2015-05-04 08:57:54 UTC) #10
Michael Achenbach
LGTM (after fixing the last comments series). Retried the example, was a bit blind on ...
5 years, 7 months ago (2015-05-04 11:51:29 UTC) #11
Michael Hablich
https://codereview.chromium.org/1098123002/diff/140001/tools/release/search_related_commits.py File tools/release/search_related_commits.py (right): https://codereview.chromium.org/1098123002/diff/140001/tools/release/search_related_commits.py#newcode21 tools/release/search_related_commits.py:21: #Adding start hash too On 2015/05/04 08:57:53, Michael Achenbach ...
5 years, 7 months ago (2015-05-04 12:17:32 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1098123002/160001
5 years, 7 months ago (2015-05-04 12:18:56 UTC) #15
commit-bot: I haz the power
Committed patchset #9 (id:160001)
5 years, 7 months ago (2015-05-04 12:20:15 UTC) #16
commit-bot: I haz the power
Patchset 9 (id:??) landed as https://crrev.com/276a846f69dcae94d601732cf06dc003ff6071e3 Cr-Commit-Position: refs/heads/master@{#28197}
5 years, 7 months ago (2015-05-04 12:20:30 UTC) #17
Michael Achenbach
5 years, 7 months ago (2015-05-04 12:27:00 UTC) #18
Message was sent while issue was closed.
RSLGTM!

Powered by Google App Engine
This is Rietveld 408576698