← Back to issue list

Support per-step cleaning.

View original Github issue

Metadata

Project
snapcraft
Number
#401
Type
pull request
State
merged
Author
kyrofa
Labels
—
Created
Updated
Closed

Current evaluation

Merged PR #401 as 88d21b180, adding per-part, per-step cleaning and resolving Launchpad bug #1537786.

Resolution: closed resolved

Reason: The clean command gained fine-grained, per-step cleaning for each part. Merge commit 88d21b180 records the resolution of Launchpad bug #1537786.

Evaluated by: mr-cal-bot

No scores available.

Issue body

This PR resolves LP: [#1537786](https://bugs.launchpad.net/snapcraft/+bug/1537786) by adding more fine-grained clean functionality, allowing one to clean each step per part rather than all steps.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged PR #401 as 88d21b180, adding per-part, per-step cleaning and resolving Launchpad bug #1537786.
stealth/space-bunny-alpha — closed resolved Merged #401 as 88d21b180, adding per-part, per-step cleaning and resolving Launchpad bug #1537786.
qwen/qwen3.6-35b-a3b — — Merged to implement per-step cleaning for individual parts, resolving Launchpad bug #1537786. Adds fine-grained cleanup functionality, approved after local testing, and increased code coverage to 95.87%.
qwen3.6-35b-a3b-mtp-q6 — — Merged into master. Introduces per-step cleaning, enabling cleanup of individual build steps per part rather than all steps at once. Resolves Launchpad bug #1537786 following peer approval and coverage verification.

Update history

No update history recorded yet.

Related work

Related issues

Issue Project State Summary Similarity
#394 Support cleaning strip step. snapcraft merged Merged through #401 at 88d21b180, adding per-part strip-step cleaning that preserves files shared across parts and advances Launchpad #1537786.
84%
#396 Support cleaning stage step. snapcraft merged Merged PR #396 (c341f9d3e) added per-part stage cleaning while preserving files shared by other parts; the full per-step cleaning series landed via PR #401 (88d21b180).
81%
#384 Support per-step clean command. snapcraft merged Merged as commit 10772e569: adds a --step argument to `snapcraft clean`, cleaning of reverse dependencies, and placeholder per-step clean rules, advancing LP bug #1537786. Follow-up #401 implemented the real rules and closed the bug.
73%