OLD | NEW |
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 Loading... |
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 Loading... |
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()) |
OLD | NEW |