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

Tweaks to internal Cygwin setup #5830

Merged
merged 3 commits into from May 13, 2024
Merged

Conversation

dra27
Copy link
Member

@dra27 dra27 commented Feb 11, 2024

Related to #5793, this adds --symlink-type native to the Cygwin setup invocation if the user has the ability to create them. This is more to disable the use of WSL symlinks than to actually enable any additional binaries (Cygwin names binaries .exe, but it doesn't do that for a symlink to an executable, so they're not any more available than they were before).

We can save a small amount of time and a potential error message by passing --no-version-check - that simply tells Cygwin not to report if the version of setup is older than the latest reported in setup.ini.

Hot off the presses in Setup 2.929 is an option to reduce the noise of the installation. We should definitely use the noinput version at all times, but the hidden version is nice as it suppresses the GUI completely. The caveat, and why I'm keeping this as draft for now, is that there is no UI for Cygwin at all, then, so we need to display some kind of "Please wait..." indicator and possibly spinner ourselves.

@kit-ty-kate kit-ty-kate added this to For RC in Opam 2.2.0 Feb 12, 2024
@kit-ty-kate kit-ty-kate moved this from For RC to For beta3 in Opam 2.2.0 Apr 8, 2024
@kit-ty-kate kit-ty-kate added this to the 2.2.0~beta3 milestone Apr 10, 2024
@dra27
Copy link
Member Author

dra27 commented May 13, 2024

Right, sorting out the work for hidden can wait - we should merge the interim version with noinput

@dra27 dra27 marked this pull request as ready for review May 13, 2024 12:25
@rjbou rjbou self-requested a review May 13, 2024 14:26
Copy link
Collaborator

@rjbou rjbou left a comment

Choose a reason for hiding this comment

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

thanks!

@kit-ty-kate
Copy link
Member

Thanks!

@kit-ty-kate kit-ty-kate merged commit 87cc8af into ocaml:master May 13, 2024
39 checks passed
Opam 2.2.0 automation moved this from For beta3 to Done May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Opam 2.2.0
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

3 participants