Closed Bug 976589 Opened 11 years ago Closed 11 years ago

Use build date, not nightly date in dashboard

Categories

(Testing Graveyard :: Eideticker, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: wlach, Assigned: wlach)

References

Details

Attachments

(2 files)

Currently the dashboard is built to use a date like "2013-02-02" for ordering results, which corresponds to the date of a nightly. But it seems like with b2g now, we can have multiple nightlies, as we see today (the 24th) here: http://eideticker.wrla.ch/b2g/#/inari/b2g-contacts-startup/timetostableframe Honestly, this was never a really good scheme. Instead, we should move to using a build timestamp for ordering results. That'll fix this problem and is an incremental step towards being able to generate results more frequently for both Android and FirefoxOS.
Attachment #8381797 - Flags: review?(dave.hunt)
Note that we will need to run some kind of script to convert the existing dashboard schema into timestamps before this lands. Should be pretty trivial.
Comment on attachment 8381797 [details] [diff] [review] Use build date, not nightly date in dashboard;r=davehunt Review of attachment 8381797 [details] [diff] [review]: ----------------------------------------------------------------- r=me with or without the comment addressed. ::: src/eideticker/eideticker/metadata.py @@ +20,5 @@ > + (year, month, day, hour, minute, second) = map(lambda x: int(x), > + (buildid[0:4], buildid[4:6], > + buildid[6:8], buildid[8:10], > + buildid[10:12], buildid[12:14])) > + date = datetime.datetime(year, month, day, hour, minute, second) Could we use strptime here? http://docs.python.org/2/library/time.html#time.strptime structTime = time.strptime(buildid, '%Y%m%d%H%M%S') datetime.datetime(*structTime[:6])
Attachment #8381797 - Flags: review?(dave.hunt) → review+
Landed this patch with a few minor changes (suggested + a few updates to how we display dates in the dash): https://github.com/mozilla/eideticker/commit/f80902d074bcd1be9a15cb84e827e74231c9973b You can see the new dashboard with correct dates at http://eideticker.mozilla.org/b2g
For posterity, here's the script I used to convert the old b2g dashboard to the new format.
Will, is there anything else to do here, or can we mark this as resolved?
Flags: needinfo?(wlachance)
Sorry, yeah, meant to resolve this.
Status: NEW → RESOLVED
Closed: 11 years ago
Flags: needinfo?(wlachance)
Resolution: --- → FIXED
Product: Testing → Testing Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: