← Back to issue list

Add option to clean all parts

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1995365
Type
issue
State
closed
Author
~rastersoft-gmail
Labels
Created
Updated
Closed

Current evaluation

⚠️ This summary may be outdated — the issue content or evaluation prompts have changed since this evaluation was made.

Feature request to add a flag for snapcraft clean that removes all parts without destroying the build container. No maintainer response or labels after 3.7 years.

Suggested action: close stale

Reason: The issue has been inactive for over three years with zero maintainer engagement. Snapcraft’s containerization and build system have significantly evolved since then, making the original context and request outdated. Given the lack of relevance to current versions and no triage, closing as stale is appropriate.

Staleness: 95 Complexity: 15 Confidence: 85 Support Request: 10

Issue body

Currently, executing a "snapcraft clean" will destroy any container used to build a snap. There is the option of using "snapcraft clean PART_NAME", and that will just clean that part and rebuild it and any part that depends on it. Unfortunately, there is no way of cleaning all the parts to trigger a full rebuild without deleting the container and having to pull all the snaps and packages needed to build the container. So, it would be useful to add "snapcraft clean --parts-only" or "snapcraft clean --all-parts" to just clean all the parts but without destroying the container.

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b
Staleness: 95
Complexity: 15
Confidence: 85
Support Request: 10
close stale Feature request to add a flag for snapcraft clean that removes all parts without destroying the build container. No maintainer response or labels after 3.7 years.
qwen/qwen3.6-35b-a3b
Staleness: 95
Complexity: 20
Confidence: 90
Support Request: 10
close stale Request to add a --parts-only or --all-parts flag to snapcraft clean to rebuild all parts without destroying the build container. Untriaged and inactive for ~3.7 years.
qwen3.6-35b-a3b-mtp-q6
Staleness: 92
Complexity: 15
Confidence: 85
Support Request: 10
needs triage Request to add a flag to snapcraft clean that removes all build parts without destroying the underlying build container. Unlabelled and inactive for over 3 years.
qwen3.6-35b-a3b-mtp-q6
Staleness: 95
Complexity: 15
Confidence: 80
Support Request: 10
needs triage Request to add a flag to snapcraft clean that removes all parts without destroying the build container. Unlabelled, no maintainer response, inactive for over 3 years.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1609803 snapcraft cleanbuild --no-clean-up snapcraft (launchpad) closed Feature request to add a --no-clean-up flag to snapcraft cleanbuild was closed without implementation. The issue appears abandoned or declined, with no comments or resolution details provided.
74%
#1666366 Need --autoclean or similar snapcraft (launchpad) open Feature request for an --autoclean option to auto-clean stale parts when a dependency's step needs re-running. 9.5 years old, zero comments, no labels; the legacy parts system it targets was replaced by craft-parts in snapcraft 2.0+.
72%