← Back to issue list

Handle namespaced partitions in utility functions

View original Github issue

Metadata

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

Current evaluation

Namespaced partition handling was implemented and tested by merged PR #600 (commit f387afa5), updating the four path and directory utility functions.

Resolution: closed resolved

Reason: The issue was resolved by PR #600, which was merged in commit f387afa5 and updated get_partitioned_path, get_partition_and_path, get_stage_dir, and get_prime_dir for namespaced partitions, with unit tests.

Evaluated by: mr-cal-bot

No scores available.

Issue body

### What needs to get done The functions [`get_partitioned_path()`](https://github.com/canonical/craft-parts/blob/8fea6453667863903fc6d452c6b9b3d8c46b17c9/craft_parts/utils/path_utils.py#L41), [`get_partition_and_path()`](https://github.com/canonical/craft-parts/blob/8fea6453667863903fc6d452c6b9b3d8c46b17c9/craft_parts/utils/path_utils.py#L66), [`get_stage_dir()`](https://github.com/canonical/craft-parts/blob/8fea6453667863903fc6d452c6b9b3d8c46b17c9/craft_parts/dirs.py#L78), and [`get_prime_dir()`](https://github.com/canonical/craft-parts/blob/8fea6453667863903fc6d452c6b9b3d8c46b17c9/craft_parts/dirs.py#L84), need to handle namespaced partitions. The unit tests for these functions should verify that namespaced partitions are properly handled. ### Why it needs to get done To support components in snapcraft

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Namespaced partition handling was implemented and tested by merged PR #600 (commit f387afa5), updating the four path and directory utility functions.
stealth/space-bunny-alpha — closed resolved Namespaced partitions were supported by merged PR #600 (commit f387afa5), updating the four partition path and directory utilities with tests.
qwen/qwen3.6-35b-a3b — — Closed without implementation. The task to update path utility functions for namespaced partitions was abandoned, with no linked pull requests or code changes recorded.
qwen/qwen3.6-35b-a3b — — Closed without implementation. The request to update utility functions for namespaced partitions was abandoned after 40 days of inactivity. No code changes or pull requests were submitted.
qwen/qwen3.6-35b-a3b — — Closed. The task to update utility functions for namespaced partition handling was not explicitly resolved or merged.
qwen3.6-35b-a3b-mtp-q6 — — Closed without a linked pull request or explicit resolution. The request to handle namespaced partitions in utility functions was abandoned or resolved internally.

Update history

No update history recorded yet.

Related work

  • Likely Fixed By: canonical/craft-parts#600 (confidence 100%)

    PR #600 is identified as the resolving change and maps to commit f387afa5.

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.
84%
#595 Parse and validate namespaced partitions craft-parts closed Namespaced-partition validation was completed via merged PR #599, commit 06a5f999, with dedicated validation errors and unit tests.
76%
#598 Add integration tests for namespaced partitions craft-parts open Namespaced-partition integration coverage remains missing after parsing, utility, and environment-variable work landed; the maintainer also identified the misuse-warning path as an untested TODO.
73%
#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).
73%
#683 Feature/namespaced partitions craft-parts closed Namespaced-partition support was merged via PR #684 (commit 188d9166) and released in craft-parts 1.28.0.
71%