You may have noticed that your web-browser is ever-green
If you check your About Firefox today you’ll see you are running FireFox v64.0.2.
Now that version was release on January 9, 2019.
You might be thinking: “But I installed Firefox 6 months ago, and I never updated it?!?”.
This is because webbrowsers install updates in the background.
I want that for my julia enviroments too
For a while I was doing in my
using Distributed: Distributed let pkg_worker = Distributed.addprocs(1)[end] Distributed.remotecall(pkg_worker) do redirect_stdout() # silence everything, only on this worker Pkg.update() # now remove this worker and say we are done remotecall(1) do eval(quote Distributed.rmprocs($(pkg_worker)) printstyled("\n Pkg.update() complete \n"; color=:light_black) end) end end end
But this has some problems. Things seem to go a bit weird.
I think Pkg does not really like it when you have two unrelated julia instances modifying it at the same time.
What is a more elegant and polished way of doing this?
* lets pretend i want that. What I actually want is probably only to background install changes that are not breaking, according to semver. But one step at a time.)