Closed
Bug 976589
Opened 11 years ago
Closed 11 years ago
Use build date, not nightly date in dashboard
Categories
(Testing Graveyard :: Eideticker, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: wlach, Assigned: wlach)
References
Details
Attachments
(2 files)
|
9.06 KB,
patch
|
davehunt
:
review+
|
Details | Diff | Splinter Review |
|
1.71 KB,
text/plain
|
Details |
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.
| Assignee | ||
Comment 1•11 years ago
|
||
| Assignee | ||
Updated•11 years ago
|
Attachment #8381797 -
Flags: review?(dave.hunt)
| Assignee | ||
Comment 2•11 years ago
|
||
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 3•11 years ago
|
||
See also bug 960661
Comment 4•11 years ago
|
||
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+
| Assignee | ||
Comment 5•11 years ago
|
||
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
| Assignee | ||
Comment 6•11 years ago
|
||
For posterity, here's the script I used to convert the old b2g dashboard to the new format.
Comment 7•11 years ago
|
||
Will, is there anything else to do here, or can we mark this as resolved?
Updated•11 years ago
|
Flags: needinfo?(wlachance)
| Assignee | ||
Comment 8•11 years ago
|
||
Sorry, yeah, meant to resolve this.
Status: NEW → RESOLVED
Closed: 11 years ago
Flags: needinfo?(wlachance)
Resolution: --- → FIXED
Updated•8 years ago
|
Product: Testing → Testing Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•