You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was updating Julia packages over an unstable internet connection and I didn't like how fast the spinners were running. I think they spin about twice per second.
I looked at the Pkg.jl code, and I found that setting the environment variable CI=true would disable all progress output. That's good, but I was looking for something fancier – just slowing down the progress output, not eliminating it.
I think it would be possible to make the spinner speed configurable with a rather small code change. I think this line
to the code, and then create the Timer via Timer(0; interval=PRECOMPILE_SPINNER_INTERVAL[]). This would allow changing the spinners by setting a global variable. A similar mechanism is already used in MiniProgressBars.jl where two variables are defined
I was logged in via a slow connection and issued an ]update command from the Julia REPL, which lead to precompiling a few package that take a minute to do so (CairoMakie?) while showing the spinners. The spinners didn't spin smoothly.
I was updating Julia packages over an unstable internet connection and I didn't like how fast the spinners were running. I think they spin about twice per second.
I looked at the Pkg.jl code, and I found that setting the environment variable
CI=true
would disable all progress output. That's good, but I was looking for something fancier – just slowing down the progress output, not eliminating it.I think it would be possible to make the spinner speed configurable with a rather small code change. I think this line
Pkg.jl/src/API.jl
Line 1389 in e7e8ce3
One could add a new global variable
to the code, and then create the Timer via
Timer(0; interval=PRECOMPILE_SPINNER_INTERVAL[])
. This would allow changing the spinners by setting a global variable. A similar mechanism is already used inMiniProgressBars.jl
where two variables are definedPkg.jl/src/MiniProgressBars.jl
Lines 21 to 22 in e7e8ce3
The text was updated successfully, but these errors were encountered: