Skip to content
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

init: detect local cygwin installation #5544

Merged
merged 16 commits into from
Jun 16, 2023
Merged

Conversation

rjbou
Copy link
Collaborator

@rjbou rjbou commented May 10, 2023

At init && reinit, add detection and setup of a pre-existent cygwin installation.

It contains commit of #5543 (see #5543 (comment))

TODO

Sorry, something went wrong.

@rjbou rjbou added PR: QUEUED Pending pull request, waiting for other work to be merged or closed PR: WAITING FOR REVIEW labels May 10, 2023
@rjbou rjbou added this to the 2.2.0~alpha milestone May 10, 2023
@rjbou rjbou force-pushed the cygwin-local-detection branch 3 times, most recently from 090c3d3 to 8bd2321 Compare June 8, 2023 12:29
Copy link
Member

@AltGr AltGr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The interaction and detection mechanisms look good, but I think we need to be extra clear with what exactly we are asking the user (in particular paths, etc.) and in what context.

It may (in time ;) ) be the first interaction with OCaml of ppl not very familiar with the command-line so we need to be extra careful.

@rjbou rjbou added PR: NEEDS UPDATE PR: QUEUED Pending pull request, waiting for other work to be merged or closed and removed PR: QUEUED Pending pull request, waiting for other work to be merged or closed PR: WAITING FOR REVIEW labels Jun 12, 2023
@rjbou rjbou force-pushed the cygwin-local-detection branch from 8bd2321 to 441ab53 Compare June 13, 2023 17:14
@rjbou rjbou mentioned this pull request Jun 13, 2023
1 task
@rjbou rjbou removed the PR: QUEUED Pending pull request, waiting for other work to be merged or closed label Jun 14, 2023
@rjbou rjbou force-pushed the cygwin-local-detection branch from 441ab53 to cfed1d7 Compare June 15, 2023 13:29
rjbou and others added 8 commits June 15, 2023 18:20

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
…cygwin binary location, and add a function to test directly if given cygwin installation path is a cygwin installation

std: Sys.get_windows_executable_variant, use cygenv to get environment & quote cygcheck
std: Update Sys.get_windows_executable_variant naming

Co-authored-by: Raja Boujbel <[email protected]>
@rjbou rjbou force-pushed the cygwin-local-detection branch from cfed1d7 to 6a650f7 Compare June 15, 2023 16:20
@rjbou
Copy link
Collaborator Author

rjbou commented Jun 16, 2023

Some examples

Menu with a pre-existent cygwin and defaults

default setup

Menu with specified cygwin & setup location

full specified

Menu with no pre-existent cygwin installation

no cygwin at default

@rjbou rjbou merged commit f67683c into ocaml:master Jun 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants