-
Notifications
You must be signed in to change notification settings - Fork 365
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
confirm-level=ask is actually yes? #4900
Comments
What is the command that gets you this behaviour? |
It's across the board. For example |
if
|
Weird. In my case I always see the prompt, but it is answered automatically. I can't seem to convince opam that I want interaction. |
Reading the code for this, I think the issue is that somehow on your machine you’re hitting some kind of Unix exception https://github.com/ocaml/opam/blob/master/src/core/opamConsole.ml#L757 By any chance, how did you install opam? Through the precomiled binaries/install.sh or something else? |
I initially used the Of note is that I use kitty as my terminal and do everything in tmux. I have the relevant files for both in my |
If we prepare a branch, is it possible for you to test it? |
I don't understand the instructions at that page. The "From Source" section doesn't mention any compiling step. But yes if there's something I can A/B test vs 2.1.0 I'd be happy to help. 😃 |
It's normal that there is no compilation step. As you install everything with your opam, you don't need to compile things yourself :) |
I can't figure out what I did to trigger this, or if it's actually a bug in 2.1.0, but
--confirm-level=yes
is assumed by default in my setup. If I use--confirm-level=ask
explicitly to try to get the old behavior, it incorrectly behaves as though I had specifiedyes
. If I use--confirm-level=no
however, thenno
is correctly assumed.I'm not running opam through a wrapper script which might make it think the tty is non-interactive.
Any ideas?
The text was updated successfully, but these errors were encountered: