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

Side by Side Diff: tools/push-to-trunk/test_scripts.py

Issue 607893004: Add tag write access to merge script. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « tools/push-to-trunk/common_includes.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright 2013 the V8 project authors. All rights reserved. 2 # Copyright 2013 the V8 project authors. All rights reserved.
3 # Redistribution and use in source and binary forms, with or without 3 # Redistribution and use in source and binary forms, with or without
4 # modification, are permitted provided that the following conditions are 4 # modification, are permitted provided that the following conditions are
5 # met: 5 # met:
6 # 6 #
7 # * Redistributions of source code must retain the above copyright 7 # * Redistributions of source code must retain the above copyright
8 # notice, this list of conditions and the following disclaimer. 8 # notice, this list of conditions and the following disclaimer.
9 # * Redistributions in binary form must reproduce the above 9 # * Redistributions in binary form must reproduce the above
10 # copyright notice, this list of conditions and the following 10 # copyright notice, this list of conditions and the following
(...skipping 1254 matching lines...) Expand 10 before | Expand all | Expand 10 after
1265 RL("Y"), # Automatically increment patch level? 1265 RL("Y"), # Automatically increment patch level?
1266 Cmd("git commit -aF \"%s\"" % TEST_CONFIG["COMMITMSG_FILE"], ""), 1266 Cmd("git commit -aF \"%s\"" % TEST_CONFIG["COMMITMSG_FILE"], ""),
1267 RL("reviewer@chromium.org"), # V8 reviewer. 1267 RL("reviewer@chromium.org"), # V8 reviewer.
1268 Cmd("git cl upload --send-mail -r \"reviewer@chromium.org\" " 1268 Cmd("git cl upload --send-mail -r \"reviewer@chromium.org\" "
1269 "--bypass-hooks --cc \"ulan@chromium.org\"", ""), 1269 "--bypass-hooks --cc \"ulan@chromium.org\"", ""),
1270 Cmd("git checkout -f %s" % TEST_CONFIG["BRANCHNAME"], ""), 1270 Cmd("git checkout -f %s" % TEST_CONFIG["BRANCHNAME"], ""),
1271 RL("LGTM"), # Enter LGTM for V8 CL. 1271 RL("LGTM"), # Enter LGTM for V8 CL.
1272 Cmd("git cl presubmit", "Presubmit successfull\n"), 1272 Cmd("git cl presubmit", "Presubmit successfull\n"),
1273 Cmd("git cl dcommit -f --bypass-hooks", "Closing issue\n", 1273 Cmd("git cl dcommit -f --bypass-hooks", "Closing issue\n",
1274 cb=VerifySVNCommit), 1274 cb=VerifySVNCommit),
1275 Cmd("git svn tag 3.22.5.1 -m \"Tagging version 3.22.5.1\"", ""), 1275 Cmd("git tag 3.22.5.1", ""),
1276 Cmd("git push origin 3.22.5.1", ""),
Michael Achenbach 2014/09/26 14:11:52 Pushing the tag might take over the git updater fr
1276 Cmd("git checkout -f some_branch", ""), 1277 Cmd("git checkout -f some_branch", ""),
1277 Cmd("git branch -D %s" % TEST_CONFIG["BRANCHNAME"], ""), 1278 Cmd("git branch -D %s" % TEST_CONFIG["BRANCHNAME"], ""),
1278 ]) 1279 ])
1279 1280
1280 # r12345 and r34567 are patches. r23456 (included) and r45678 are the MIPS 1281 # r12345 and r34567 are patches. r23456 (included) and r45678 are the MIPS
1281 # ports of r12345. r56789 is the MIPS port of r34567. 1282 # ports of r12345. r56789 is the MIPS port of r34567.
1282 args = ["-f", "-p", extra_patch, "--branch", "candidates", 1283 args = ["-f", "-p", extra_patch, "--branch", "candidates",
1283 "--vc-interface", "git_read_svn_write", "12345", "23456", "34567"] 1284 "--vc-interface", "git_read_svn_write", "12345", "23456", "34567"]
1284 1285
1285 # The first run of the script stops because of the svn being down. 1286 # The first run of the script stops because of the svn being down.
(...skipping 379 matching lines...) Expand 10 before | Expand all | Expand 10 after
1665 1666
1666 Review URL: https://codereview.chromium.org/83173002 1667 Review URL: https://codereview.chromium.org/83173002
1667 1668
1668 ------------------------------------------------------------------------""") 1669 ------------------------------------------------------------------------""")
1669 self.assertEquals( 1670 self.assertEquals(
1670 """Prepare push to trunk. Now working on version 3.23.11. 1671 """Prepare push to trunk. Now working on version 3.23.11.
1671 1672
1672 R=danno@chromium.org 1673 R=danno@chromium.org
1673 1674
1674 Committed: https://code.google.com/p/v8/source/detail?r=17997""", body) 1675 Committed: https://code.google.com/p/v8/source/detail?r=17997""", body)
OLDNEW
« no previous file with comments | « tools/push-to-trunk/common_includes.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698