What are the active manifests?

development
#1

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`
        ...
#2

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

1 Like
#3

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?

1 Like
#4

Yep.

#5

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

#6

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

2 Likes
#7

See https://github.com/JuliaLang/Pkg.jl/issues/621

1 Like
#8

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

Yeah, that would be great :grin: