Closed
Bug 1306132
Opened 9 years ago
Closed 9 years ago
Make thPlatformMap use _.indexOf() to determine order rather than arbitrary numbers.
Categories
(Tree Management :: Treeherder, defect)
Tree Management
Treeherder
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: KWierso, Assigned: KWierso)
Details
Attachments
(1 file, 2 obsolete files)
Cam brought this up in a recent review, and I think this would be better in the long run for the platform mapping.
| Assignee | ||
Updated•9 years ago
|
Assignee: nobody → wkocher
Comment 1•9 years ago
|
||
| Assignee | ||
Comment 2•9 years ago
|
||
Comment on attachment 8795938 [details] [review]
[treeherder] KWierso:1306132 > mozilla:master
This is the PR-in-progess I mentioned on IRC. The order appears to be correct, and as long as none of our platform names end up being just a number, I don't see any reason for that to never be true.
Not tied to this at all and wouldn't be offended if you wontfix it, though... :)
Attachment #8795938 -
Flags: feedback?(cdawson)
Comment 3•9 years ago
|
||
| Assignee | ||
Comment 4•9 years ago
|
||
Comment on attachment 8796306 [details] [review]
[treeherder] KWierso:1306132v2 > mozilla:master
Oops, wrong bug.
Attachment #8796306 -
Attachment is obsolete: true
Comment 5•9 years ago
|
||
| Assignee | ||
Comment 6•9 years ago
|
||
Comment on attachment 8796307 [details] [review]
[treeherder] KWierso:1306132v2 > mozilla:master
Stop that, autolander!
Attachment #8796307 -
Attachment is obsolete: true
Comment 7•9 years ago
|
||
Comment on attachment 8795938 [details] [review]
[treeherder] KWierso:1306132 > mozilla:master
Looks good. Made one suggestion. :)
Attachment #8795938 -
Flags: feedback?(cdawson) → feedback+
| Assignee | ||
Comment 8•9 years ago
|
||
Comment on attachment 8795938 [details] [review]
[treeherder] KWierso:1306132 > mozilla:master
I've rebased this onto master and made it so the map is only generated once per page load. I wasn't sure how to generate the map in values.js directly, since it'd be referencing one of the other values, and I don't know how to do that.
Attachment #8795938 -
Flags: review?(cdawson)
Comment 9•9 years ago
|
||
Comment on attachment 8795938 [details] [review]
[treeherder] KWierso:1306132 > mozilla:master
Looks good!
Attachment #8795938 -
Flags: review?(cdawson) → review+
Comment 10•9 years ago
|
||
Commit pushed to master at https://github.com/mozilla/treeherder
https://github.com/mozilla/treeherder/commit/f29c1fb610712bb32d5da0920168d141c771a916
Bug 1306132 - Remove the need to manually add a platform's priority (#1879) r=camd
| Assignee | ||
Updated•9 years ago
|
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•