From 5b0a02145b5f66adbfaa18e8d790457586a3e2f0 Mon Sep 17 00:00:00 2001 From: William Lachance Date: Fri, 13 Jun 2014 18:05:29 -0400 Subject: [PATCH] Expand timestamp range of potential inbound builds Because of a bug in our build system (https://bugzilla.mozilla.org/show_bug.cgi?id=1018907), the previous range was too tight. --- mozregression/inboundfinder.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/mozregression/inboundfinder.py b/mozregression/inboundfinder.py index 461c264a6..80d2c7b6c 100644 --- a/mozregression/inboundfinder.py +++ b/mozregression/inboundfinder.py @@ -60,8 +60,12 @@ def get_inbound_revisions(start_rev, end_rev, app_name='firefox', raw_revisions = map(lambda l: l[0], revisions) base_url = get_build_base_url(app_name=app_name, bits=bits, os=os) - # anything within four hours is potentially within the range - range = 60*60*4 + # anything within twelve hours is potentially within the range + # (should be a tighter but some older builds have wrong timestamps, + # see https://bugzilla.mozilla.org/show_bug.cgi?id=1018907 ... + # we can change this at some point in the future, after those builds + # expire) + range = 60*60*12 timestamps = map(lambda l: int(l), # sometimes we have links like "latest" filter(lambda l: l.isdigit(),