Closed Bug 1283741 Opened 8 years ago Closed 7 years ago

Display the on duty sheriff in Treeherder's UI

Categories

(Tree Management :: Treeherder, defect, P3)

defect

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: cbook, Unassigned)

References

Details

Its sometimes hard for developers to know what sheriff is on duty. Some sheriffs add |sheriffduty on their irc nick, some don't.

In order to make it more easier (and it raises also visibility), treeherder should have a field like 
"sheriff on duty is: [tomcat,kwierso,#developers]"

on the top pane (maybe next to the repos you have open). 

So when a sheriff is on duty she/he can add the name or change it after duty etc
iris, wes, david what do you think, does this make sense to you ?
Flags: needinfo?(wkocher)
Flags: needinfo?(ihsiao)
Flags: needinfo?(dburns)
I think editing some field may still be too much thing for all sheriffs to do for all the time. It should probably be as simple as a single button so that whenever you see it, you just push it, and everything is done in that one click.

I believe you all need to login to treeherder to get sheriff permission, right?
I think this would be best done in Treestatus. Treeherder could then poll this field along with the tree statuses. We could add a button to the sheriffing panel that submits something to Treestatus to automatically update this field.

In fact, we already have a bug for part of this.
Flags: needinfo?(wkocher)
See Also: → 1144589
I'm ok for any ways to let developers know what sheriff is on duty, I'll follow your decision.
However, it's a great idea if there's a button to push, and update "sheriff on duty".
Flags: needinfo?(ihsiao)
As Wes said, this would be best stored/updated in TreeStatus IMO -- see the previous discussion in bug 1144589.

If someone adds that field to TreeStatus, Treeherder can then pull from that API and display in the UI.
Depends on: 1144589
Priority: -- → P3
See Also: 1144589
Summary: Please add a sheriff on duty field in treeherder → Display the on duty sheriff in Treeherder's UI
How would this be updated for someone coming on duty and going off duty? 
what happens if there are no paid sheriffs?

The idea sounds ok but the implementation needs a think about.
Flags: needinfo?(dburns)
Closing out until bug 1144589 implemented.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.