Closed
Bug 1173842
Opened 9 years ago
Closed 8 years ago
Integrate trychooser for try pushes
Categories
(MozReview Graveyard :: General, defect, P4)
MozReview Graveyard
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: mt, Assigned: manishearth)
References
Details
Attachments
(2 files)
I know that it's just a case of following a link, but when pushing to try it can be very useful. Even framing it in would be better than what we have. Communicating with postMessage would be a huge win though.
Updated•9 years ago
|
Priority: -- → P4
Updated•8 years ago
|
Product: Developer Services → MozReview
Assignee | ||
Updated•8 years ago
|
Comment hidden (mozreview-request) |
Assignee | ||
Comment 2•8 years ago
|
||
Assignee | ||
Comment 3•8 years ago
|
||
Right now I'm running the patch off localhost, but we'd need to update TRYCHOOSER_URL before landing once https://bugzilla.mozilla.org/show_bug.cgi?id=1295306 lands and is deployed.
Assignee | ||
Comment 4•8 years ago
|
||
mozreview-review |
Comment on attachment 8782314 [details] Bug 1173842 - Embed trychooser into mozreview; https://reviewboard.mozilla.org/r/72532/#review70124 ::: pylib/mozreview/mozreview/static/mozreview/js/autoland.js:6 (Diff revision 1) > $(document).on("mozreview_ready", function() { > // TODO: Stop hardcoding endpoint urls and provide them in a template. > var TRY_AUTOLAND_URL = "/api/extensions/mozreview.extension.MozReviewExtension/try-autoland-triggers/"; > var AUTOLAND_URL = "/api/extensions/mozreview.extension.MozReviewExtension/autoland-triggers/"; > var COMMIT_REWRITE_URL = "/api/extensions/mozreview.extension.MozReviewExtension/commit_rewrite/"; > + var TRYCHOOSER_URL = "http://localhost:8000/?embed"; This is temporary, we shouldn't land until this gets updated.
Comment 5•8 years ago
|
||
mozreview-review-reply |
Comment on attachment 8782314 [details] Bug 1173842 - Embed trychooser into mozreview; https://reviewboard.mozilla.org/r/72532/#review70124 > This is temporary, we shouldn't land until this gets updated. Just to be clear, we'll need this URL to be configurable so that we can set some sort of mocking up in our test environment. Please don't embed the public url.
Comment hidden (mozreview-request) |
Assignee | ||
Comment 7•8 years ago
|
||
mozreview-review-reply |
Comment on attachment 8782314 [details] Bug 1173842 - Embed trychooser into mozreview; https://reviewboard.mozilla.org/r/72532/#review70124 > Just to be clear, we'll need this URL to be configurable so that we can set some sort of mocking up in our test environment. Please don't embed the public url. Fixed in the latest update. It can now be configured from the admin panel. The `<details>` element and iframe are only created if a trychooser url exists.
Comment 8•8 years ago
|
||
mozreview-review |
Comment on attachment 8782314 [details] Bug 1173842 - Embed trychooser into mozreview; https://reviewboard.mozilla.org/r/72532/#review74444
Attachment #8782314 -
Flags: review?(dwalsh) → review+
Pushed by manishearth@gmail.com: https://hg.mozilla.org/hgcustom/version-control-tools/rev/eb9d44c48d3a Embed trychooser into mozreview; r=davidwalsh
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 10•8 years ago
|
||
Instructions for configuring: - bug 1295306 needs to have been deployed to `http://trychooser.pub.build.mozilla.org/` - For every repo that has try set up, there should be a new "Trychooser URL" field in the repo admin panel next to the try repo URL - Add `http://trychooser.pub.build.mozilla.org/?embed` to that field. (ni?glob since AIUI you'll be doing the next deploy)
Flags: needinfo?(glob)
Assignee | ||
Comment 11•8 years ago
|
||
In case trychooser can't be deployed, http://people.mozilla.org/~mgoregaokar/trychooser/?embed is a mirror of this version.
Comment 12•8 years ago
|
||
i'll perform a mozreview deploy in about 16 hours from now.
Comment 13•8 years ago
|
||
after a long delay due to sickness and deploy issue, this code is now live. unfortunately trychooser isn't served using https, so we hit mixed content warnings. i've filed bug 1302631 to hopefully get that fixed. i'm not keen on using people.m.o to host production traffic, will see if there's a more suitable alternative host we can use in the short term until that bug is fixed.
Flags: needinfo?(glob)
Comment 14•8 years ago
|
||
i've manually dropped trychooser on the mozreview webheads: https://reviewboard.mozilla.org/static/trychooser/ once bug 1302631 is resolved this will need to be removed (/data/www/reviewboard.mozilla.org/reviewboard/htdocs/static/trychooser on each webhead).
You need to log in
before you can comment on or make changes to this bug.
Description
•