Closed
Bug 1207398
Opened 9 years ago
Closed 9 years ago
Disable the "backfill job" menu item for jobs on try repositories
Categories
(Tree Management :: Treeherder, defect)
Tree Management
Treeherder
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: KWierso, Assigned: KWierso)
References
Details
Attachments
(1 file)
I don't think it makes sense to have the "backfill" option on try repos, since you'd be triggering jobs on other people's pushes, maybe causing confusion? (Actually, does it even work on Try?)
Assignee | ||
Comment 1•9 years ago
|
||
This is a quick one-line patch to hide the backfill button on try repos. As noted in the PR, there's a consistency issue with it, but it's not (IMO) terrible.
There's a few alternatives, but those are more than one-line patches. :)
Comment 2•9 years ago
|
||
Comment on attachment 8680965 [details]
PR 1102
Have left a comment :-)
Attachment #8680965 -
Flags: review?(emorley)
Assignee | ||
Comment 3•9 years ago
|
||
Comment on attachment 8680965 [details]
PR 1102
I think this should work.
Attachment #8680965 -
Flags: review?(emorley)
Assignee | ||
Comment 4•9 years ago
|
||
Updating bug summary to reflect what this is doing now.
Summary: Hide the "backfill job" menu item for jobs on try repositories → Disable the "backfill job" menu item for jobs on try repositories
Updated•9 years ago
|
Attachment #8680965 -
Flags: review?(emorley)
Assignee | ||
Updated•9 years ago
|
Flags: needinfo?(wkocher)
Assignee | ||
Updated•9 years ago
|
Flags: needinfo?(wkocher)
Assignee | ||
Comment 5•9 years ago
|
||
Comment on attachment 8680965 [details]
PR 1102
And I think this is done. The second commit can either be squashed in before landing or dropped, but I think it does help the readability of the html file.
Attachment #8680965 -
Flags: review?(emorley)
Comment 6•9 years ago
|
||
Commit pushed to master at https://github.com/mozilla/treeherder
https://github.com/mozilla/treeherder/commit/3ada40c569151c24eb2903a7a93a4f00db0aeee9
Bug 1207398 - Disable the backfill button on try repos (#1102)
* Bug 1207398 - Disable the backfill button on try repos
* Move long strings into controller.js to make the html shorter
Updated•9 years ago
|
Attachment #8680965 -
Flags: review?(emorley) → review+
Comment 7•9 years ago
|
||
Thank you :-)
(Didn't mean to merge it myself, accidentally pressed merge not cancel on the green button when exploring the new squash-and-merge feature, but doesn't matter I guess :-))
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•