Clean: Don't automatically clean reverse dependencies.
Metadata
Current evaluation
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.
Resolution: closed resolved
Reason: The maintainer identified PR ubuntu-core/snapcraft#436 as the fix. Commit 1664c4165 changed the clean command so reverse-dependent parts are no longer cleaned implicitly.
Evaluated by: mr-cal-bot
No scores available.
Issue body
Right now the clean step automatically cleans reverse dependencies for the part specified. This is in contrast to the other steps, which require each part to be verbosely specified before building dependencies. The cleaning should be updated to error out, asking that all dependent steps be specified. This will keep the experience consistent.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | 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. | |
| stealth/space-bunny-alpha | — | closed resolved | Clean now requires reverse-dependent parts to be explicitly listed; fixed by merged PR canonical/snapcraft#436 in commit 1664c4165. | |
| stealth/space-bunny-alpha | — | closed resolved | Implemented in merged canonical/snapcraft#436: clean no longer follows reverse dependencies, requiring affected parts to be explicitly specified. | |
| qwen/qwen3.6-35b-a3b | — | — | Proposed enforcing explicit specification for reverse dependency cleaning to match other steps. The issue was closed without implementation or further discussion. | |
| qwen/qwen3.6-35b-a3b | — | — | The request to require explicit reverse dependency specification during clean was closed without resolution. No implementation occurred, and the issue was abandoned due to prolonged inactivity. |
Update history
| Date | Change |
|---|---|
| created |
Related work
-
Likely Fixed By:
ubuntu-core/snapcraft#436
(confidence 100%)
Merged PR implementing the requested clean-command behavior in commit 1664c4165.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #436 Clean command: Don't automatically clean reverse dependencies. | snapcraft | merged | Merged PR #436 via commit 1664c4165, resolving LP #1568004: clean no longer automatically cleans reverse dependencies; all interdependent parts must be explicit. | |
| #1416 core: a clean command should clean. | snapcraft | merged | Merged in canonical/snapcraft#1416 (7a181162c), changing clean to remove everything in the target path instead of selectively skipping items. |