← Back to issue list

Clean partitions directories

View original Github issue

Metadata

Project
craft-parts
Number
#634
Type
issue
State
closed
Author
mr-cal
Labels
Created
Updated
Closed

Current evaluation

Implemented partition directory cleanup during craft-parts part cleaning to prevent dirty build environments. Resolved and merged via pull request #652.

Suggested action:

No scores available.

Issue body

### What needs to get done When craft-parts cleans a part, the partition directories should also be cleaned. Craft-parts has a complex algorithm to determine what to clean. This needs to be studied before implementing. ### Why it needs to get done To prevent build issues resulting from a dirty build environment.

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Implemented partition directory cleanup during craft-parts part cleaning to prevent dirty build environments. Resolved and merged via pull request #652.
qwen/qwen3.6-35b-a3b Partition directory cleanup during craft-parts part cleaning was implemented to prevent dirty build environments. Resolved and fixed by pull request #652.
qwen/qwen3.6-35b-a3b Implemented partition directory cleanup during part processing to prevent dirty build environments. Resolved and merged via pull request #652.
qwen3.6-35b-a3b-mtp-q6 Fixed by PR #652. Partition directories are now properly cleaned when craft-parts cleans a part, preventing dirty build environment issues.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1110 feat: cleaning with partitions craft-parts merged Merged after craft-parts PR #1109. Properly cleans the shared area while accounting for partitions, resolving issue #665. Includes a changelog entry and passed three reviews.
80%
#652 feat(partitions): clean partition directories craft-parts merged Merged changes cleaning partition directories when the partitions feature is enabled. Approved by two reviewers, passed CI, and resolves issue #634.
77%
#672 Using partitions introduces a breaking change craft-parts closed Fixed via a redesign in craft-parts issue #620. Partition support previously altered working directory paths, breaking relative path references in build overrides. The redesign resolves the path inconsistency, restoring expected behavior.
75%
#4463 Enable craft-parts partitions feature snapcraft closed Implemented craft-parts partitions by defining a default partition for snap data without altering existing behavior. Added spread tests for partition environment variables and keywords. Completed and merged via pull request #4493.
75%
#754 Document Partitions craft-parts closed Completed and merged via pull request #763 in canonical/craft-parts, adding the requested Partitions documentation to enable application integration and reuse.
74%
#493 partitions: validate usage of partitions in parts craft-parts merged Implemented partition validation for filepaths in the organize, overlay, stage, and prime keywords within parts. Merged after reviewer approval and passing CI checks, modifying seven files to resolve CRAFT-1844.
73%
#600 feat(partitions): handle namespaced partitions in utils craft-parts merged Merged following two reviewer approvals and passing CI. Updates utility functions to handle namespaced partitions across eight files (+229/-72 lines). Resolves #596 and CRAFT-2303.
72%
#1077 test: fix directory test strategy craft-parts merged Merged a fix for the directory test strategy that prevented Craft Parts failures when two partitions shared the default name. The change passed all CI checks, received reviewer approval, and updated the changelog.
71%
#763 partitions feature documentation craft-parts merged Merged documentation for the partitions feature targeting application developers. Approved by two reviewers, the update adds 66 lines and removes 5 across nine files, resolving CRAFT-3030.
70%