Lines Matching refs:releases
24 "BRANCHNAME": "retrieve-v8-releases",
25 "PERSISTFILE_BASENAME": "/tmp/v8-releases-tempfile",
61 """Returns the chromium releases in reverse order filtered by v8 revision
87 # Visit pairs of cr releases from oldest to newest.
124 MESSAGE = "Retrieve all V8 releases."
126 def ExceedsMax(self, releases):
128 and len(releases) > self._options.max_releases)
188 releases = []
194 releases.append(self.GetReleaseDict(
196 return releases
203 releases = []
208 if self.ExceedsMax(releases):
214 releases.append(release)
229 return releases
239 releases = []
245 releases += self.GetReleasesFromBranch(stable)
246 releases += self.GetReleasesFromBranch(beta)
247 releases += self.GetReleasesFromBranch("trunk")
248 releases += self.GetReleasesFromBranch("bleeding_edge")
252 releases += self.GetReleasesFromBranch(branch)
253 releases += self.GetReleasesFromBranch("trunk")
254 releases += self.GetReleasesFromBranch("bleeding_edge")
258 releases += self.GetReleasesFromBranch(self._options.branch)
260 self["releases"] = sorted(releases,
297 MESSAGE = "Retrieve V8 releases from Chromium DEPS."
301 releases = filter(
302 lambda r: r["branch"] in ["trunk", "bleeding_edge"], self["releases"])
303 if not releases: # pragma: no cover
304 print "No releases detected. Skipping chromium history."
310 oldest_v8_rev = int(releases[-1]["revision"])
341 # Add the chromium ranges to the v8 trunk and bleeding_edge releases.
343 releases_dict = dict((r["revision"], r) for r in releases)
354 trunk_releases = filter(lambda r: r["branch"] == "trunk", self["releases"])
356 print "No trunk releases detected. Skipping chromium history."
397 # Add the chromium branches to the v8 trunk releases.
424 for release in self["releases"]:
428 f.write(json.dumps(self["releases"]))
430 print self["releases"] # pragma: no cover
433 class Releases(ScriptsBase):
443 parser.add_argument("-m", "--max-releases", type=int, default=0,
444 help="The maximum number of releases to track.")
452 "BRANCHNAME": "retrieve-v8-releases",
453 "PERSISTFILE_BASENAME": "/tmp/v8-releases-tempfile",
470 sys.exit(Releases().Run())