What are the active manifests?

When I ran the Pkg gc it listed active manifests. What are the active manifests? Why are these active and not others? I had not activated any project, and I have no environment variables pointing to these paths.

(v1.1) pkg> gc
    Active manifests:
        `/l/user1/julia/environments/v1.1/Manifest.toml`
        `/l/user1/Dropbox/tests/julia/Kernel/Manifest.toml`
        `/l/user1/julia/environments/v1.0/Manifest.toml`
        `/l/user1/julia/packages/PackageCompiler/oT98U/packages/LanguageServer/Manifest.toml`
        `/l/user1/Project/Manifest.toml`
        ...

Maybe “active manifest” is a bad name. They are the path to all manifests you have used which are still on the filesystem.

Ok, thanks! So somewhere in the bowels of my Julia installation there is a list of projects that I have activated with Pkg activate?

After some digging, I think it is
$JULIA_DEPOT_PATH/logs/manifest_usage.toml
Is this correct?

Yep.

It would be really great to expose this somewhere/somehow. Looking at that I found projects I’d totally forgotten about :laughing:

Does having it listed in a file not qualify as “exposing it”?

See Introduce `env` command to manage environments · Issue #621 · JuliaLang/Pkg.jl · GitHub

Well, I know you’re not trying to keep it a secret :wink:.

Yeah, that would be great :grin: