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

Issue 9298012: Add patch-merging script (Closed)

Created:
8 years, 11 months ago by danno
Modified:
8 years, 10 months ago
Reviewers:
Jakob Kummerow
CC:
v8-dev
Visibility:
Public.

Description

Add a script to automatically merge patches to a branch Committed: https://code.google.com/p/v8/source/detail?r=10561

Patch Set 1 #

Patch Set 2 : Tweaks #

Total comments: 44

Patch Set 3 : address feedback #

Patch Set 4 : tweaks #

Patch Set 5 : correct help syntax #

Patch Set 6 : Review feedback #

Patch Set 7 : fix bugs #

Total comments: 10
Unified diffs Side-by-side diffs Delta from patch set Stats (+356 lines, -0 lines) Patch
A tools/merge-to-branch.sh View 1 2 3 4 5 6 1 chunk +356 lines, -0 lines 10 comments Download

Messages

Total messages: 5 (0 generated)
danno
First draft, lots of loose edges, but feedback welcome.
8 years, 11 months ago (2012-01-27 14:36:35 UTC) #1
Jakob Kummerow
I have a bunch of comments. Once the way this script works has stabilized, I ...
8 years, 11 months ago (2012-01-27 16:28:12 UTC) #2
danno
Please take another look https://chromiumcodereview.appspot.com/9298012/diff/2001/tools/merge-to-branch.sh File tools/merge-to-branch.sh (right): https://chromiumcodereview.appspot.com/9298012/diff/2001/tools/merge-to-branch.sh#newcode2 tools/merge-to-branch.sh:2: # Copyright 2011 the V8 ...
8 years, 10 months ago (2012-01-31 10:37:57 UTC) #3
Jakob Kummerow
LGTM with nits. http://codereview.chromium.org/9298012/diff/7002/tools/merge-to-branch.sh File tools/merge-to-branch.sh (right): http://codereview.chromium.org/9298012/diff/7002/tools/merge-to-branch.sh#newcode206 tools/merge-to-branch.sh:206: NEW_COMMIT_MSG="Merged$NEW_COMMIT_MSG into \ nit: fits on ...
8 years, 10 months ago (2012-01-31 11:11:10 UTC) #4
danno
8 years, 10 months ago (2012-01-31 11:13:11 UTC) #5
Feedback addressed, landing

https://chromiumcodereview.appspot.com/9298012/diff/7002/tools/merge-to-branc...
File tools/merge-to-branch.sh (right):

https://chromiumcodereview.appspot.com/9298012/diff/7002/tools/merge-to-branc...
tools/merge-to-branch.sh:206: NEW_COMMIT_MSG="Merged$NEW_COMMIT_MSG into \
On 2012/01/31 11:11:10, Jakob wrote:
> nit: fits on one line

Done.

https://chromiumcodereview.appspot.com/9298012/diff/7002/tools/merge-to-branc...
tools/merge-to-branch.sh:211: for HASH in ${PATCH_COMMIT_HASHES[@]} ;  do
On 2012/01/31 11:11:10, Jakob wrote:
> nit: double space before "do"

Done.

https://chromiumcodereview.appspot.com/9298012/diff/7002/tools/merge-to-branc...
tools/merge-to-branch.sh:228: echo "BUG=none" >> $COMMITMSG_FILE
On 2012/01/31 11:11:10, Jakob wrote:
> I'd just remove this. "BUG=none" adds no useful information.

Done.

https://chromiumcodereview.appspot.com/9298012/diff/7002/tools/merge-to-branc...
tools/merge-to-branch.sh:230: echo -n "TEST=none" >> $COMMITMSG_FILE
On 2012/01/31 11:11:10, Jakob wrote:
> Same here.

Done.

https://chromiumcodereview.appspot.com/9298012/diff/7002/tools/merge-to-branc...
tools/merge-to-branch.sh:251: MAJOR=$(grep "#define MAJOR_VERSION"
"$VERSION_FILE" | awk '{print $NF}')
On 2012/01/31 11:11:10, Jakob wrote:
> AFAICS the tag is created using NEWMAJOR, NEWMINOR, NEWBUILD, which are
created
> and persisted in the next step. So you really don't need these.

Done.

Powered by Google App Engine
This is Rietveld 408576698