← Back to issue list

partitions: validate usage of partitions in parts

View original Github issue

Metadata

Project
craft-parts
Number
#493
Type
pull request
State
merged
Author
mr-cal
Labels
—
Created
Updated
Closed

Current evaluation

Merged into craft-parts in commit ed20df71 (#493), adding validation of partition usage in filepaths for parts' organize, overlay, stage and prime keywords (CRAFT-1844).

Resolution: closed resolved

Reason: PR #493 by maintainer mr-cal was approved and merged as commit ed20df71, implementing partition-usage validation for organize/overlay/stage/prime filepaths for CRAFT-1844. A noted CI failure was deemed unrelated and addressed separately in #494/#495.

Evaluated by: mr-cal-bot

No scores available.

Issue body

- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? ----- Validate usage of partitions in filepaths listed in the `organize`, `overlay`, `stage`, and `prime` keywords for parts. (CRAFT-1844)

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged into craft-parts in commit ed20df71 (#493), adding validation of partition usage in filepaths for parts' organize, overlay, stage and prime keywords (CRAFT-1844).
stealth/space-bunny-alpha — closed resolved Merged #493 in commit ed20df71, adding partition validation for filepaths in parts’ organize, overlay, stage and prime keywords (CRAFT-1844).
qwen/qwen3.6-35b-a3b — — 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.
qwen3.6-35b-a3b-mtp-q6 — — Merged. Implements validation for partition usage in filepaths across organize, overlay, stage, and prime keywords within parts, resolving CRAFT-1844. An unrelated test failure was noted but did not block the merge.

Update history

No update history recorded yet.

Related work

  • Related To: craft-parts#494 (confidence 92%)

    Unrelated CI test fix for stage-package AptCache on Jammy; the PR author flagged the test failure as unrelated to #493 and linked it here.

Related issues

Issue Project State Summary Similarity
#600 feat(partitions): handle namespaced partitions in utils craft-parts merged Merged into main in commit f387afa5 (PR #600), adding namespaced-partition handling to four partition utilities and resolving craft-parts#596.
80%
#599 feat(partitions): validate namespaced partitions craft-parts merged Merged PR #599 as commit 06a5f999, adding namespaced partition validation during LifecycleManager initialization and fixing #595 (CRAFT-2032).
80%
#489 partitions: add feature and validation craft-parts merged Merged as commit d363fa7c, adding the opt-in partitions feature to LifecycleManager/Dirs, partition name validation with new partition errors, and integration tests for CRAFT-1843. Follow-up PRs #493, #497 and #517 extended it.
79%
#497 partitions: add utility to make partition compatible filepaths craft-parts merged Merged #497, adding a utility that converts filepaths into partition-compatible paths for CRAFT-1845; landed as commit 20e994f8.
78%
#763 partitions feature documentation craft-parts merged Merged developer-facing partitions documentation in commit cdcc9dbc, completing CRAFT-3030 after approval by two reviewers.
78%
#652 feat(partitions): clean partition directories craft-parts merged Merged #652 via commit 797109e8, adding partition-directory cleanup when partitions are enabled and fixing #634 (CRAFT-2417).
78%
#4463 Enable craft-parts partitions feature snapcraft closed Partitions support landed in merged PR #4493 (commit 070c7e995), enabling partition-backed component lifecycle data and completing #4463.
76%
#754 Document Partitions craft-parts closed Partitions documentation was added and the issue completed by merged PR canonical/craft-parts#763 in commit cdcc9dbc.
76%
#1591 fix(errors): generalize partition usage resolution craft-parts merged Merged PR #1591 (commit 5d96832f) generalized PartitionUsageError guidance for all invalid partition usage, fixed #836, and shipped in craft-parts 2.36.0.
74%
#6397 feat: partitions always enabled snapcraft open Turns on craft-parts partitions consistently in snapcraft (4 files, +8/-9) as a manual-spread follow-up to craft-parts#1699. Awaiting review: lint/files failing, 3 checks pending, one unresolved comment, upstream craft-parts PR still open.
74%