← Back to issue list

core: a clean command should clean.

View original Github issue

Metadata

Project
snapcraft
Number
#1416
Type
pull request
State
merged
Author
sergiusens
Labels
—
Created
Updated
Closed

Current evaluation

Merged in canonical/snapcraft#1416 (7a181162c), changing clean to remove everything in the target path instead of selectively skipping items.

Resolution: closed resolved

Reason: PR #1416 was approved and merged as commit 7a181162c. It made clean remove everything in the target path rather than selectively preserve items.

Evaluated by: mr-cal-bot

No scores available.

Issue body

When running clean it sometimes does not clean to avoid cleaning some things you might not want to clean but that has proven to be a cumbersome user facing feature so now it would just clean everything in the path. Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com>

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged in canonical/snapcraft#1416 (7a181162c), changing clean to remove everything in the target path instead of selectively skipping items.
stealth/space-bunny-alpha — closed resolved Merged #1416 in commit 7a181162c, changing snapcraft clean to remove everything in the target path instead of selectively skipping artifacts.
stealth/space-bunny-alpha — closed resolved Merged canonical/snapcraft#1416 (7a181162c), making snapcraft clean remove everything in the target path instead of selectively skipping items.
stealth/space-bunny-alpha — closed resolved Merged #1416 (7a181162c): clean now removes everything in the target path instead of selectively skipping items.
qwen/qwen3.6-35b-a3b — — Merged a change to the clean command that now removes all files in the target path instead of selectively skipping items. The update addresses user feedback about cumbersome selective cleaning, received approval, passed CI, and was merged.
qwen3.6-35b-a3b-mtp-q6 — — Merged a change making the clean command remove all files in the target path instead of selectively. This update addresses user feedback about cumbersome behavior, simplifying cleanup.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1568004 Clean: Don't automatically clean reverse dependencies. snapcraft (launchpad) closed Clean stopped automatically cleaning reverse dependencies and now requires dependents to be explicitly named. Fixed by merged PR ubuntu-core/snapcraft#436 in commit 1664c4165.
72%
#1257 core: support running from other operating systems. snapcraft merged Merged in canonical/snapcraft#1257 (commit 066786827), allowing cleanbuilds on other operating systems when the required toolset is available.
71%