Pkg gc behavior: looking across versions?

This seems undesirable to me:

(v0.7) pkg> gc
    Active manifests at:
        `/Users/randyzwitch/.julia/environments/v1.0/Manifest.toml`
        `/Users/randyzwitch/.julia/environments/v0.7/Manifest.toml`
   Deleted 0 package installations 

Although gc may run automatically and delete things as needed, if I’m running in 0.7 I don’t think I want even the idea that possible action might be taken in the 1.0 environment. Am I overreacting?

But it didn’t delete anything that you used in the 1.0 environment? What is your concern?

The whole point of the gc is that it removes packages that are not in any environment.

1 Like

Kristoffer answered that I misunderstood what the purpose is of the function, but the original question is one of ‘why is one version of Julia looking into another version?’

In this one case, it makes sense