Closed
Bug 871588
Opened 11 years ago
Closed 11 years ago
Add more tree-closure reason tags to Tree Status, to aid stats generation
Categories
(Release Engineering :: General, defect)
Release Engineering
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: emorley, Assigned: emorley)
References
Details
Attachments
(1 file)
17.05 KB,
patch
|
catlee
:
review+
|
Details | Diff | Splinter Review |
Currently treestatus has an "infra" checkbox, set when closing the tree, to indicate that the cause was due to infrastructure problems. This field is optional, and as such often forgotten. In addition, we could really do with more tags, so that we can generate stats of tree-closure reasons. Suggested tags: * bustage (maybe split into 'compilation-failure' and 'test-failure' ?) * infra (maybe split further, eg: infra-ftp, infra-colo) * capacity (or 'backlog') * other ...any more? (eg 'large-landing', 'planned-closure', 'not-in-use', ...)
Assignee | ||
Comment 1•11 years ago
|
||
1) Adds the following tags (in addition to the existing 'infra' tag): * checkin-compilation * checkin-test * backlog * planned * other 2) Makes specifying at least one tag (and one tree, whilst we're at it) mandatory via the UI. 3) Validates that we've set tags server side (given our API) & that they're non-empty (we would have previously stored empty string tags). Note the duplication in tree.html is horrid, but I will make it go away shortly, once I leave it a bit longer to see if https://github.com/mozilla/treestatus/pull/29 has a response from the its original owner. I'll also tweak the CSS a bit, so the layout is nicer and we don't keep on using break tags all over the place.
Attachment #749323 -
Flags: review?(catlee)
Assignee | ||
Comment 2•11 years ago
|
||
catlee, don't suppose you know when you might be able to look at this? :-)
Assignee | ||
Comment 3•11 years ago
|
||
(In reply to Ed Morley [:edmorley UTC+1] from comment #2) > catlee, don't suppose you know when you might be able to look at this? :-)
Flags: needinfo?(catlee)
Comment 4•11 years ago
|
||
Comment on attachment 749323 [details] [diff] [review] Patch v1 Review of attachment 749323 [details] [diff] [review]: ----------------------------------------------------------------- ::: treestatus/templates/index.html @@ +114,5 @@ > + <input type="checkbox" name="tags" value="backlog" id="backlog" onclick="validateForm()" /> > + <label for="backlog">Job backlog?</label><br/> > + > + <input type="checkbox" name="tags" value="planned" id="planned" onclick="validateForm()" /> > + <label for="planned">Planned closure?</label><br/> I'd prefer to drop the '?' from the labels here. Is there a reason you feel we need them? ::: treestatus/templates/tree.html @@ +79,5 @@ > + <input type="checkbox" name="tags" value="planned" id="planned" onclick="validateForm()" /> > + <label for="planned">Planned closure?</label><br/> > + > + <input type="checkbox" name="tags" value="other" id="other" onclick="validateForm()" /> > + <label for="other">Other</label><br/><br/> Can we factor out the list of tags and labels somewhere so it's not duplicated here and in index.html?
Attachment #749323 -
Flags: review?(catlee) → review-
Comment 5•11 years ago
|
||
Comment on attachment 749323 [details] [diff] [review] Patch v1 just noticed that you mentioned factoring out the common bits of html in the github pull request. hope that can happen soon!
Attachment #749323 -
Flags: review- → review+
Updated•11 years ago
|
Flags: needinfo?(catlee)
Assignee | ||
Comment 6•11 years ago
|
||
(In reply to Chris AtLee [:catlee] from comment #4) > I'd prefer to drop the '?' from the labels here. Is there a reason you feel > we need them? Done :-) (In reply to Chris AtLee [:catlee] from comment #5) > just noticed that you mentioned factoring out the common bits of html in the > github pull request. hope that can happen soon! Yup will look at that in the next week :-) Landed with nits fixed & one final test locally: https://github.com/mozilla/treestatus/commit/df1863a6324e0b168b034f339e53d8b2141e6452
Assignee | ||
Comment 7•11 years ago
|
||
In production :-)
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Updated•10 years ago
|
Product: Webtools → Tree Management
Updated•9 years ago
|
Product: Tree Management → Release Engineering
Updated•2 years ago
|
Component: Applications: TreeStatus → General
You need to log in
before you can comment on or make changes to this bug.
Description
•