cloe
cloe copied to clipboard
cloe-launch: status indication upon first opening of the shell
when opening a cloe-launch shell for the very first time, it may take a prolonged period of time before anything happens. i have had several users report back to me that they thought the program hangs although it was just downloading conan dependencies. is there a possibility to add progress output?
The shell command was not intended to show any output unless an error occurs.
By default, it does not build any packages, however it may download them.
Ideally, the user will first use cloe-launch prepare and then follow up with cloe-launch shell.
However, how are users to know its unintended usage if we don't mention it anywhere.
For a great UX we need to take expected incorrect usage into account, so I agree that we need to improve this here. Since I don't know what conan is doing, adding a progress bar is difficult.
I'll look into providing transient Conan output via the rich Python library.
Worst case it may be enough to just periodically print some message ("hang in there, it may take a few minutes") after the first 10 seconds have passed - that way, there is feedback that the process hasn't stalled out but is indeed doing something in the background. :)
Commit had to be reverted because output ordering was not working.