← Back to issue list

Snapcraft clean removes local plugins

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1561546
Type
issue
State
closed
Author
~kyrofa
Labels
—
Created
Updated
Closed

Current evaluation

Clean removing local plugins was fixed by merged PR #404 (fix commit 5094d08b2), released in Snapcraft 2.6.1; the issue was closed by maintainer kyrofa with that link.

Resolution: closed resolved

Reason: Maintainer kyrofa closed the bug with 'Fix: https://github.com/ubuntu-core/snapcraft/pull/404'; PR #404 was merged preserving local plugins during 'snapcraft clean' and added regression tests referencing LP #1561546.

Evaluated by: mr-cal-bot

No scores available.

Issue body

The per-step implementation of cleaning also removes local plugins. This is obviously not desired.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Clean removing local plugins was fixed by merged PR #404 (fix commit 5094d08b2), released in Snapcraft 2.6.1; the issue was closed by maintainer kyrofa with that link.
stealth/space-bunny-alpha — closed resolved Fixed by PR #404 (commit 5094d08b2, merge b399a5ebd) "Clean: Leave local plugins alone.", which stopped `snapcraft clean` from deleting user plugins in parts/ and added regression tests for LP #1561546.
stealth/space-bunny-alpha — closed resolved Local plugins were preserved during clean in merged PR #404 (commit 5094d08b2), with a regression test for LP #1561546.
qwen/qwen3.6-35b-a3b — — Closed without a documented fix or resolution. The bug where snapcraft clean incorrectly removes local plugins remains unaddressed, likely abandoned due to prolonged inactivity.
qwen/qwen3.6-35b-a3b — — Reported that snapcraft clean incorrectly removes local plugins was closed without resolution. With zero comments and over a decade of inactivity, the bug report appears abandoned.
qwen/qwen3.6-35b-a3b — — Closed without a fix or resolution. The reported bug where snapcraft clean removes local plugins remains unresolved, indicating the issue was abandoned or rejected.
qwen3.6-35b-a3b-mtp-q6 — — Abandoned. The per-step cleaning process incorrectly removed local plugins, but no fix or discussion was provided.

Update history

Date Change
created

Related work

  • Likely Fixed By: snapcraft#404 (confidence 98%)

    Merged PR 'Clean: Leave local plugins alone.' with fix commit 5094d08b2, shipped in 2.6.1

Related issues

Issue Project State Summary Similarity
#404 Clean: Leave local plugins alone. snapcraft merged Merged PR #404 via b399a5ebd (fix commit 5094d08b2), preserving local plugins during clean and adding regression tests for LP #1561546; released in Snapcraft 2.6.1.
80%
#1630005 Python plugins don't clean up <partdir>/packages snapcraft (launchpad) closed Fixed by canonical/snapcraft#882 (commit c54dea99d), which added clean_pull support to the Python plugins so <partdir>/packages is removed on clean; issue closed by maintainer kyrofa citing that PR.
71%