Closed
Bug 1281937
Opened 9 years ago
Closed 9 years ago
Error message when try push fails due to permission error is misleading
Categories
(Firefox Build System :: Mach Core, enhancement)
Firefox Build System
Mach Core
Tracking
(firefox50 fixed)
RESOLVED
FIXED
mozilla50
Tracking | Status | |
---|---|---|
firefox50 | --- | fixed |
People
(Reporter: jdm, Assigned: chmanchester)
References
Details
Attachments
(2 files)
I used `./mach try` when pushing from a computer with an older SSH key on it. The error message I received from try led me to believe that I was missing the push-to-try extension, which sent me on a wild goose chase of getting ./mach mercurial-setup to run (see the final lines of the attached console output). We should more careful about identifying the cause of the failure to push before making unhelpful suggestions.
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → cmanchester
Assignee | ||
Comment 1•9 years ago
|
||
Review commit: https://reviewboard.mozilla.org/r/60428/diff/#index_header
See other reviews: https://reviewboard.mozilla.org/r/60428/
Attachment #8764736 -
Flags: review?(josh)
Reporter | ||
Comment 2•9 years ago
|
||
https://reviewboard.mozilla.org/r/60428/#review57340
::: testing/tools/autotry/autotry.py:559
(Diff revision 1)
> - print('The "push-to-try" hg extension is required to push from '
> - 'hg to try with the autotry command.\n\nIt can be installed '
> - 'to Mercurial 3.3 or above by running ./mach mercurial-setup')
> + print('\nmach failed to push to try. There may be a problem '
> + 'with your ssh key, or another issue with your mercurial '
> + 'installation. Note that the "push-to-try" hg extension '
> + 'is required. If this extension is not present, it can '
> + 'be installed to Mercurial 3.3 or above by running '
> + './mach mercurial-setup')
Could we detect if push-to-try is installed and only display this part if it's actually necessary?
Reporter | ||
Comment 3•9 years ago
|
||
Comment on attachment 8764736 [details]
Bug 1281937 - Provide a more helpful error message when `./mach try` fails to push to try.
https://reviewboard.mozilla.org/r/60428/#review57922
Attachment #8764736 -
Flags: review?(josh) → review-
Reporter | ||
Comment 5•9 years ago
|
||
I left a comment on reviewboard; it was closed, and then I reopened it because it does not appear to have been addressed.
Flags: needinfo?(josh)
Assignee | ||
Comment 6•9 years ago
|
||
Comment on attachment 8764736 [details]
Bug 1281937 - Provide a more helpful error message when `./mach try` fails to push to try.
Review request updated; see interdiff: https://reviewboard.mozilla.org/r/60428/diff/1-2/
Attachment #8764736 -
Flags: review- → review?(josh)
Assignee | ||
Comment 7•9 years ago
|
||
Aha, my mistake. I pushed a new revision and marked the issue as fixed, I missed the step of publishing the new review request.
Reporter | ||
Comment 8•9 years ago
|
||
Comment on attachment 8764736 [details]
Bug 1281937 - Provide a more helpful error message when `./mach try` fails to push to try.
https://reviewboard.mozilla.org/r/60428/#review57982
Much better!
Attachment #8764736 -
Flags: review?(josh) → review+
Pushed by cmanchester@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/dad76327ba83
Provide a more helpful error message when `./mach try` fails to push to try. r=jdm
Comment 10•9 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox50:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla50
Updated•7 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•