-
Notifications
You must be signed in to change notification settings - Fork 413
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve Mason error when git is missing #25069
Conversation
Signed-off-by: Jade Abraham <jade.abraham@hpe.com>
Signed-off-by: Jade Abraham <jade.abraham@hpe.com>
Signed-off-by: Jade Abraham <jade.abraham@hpe.com>
Do we not have a way of detecting that |
The best way in Chapel code I could come up with was running a loop over all directories in Another slightly cleaner alternative is to have |
Signed-off-by: Jade Abraham <jade.abraham@hpe.com>
Signed-off-by: Jade Abraham <jade.abraham@hpe.com>
Signed-off-by: Jade Abraham <jade.abraham@hpe.com>
Signed-off-by: Jade Abraham <jade.abraham@hpe.com>
Signed-off-by: Jade Abraham <jade.abraham@hpe.com>
This PR expands on the work in #25069 to improve mason errors when dependencies (specifically git) are missing. This PR adds additional logic to account for portability issues exposed by nightly testing Testing - Tested the two tests added in #25069 pass on a Mac - Tested `start_test test/mason` passes on linux x86 - Tested `start_test test/mason` passes on the nightly test machine (a slightly different linux x86) [Reviewed by @benharsh]
Improves the error thrown by Mason when git is missing. Prior to this PR, all that would be thrown was
"Internal mason error"
, which is not helpful.PR also includes a bonus typo fix in the docs for Subprocess
Checked that the test for this error message passes
[Reviewed by @benharsh]