Closed dra27 closed 2 days ago
It turns out that this can be solved in setup-ocaml by ensuring that Cygwin's setup registry key is restored as part of the action. I'm therefore not certain that we have to do this for 2.2.0
This is no longer required for 2.2.0 - the adjustments in it are probably worth including in 2.2.1, however.
Oh dear, I appear to need to U-turn! There is an issue with this which probably is worth addressing for 2.2.0 - if the user happens to end up even interactively with an external Cygwin which needs input, then we've turned the dialogues off, which is bad.
I've added a commit to use --quiet-mode unattended
for external Cygwin, keeping --quiet-mode noinput
for the internal installation only, where we know that all the inputs have been provided.
Fixes #6041 - an additional option might be to explicitly abort when run non-interactively as well, but it's getting a bit niche because if you're non-interactive and expecting depext to work with an external Cygwin then clearly you must have specified
--confirm-level unsafe-yes
.Backport into 2.2 in #6057