I am wondering if there is a robust solution to
-
making sure that some packages are installed when
startup.jl
runs, -
periodically updating some (probably the same) packages.
Eg one of these packages is Revise.jl, which advises a try ... catch
block. This means that, while I usually forget to install it whenever a new Julia version is added, I can just do it manually.
But I rarely every recall to update my root environment (which I keep absolutely minimal). An ideal solution would check every week or so.
I can hack together something but, being lazy, I am wondering if someone has done this already.
Pseudocode for my startup.jl
would look like
if isinteractive()
ensure_installed_maybe_update(["Revise",
"AbbreviatedStackTraces",
"EmacsVterm"];
check_interval = "1week")
using Revise
...
end