← Back to issue list

Support cleaning stage step.

View original Github issue

Metadata

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

Current evaluation

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).

Resolution: closed resolved

Reason: The stage-cleaning implementation was committed in c341f9d3e and merged through PR #396. It was subsequently integrated with the other cleaning steps by PR #401 at 88d21b180.

Evaluated by: mr-cal-bot

No scores available.

Issue body

This PR makes progress on LP: [#1537786](https://bugs.launchpad.net/snapcraft/+bug/1537786) by adding the ability to clean only a part's staged files. This takes into account the possibility for parts to share files, and such files are not removed.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved 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).
stealth/space-bunny-alpha — closed resolved Added per-part stage cleaning via merged PR #396 (c341f9d3e), preserving files shared with other parts; integrated by #401 (88d21b180).
qwen/qwen3.6-35b-a3b — — Merged. Implements per-part stage cleaning that preserves shared files between parts, resolving Launchpad bug #1537786. Approved by maintainer @sergiusens and passed coverage checks.
qwen3.6-35b-a3b-mtp-q6 — — Merged into ubuntu-core:feature/1537786/per_step_cleaning. Implements selective cleaning of a part's staged files while preserving shared files, resolving LP #1537786.

Update history

No update history recorded yet.

Related work

  • Related To: snapcraft#401 (confidence 99%)

    Merged the broader per-step cleaning series containing PR #396.

Related issues

Issue Project State Summary Similarity
#401 Support per-step cleaning. snapcraft merged Merged PR #401 as 88d21b180, adding per-part, per-step cleaning and resolving Launchpad bug #1537786.
81%
#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.
79%