← Back to issue list

feat(partitions): handle namespaced partitions in utils

View original Github issue

Metadata

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

Current evaluation

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.

Suggested action:

No scores available.

Issue body

- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? ----- Handle namespaced partitions in utility functions, `get_partitioned_path()`, `get_partition_and_path()`, `get_stage_dir()`, and `get_prime_dir()`. #596 (CRAFT-2303)

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b 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.
qwen3.6-35b-a3b-mtp-q6 Merged to implement namespaced partition handling in utility functions get_partitioned_path, get_partition_and_path, get_stage_dir, and get_prime_dir. Closes #596 and CRAFT-2303.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#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.
82%
#497 partitions: add utility to make partition compatible filepaths craft-parts merged Merged utility function to convert filepaths to partition-compatible formats. Approved by two reviewers, the change adds 184 lines across two files and addresses CRAFT-1845.
82%
#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.
79%
#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.
79%
#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.
78%
#801 fix: partitions break when using special characters craft-parts merged Merged fix for CRAFT-3031 resolving lifecycle failures from misinterpreted paths in partitions with numbers and hyphens. Approved by two reviewers, the change updates four files to correctly handle special characters.
77%
#800 feat: allow hyphens in partition names craft-parts merged Merged to allow hyphens in partition names. Approved by two reviewers, the change updates five files with 85 additions and 51 deletions, resolving CRAFT-3031.
77%
#371 docs: add howto for using partitions craft-application merged Merged a how-to guide for using partitions. Approved by two reviewers, the update adds 197 lines across two files to document partition usage within the project. Resolves CRAFT-3068.
76%
#599 feat(partitions): validate namespaced partitions craft-parts merged Validates namespaced partitions during LifecycleManager initialization, resolving issue #595. Merged after approval by two reviewers, adding 248 lines and removing 22 across five files.
76%
#602 feat(partitions): create envvars for namespaced partitions craft-parts merged Merged implementation of environment variables for namespaced partitions, generating CRAFT_DEFAULT_STAGE and CRAFT_COMPONENT_FOO_STAGE. Resolves #597, removes xfail decorators from #600, and passed CI review.
75%