Skip to content

Fix cleaning AUR always cleaning all packages - #2650

Merged
Jguer merged 1 commit into
Jguer:nextfrom
jdholtz:fix-clean
Aug 8, 2025
Merged

Fix cleaning AUR always cleaning all packages#2650
Jguer merged 1 commit into
Jguer:nextfrom
jdholtz:fix-clean

Conversation

@jdholtz

@jdholtz jdholtz commented Aug 7, 2025

Copy link
Copy Markdown
Contributor

Since #2644, specifying the --clean or -c argument would always clean all packages in the AUR cache, rather than needing to provide -cc. This PR reverts that change to restore normal functionality (yay -Sca removes non-installed AUR package caches and yay -Scca removes all AUR package caches). I also added a regression test to catch this if it happens again.

@jdholtz
jdholtz requested a review from Jguer as a code owner August 7, 2025 20:47
@Jguer

Jguer commented Aug 8, 2025

Copy link
Copy Markdown
Owner

Well caught, thanks @jdholtz. I'll be cutting a release this weekend probably.
After that I think I'll start bigger discussions in #2648

@Jguer
Jguer merged commit 89216f3 into Jguer:next Aug 8, 2025
2 checks passed
@jdholtz
jdholtz deleted the fix-clean branch August 25, 2025 19:20
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