OLD | NEW |
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 1119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1130 "", cb=VerifyPatch("patch1")), | 1130 "", cb=VerifyPatch("patch1")), |
1131 Cmd("git log -1 -p hash5", "patch5\n"), | 1131 Cmd("git log -1 -p hash5", "patch5\n"), |
1132 Cmd(("git apply --index --reject \"%s\"" % | 1132 Cmd(("git apply --index --reject \"%s\"" % |
1133 TEST_CONFIG["TEMPORARY_PATCH_FILE"]), | 1133 TEST_CONFIG["TEMPORARY_PATCH_FILE"]), |
1134 "", cb=VerifyPatch("patch5\n")), | 1134 "", cb=VerifyPatch("patch5\n")), |
1135 Cmd("git apply --index --reject \"%s\"" % extra_patch, ""), | 1135 Cmd("git apply --index --reject \"%s\"" % extra_patch, ""), |
1136 RL("Y"), # Automatically increment patch level? | 1136 RL("Y"), # Automatically increment patch level? |
1137 Cmd("git commit -aF \"%s\"" % TEST_CONFIG["COMMITMSG_FILE"], ""), | 1137 Cmd("git commit -aF \"%s\"" % TEST_CONFIG["COMMITMSG_FILE"], ""), |
1138 RL("reviewer@chromium.org"), # V8 reviewer. | 1138 RL("reviewer@chromium.org"), # V8 reviewer. |
1139 Cmd("git cl upload --send-mail -r \"reviewer@chromium.org\" " | 1139 Cmd("git cl upload --send-mail -r \"reviewer@chromium.org\" " |
1140 "--bypass-hooks -cc \"ulan@chromium.org\"", ""), | 1140 "--bypass-hooks --cc \"ulan@chromium.org\"", ""), |
1141 Cmd("git checkout -f %s" % TEST_CONFIG["BRANCHNAME"], ""), | 1141 Cmd("git checkout -f %s" % TEST_CONFIG["BRANCHNAME"], ""), |
1142 RL("LGTM"), # Enter LGTM for V8 CL. | 1142 RL("LGTM"), # Enter LGTM for V8 CL. |
1143 Cmd("git cl presubmit", "Presubmit successfull\n"), | 1143 Cmd("git cl presubmit", "Presubmit successfull\n"), |
1144 Cmd("git cl dcommit -f --bypass-hooks", "Closing issue\n", | 1144 Cmd("git cl dcommit -f --bypass-hooks", "Closing issue\n", |
1145 cb=VerifySVNCommit), | 1145 cb=VerifySVNCommit), |
1146 Cmd("git svn tag 3.22.5.1 -m \"Tagging version 3.22.5.1\"", ""), | 1146 Cmd("git svn tag 3.22.5.1 -m \"Tagging version 3.22.5.1\"", ""), |
1147 Cmd("git checkout -f some_branch", ""), | 1147 Cmd("git checkout -f some_branch", ""), |
1148 Cmd("git branch -D %s" % TEST_CONFIG["BRANCHNAME"], ""), | 1148 Cmd("git branch -D %s" % TEST_CONFIG["BRANCHNAME"], ""), |
1149 ]) | 1149 ]) |
1150 | 1150 |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1258 "", cb=VerifyPatch("patch1")), | 1258 "", cb=VerifyPatch("patch1")), |
1259 Cmd("git log -1 -p hash5", "patch5\n"), | 1259 Cmd("git log -1 -p hash5", "patch5\n"), |
1260 Cmd(("git apply --index --reject \"%s\"" % | 1260 Cmd(("git apply --index --reject \"%s\"" % |
1261 TEST_CONFIG["TEMPORARY_PATCH_FILE"]), | 1261 TEST_CONFIG["TEMPORARY_PATCH_FILE"]), |
1262 "", cb=VerifyPatch("patch5\n")), | 1262 "", cb=VerifyPatch("patch5\n")), |
1263 Cmd("git apply --index --reject \"%s\"" % extra_patch, ""), | 1263 Cmd("git apply --index --reject \"%s\"" % extra_patch, ""), |
1264 RL("Y"), # Automatically increment patch level? | 1264 RL("Y"), # Automatically increment patch level? |
1265 Cmd("git commit -aF \"%s\"" % TEST_CONFIG["COMMITMSG_FILE"], ""), | 1265 Cmd("git commit -aF \"%s\"" % TEST_CONFIG["COMMITMSG_FILE"], ""), |
1266 RL("reviewer@chromium.org"), # V8 reviewer. | 1266 RL("reviewer@chromium.org"), # V8 reviewer. |
1267 Cmd("git cl upload --send-mail -r \"reviewer@chromium.org\" " | 1267 Cmd("git cl upload --send-mail -r \"reviewer@chromium.org\" " |
1268 "--bypass-hooks -cc \"ulan@chromium.org\"", ""), | 1268 "--bypass-hooks --cc \"ulan@chromium.org\"", ""), |
1269 Cmd("git checkout -f %s" % TEST_CONFIG["BRANCHNAME"], ""), | 1269 Cmd("git checkout -f %s" % TEST_CONFIG["BRANCHNAME"], ""), |
1270 RL("LGTM"), # Enter LGTM for V8 CL. | 1270 RL("LGTM"), # Enter LGTM for V8 CL. |
1271 Cmd("git cl presubmit", "Presubmit successfull\n"), | 1271 Cmd("git cl presubmit", "Presubmit successfull\n"), |
1272 Cmd("git cl dcommit -f --bypass-hooks", "Closing issue\n", | 1272 Cmd("git cl dcommit -f --bypass-hooks", "Closing issue\n", |
1273 cb=VerifySVNCommit), | 1273 cb=VerifySVNCommit), |
1274 Cmd("git svn tag 3.22.5.1 -m \"Tagging version 3.22.5.1\"", ""), | 1274 Cmd("git svn tag 3.22.5.1 -m \"Tagging version 3.22.5.1\"", ""), |
1275 Cmd("git checkout -f some_branch", ""), | 1275 Cmd("git checkout -f some_branch", ""), |
1276 Cmd("git branch -D %s" % TEST_CONFIG["BRANCHNAME"], ""), | 1276 Cmd("git branch -D %s" % TEST_CONFIG["BRANCHNAME"], ""), |
1277 ]) | 1277 ]) |
1278 | 1278 |
(...skipping 385 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1664 | 1664 |
1665 Review URL: https://codereview.chromium.org/83173002 | 1665 Review URL: https://codereview.chromium.org/83173002 |
1666 | 1666 |
1667 ------------------------------------------------------------------------""") | 1667 ------------------------------------------------------------------------""") |
1668 self.assertEquals( | 1668 self.assertEquals( |
1669 """Prepare push to trunk. Now working on version 3.23.11. | 1669 """Prepare push to trunk. Now working on version 3.23.11. |
1670 | 1670 |
1671 R=danno@chromium.org | 1671 R=danno@chromium.org |
1672 | 1672 |
1673 Committed: https://code.google.com/p/v8/source/detail?r=17997""", body) | 1673 Committed: https://code.google.com/p/v8/source/detail?r=17997""", body) |
OLD | NEW |