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

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

Issue 238983002: Let revision script add commit dates. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Review. Created 6 years, 8 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 | « no previous file | 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 import argparse 9 import argparse
10 import csv 10 import csv
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 revision = self.GitSVNFindSVNRev(git_hash) 161 revision = self.GitSVNFindSVNRev(git_hash)
162 return { 162 return {
163 # The SVN revision on the branch. 163 # The SVN revision on the branch.
164 "revision": revision, 164 "revision": revision,
165 # The SVN revision on bleeding edge (only for newer trunk pushes). 165 # The SVN revision on bleeding edge (only for newer trunk pushes).
166 "bleeding_edge": self.GetBleedingEdgeFromPush(title), 166 "bleeding_edge": self.GetBleedingEdgeFromPush(title),
167 # The branch name. 167 # The branch name.
168 "branch": branch, 168 "branch": branch,
169 # The version for displaying in the form 3.26.3 or 3.26.3.12. 169 # The version for displaying in the form 3.26.3 or 3.26.3.12.
170 "version": version, 170 "version": version,
171 # The date of the commit.
172 "date": self.GitLog(n=1, format="%ci", git_hash=git_hash),
171 # Merged patches if available in the form 'r1234, r2345'. 173 # Merged patches if available in the form 'r1234, r2345'.
172 "patches_merged": patches, 174 "patches_merged": patches,
173 # Default for easier output formatting. 175 # Default for easier output formatting.
174 "chromium_revision": "", 176 "chromium_revision": "",
175 # Link to the CL on code review. Trunk pushes are not uploaded, so this 177 # Link to the CL on code review. Trunk pushes are not uploaded, so this
176 # field will be populated below with the recent roll CL link. 178 # field will be populated below with the recent roll CL link.
177 "review_link": MatchSafe(REVIEW_LINK_RE.search(body)), 179 "review_link": MatchSafe(REVIEW_LINK_RE.search(body)),
178 # Link to the commit message on google code. 180 # Link to the commit message on google code.
179 "revision_link": ("https://code.google.com/p/v8/source/detail?r=%s" 181 "revision_link": ("https://code.google.com/p/v8/source/detail?r=%s"
180 % revision), 182 % revision),
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
387 UpdateChromiumCheckout, 389 UpdateChromiumCheckout,
388 RetrieveChromiumV8Releases, 390 RetrieveChromiumV8Releases,
389 SwitchV8, 391 SwitchV8,
390 CleanUp, 392 CleanUp,
391 WriteOutput, 393 WriteOutput,
392 ] 394 ]
393 395
394 396
395 if __name__ == "__main__": # pragma: no cover 397 if __name__ == "__main__": # pragma: no cover
396 sys.exit(Releases(CONFIG).Run()) 398 sys.exit(Releases(CONFIG).Run())
OLDNEW
« no previous file with comments | « no previous file | tools/push-to-trunk/test_scripts.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698