enso-org / enso

Hybrid visual and textual functional programming.
https://enso.org
Apache License 2.0
7.34k stars 323 forks source link

enso-bundle tries to download missing engine #9753

Closed JaroslavTulach closed 2 months ago

JaroslavTulach commented 5 months ago

Daily version from Apr 19, 2024 demonstrates a problem. Download the right "enso-bundle-" first. If on Linux download enso-bundle-2024.1.1-nightly.2024.4.19-linux-amd64.tar.gz and untar it. Then

$ git clone https://github.com/otulach/SCMrozdeleni
$ cd SCMrozdeleni
$ git checkout cc1f40174186b33a7b7ec43984bc49757f8be742
SCMrozdeleni$ ../../enso/bin/enso run src/Download.enso 
[WARN] [2024-04-19T15:35:30+02:00] [org.enso.launcher.cli.CLIRuntimeVersionManagementUserInterface] Engine 0.0.0-dev is missing.
Do you want to install the missing engine? [Y/n] 

No! I don't want to download anything. As written in #9231 - our current policy is to never download anything.

Expected behavior: don't ask to install the missing engine.

JaroslavTulach commented 5 months ago

If one removes edition from package.yaml, the problem goes away. However that's not what we want our users to do. We just can't ask the Do you want to install the missing engine? [Y/n] question to begin with.

JaroslavTulach commented 2 months ago