Skip to content

Suggestion: clean up data for inactive workshop IDs to reclaim disk space #1122

Open

Description

@locnnil

While checking disk usage under ~/.local/share/workshop, I noticed several ID directories belonging to old projects, and together they take up a considerable amount of space.

The entries listed by workshop list --global don’t match the contents of ~/.local/share/workshop/id. That’s expected: the global list only shows active workshops, while $XDG_DATA_HOME/workshop keeps data for all of them, including inactive ones.

However, there’s no safe way to clean up these leftover directories today. A supported cleanup mechanism would let users reclaim disk space without risking the deletion of data that’s still in use.

Activity

  1. jonathan-conder commented on Oct 30, 2026

    @jonathan-conder
    Contributor

    It's actually unexpected that workshop list --global doesn't match ~/.local/share/workshop/id. But it's certainly possible, e.g. if you remove the snap without removing all workshops first.

    We should have some kind of prune or purge command, I think

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions