Skip to content

Remove more stuff at uninstall #47

@davidanthoff

Description

@davidanthoff

If we could get the customInstallActions permission for our store submission, we could use this to remove arbitrary stuff at uninstall, for example all the Julia versions that were installed with juliaup.

In my mind this would make most sense as part of a more generic redesign of storage locations. At the moment, a Julia depot is really a mix of stuff that in an ideal world would automatically be uninstalled when Julia is uninstalled, and stuff that should stay around even after Julia is uninstalled. In particular, it seems to me that in an ideal world, the following things would all be uninstalled with Julia itself: ~/.julia/packages, ~/.julia/compiled, ~/.julia/registries (at least if they are really, truly read-only cache copies from a server), ~/.julia/artifacts and ~/.julia/juliaup. I think ideally all those things would actually no longer be stored in ~/.julia, but instead in say %APPDATA%/Julia, and then that folder gets removed at uninstall. The principle then would be that everything in ~/.julia stays around at uninstall, but we have a new location for files that get removed when Julia is uninstalled. At some level this would be a split of the Julia depot system into two different kinds of files.

I think at the end of the day this change would have to happen in Julia itself first.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions