Skip to content

Add Dev Tool Caches cleanup category - #201

Merged
momenbasel merged 1 commit into
momenbasel:mainfrom
vdzerkalo:claude/upstream-dev-tool-caches
Nov 19, 2026
Merged

momenbasel merged 1 commit into
momenbasel:mainfrom
vdzerkalo:claude/upstream-dev-tool-caches

Conversation

@vdzerkalo

Copy link
Copy Markdown
Contributor

What does this PR do?

Adds Dev Tool Caches under Developer Cleanup. PureMac lists developer download and build caches by location so users can review each one before cleanup. The category also includes pip caches previously listed under User Cache.

  • Restrict deletion to known cache roots and recheck symlinks before cleanup. Keep these caches on their dedicated route and refuse administrator escalation.
  • Clean uv and Go caches with the corresponding commands when applicable. Skip Gradle caches while Gradle is running.
  • Leave Maven and NuGet unselected by default and require explicit per-row selection because they can contain locally built packages.

Type of change

  • New feature
  • Documentation

Testing

  • Apple silicon, macOS 27.0.1: 221 PureMac app tests and 56 CLI tests passed. Tests cover cache discovery, exact roots, symlink changes, selection rules, and refusal of the generic cleanup route.
  • Manually scanned disposable Bun, Maven, and NuGet caches in PureMac. Confirmed Maven and NuGet started unselected, the filtered list could deselect Maven after manual selection, and the removal review listed only Bun.
  • Ventura runtime verification is pending. The app builds with a macOS 13 deployment target.

Screenshots

None.

@momenbasel
momenbasel merged commit 46a1eb0 into momenbasel:main Nov 19, 2026
@momenbasel

momenbasel commented Nov 19, 2026 •

Copy link
Copy Markdown
Owner

Thanks, landed on main in 9028c74 (#209) with your commit as is, next to the Rust target and node_modules categories from #197.
Reason: the app had no rows for the Bun, uv, Gradle, Cargo, Go and other tool caches the CLI already cleans; each row is an exact cache root, and Maven and NuGet need a manual check.

momenbasel added a commit that referenced this pull request Nov 19, 2026
Version 3.3.0 (build 32). Release notes cover #197, #201, #199, #186,
#196 and the localization work in #188, #194, #198, #200, #206, #193,
#208 and #187.
iramarfalcao pushed a commit to iramarfalcao/PureMac that referenced this pull request Nov 19, 2026
…omenbasel#201

Reason: the new Developer Cleanup categories, their 26 cache rows and
the Select All Copies button showed English in up to 14 languages.
Fills every English fallback among those 33 keys, reusing each file's
existing wording for cache, download and build. Tool names stay as is.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants