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

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

Issue 266083003: Remove old branch logic from push scripts. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fix logging subprocesses. Created 6 years, 7 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/push_to_trunk.py ('k') | tools/push-to-trunk/test_scripts.py » ('j') | 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 2014 the V8 project authors. All rights reserved. 2 # Copyright 2014 the V8 project authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 # This script retrieves the history of all V8 branches and trunk revisions and 6 # This script retrieves the history of all V8 branches and trunk revisions and
7 # their corresponding Chromium revisions. 7 # their corresponding Chromium revisions.
8 8
9 # Requires a chromium checkout with branch heads: 9 # Requires a chromium checkout with branch heads:
10 # gclient sync --with_branch_heads 10 # gclient sync --with_branch_heads
11 # gclient fetch 11 # gclient fetch
12 12
13 import argparse 13 import argparse
14 import csv 14 import csv
15 import itertools 15 import itertools
16 import json 16 import json
17 import os 17 import os
18 import re 18 import re
19 import sys 19 import sys
20 20
21 from common_includes import * 21 from common_includes import *
22 22
23 DEPS_FILE = "DEPS_FILE" 23 DEPS_FILE = "DEPS_FILE"
24 CHROMIUM = "CHROMIUM" 24 CHROMIUM = "CHROMIUM"
25 25
26 CONFIG = { 26 CONFIG = {
27 BRANCHNAME: "retrieve-v8-releases", 27 BRANCHNAME: "retrieve-v8-releases",
28 TEMP_BRANCH: "unused-branch", # TODO(machenbach): Remove from infrastructure.
29 PERSISTFILE_BASENAME: "/tmp/v8-releases-tempfile", 28 PERSISTFILE_BASENAME: "/tmp/v8-releases-tempfile",
30 DOT_GIT_LOCATION: ".git", 29 DOT_GIT_LOCATION: ".git",
31 VERSION_FILE: "src/version.cc", 30 VERSION_FILE: "src/version.cc",
32 DEPS_FILE: "DEPS", 31 DEPS_FILE: "DEPS",
33 } 32 }
34 33
35 # Expression for retrieving the bleeding edge revision from a commit message. 34 # Expression for retrieving the bleeding edge revision from a commit message.
36 PUSH_MESSAGE_RE = re.compile(r".* \(based on bleeding_edge revision r(\d+)\)$") 35 PUSH_MESSAGE_RE = re.compile(r".* \(based on bleeding_edge revision r(\d+)\)$")
37 36
38 # Expression for retrieving the merged patches from a merge commit message 37 # Expression for retrieving the merged patches from a merge commit message
(...skipping 416 matching lines...) Expand 10 before | Expand all | Expand 10 after
455 RetrieveChromiumV8Releases, 454 RetrieveChromiumV8Releases,
456 RietrieveChromiumBranches, 455 RietrieveChromiumBranches,
457 SwitchV8, 456 SwitchV8,
458 CleanUp, 457 CleanUp,
459 WriteOutput, 458 WriteOutput,
460 ] 459 ]
461 460
462 461
463 if __name__ == "__main__": # pragma: no cover 462 if __name__ == "__main__": # pragma: no cover
464 sys.exit(Releases(CONFIG).Run()) 463 sys.exit(Releases(CONFIG).Run())
OLDNEW
« no previous file with comments | « tools/push-to-trunk/push_to_trunk.py ('k') | tools/push-to-trunk/test_scripts.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698