Closed rofinn closed 7 years ago
If the same version is installed in multiple depots, then the first one would take precedence, like in the PATH – so yes, the user copy would be used in preference to the system copy. However, since the set of available versions is a union across depots, you wouldn't generally install a user copy if the system already has that version installed. There's going to have to be a pkg> gc
function that looks for and removes unused package versions, which could also (optionally) remove user copies of packages that exactly match system copies, to avoid having multiples.
Okay, thanks for clarifying. On a separate point, is there a better platform for asking these minor questions? Opening an issue just feels a little noisy.
No, this is ok. I guess we could use discourse too.
Hi folks,
The Pkg3 julep looks really good so far! I was a little confused about the language describing pkg precedence across the union of depots.
Does this mean that the ordering of the depot paths in the
DEPOT_PATH
environment variable determines pkg precedence? For example, if we have something likeJULIA_DEPOT_PATH=/home/Julia/.julia:/usr/local/share/julia/system:/usr/local/share/julia/standard
then user packages would take precedence over system packages and so on?