Request for classic confinement: clean-my-ubuntu

  • Name: clean-my-ubuntu

  • Description: A system cleaner for Ubuntu (desktop app + terminal app). It finds caches, old logs, leftovers of removed packages and old snap revisions, and removes them after the user reviews and confirms the list.

  • Snapcraft:https://github.com/homielab/clean-my-ubuntu/blob/main/snap/snapcraft.yaml

  • Upstream:https://github.com/homielab/clean-my-ubuntu

  • Why strict confinement can’t work: the app’s whole job is to read and clean locations no interface exposes: hidden caches of other applications (~/.cache/*, ~/.config/*/Cache, ~/.npm, ~/.cargo, …), the systemd journal (journalctl --vacuum), rotated logs in /var/log, the APT cache (apt-get clean), and disabled snap revisions (snap remove --revision). homeexcludes dot-folders, personal-fileswould need an unbounded list, and there are no interfaces for apt, journald or /var/logwrites.

  • Safety: privileged steps go through pkexec with the standard password dialog; when run as root the engine refuses anything inside a home folder; nothing is removed without confirmation; a test suite (tests/run.sh) checks what each cleaner removes and what it must keep.

  • Closest category: system administration tool; we understand this is outside the standard list and needs a senior review.

This request has been added to the queue for review by the @reviewers team.

Hello @min :slight_smile:

In order to be a good candidate for classic confinement, a snap should fit into one of the supported categories.

In addition, classic confinement is a sensitive matter and it is reserved for mature, well-known applications published by mature, well-known entities. As of today, I believe that clean-my-ubuntu doesn’t meet these criteria because of the following reasons:

  • The project seems to be very fresh, according to the upstream repository
  • The projects seems to have little/none community around according to upstream repository (contributors, issues, PRs, etc.)
  • I could not find evidences that the project has a strong enough user base currently

Thus, considering these factors, I think clean-my-ubuntu should not get classic confinement at this time.

1 Like