partitions: add utility to make partition compatible filepaths
Metadata
Current evaluation
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.
Suggested action: —
No scores available.
Issue body
- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
-----
Adds a utility function that takes a filepath and returns a partition-compatible filepath.
(CRAFT-1845)
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | 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. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged a utility function that converts standard filepaths to partition-compatible formats, resolving CRAFT-1845. The change introduces a helper method to ensure path compatibility across varying partition schemes. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #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. | |
| #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. | |
| #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. | |
| #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. | |
| #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. | |
| #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. | |
| #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. | |
| #528 partitions: make partitions optional in ProjectDirs | craft-parts | merged | Made partitions optional in ProjectDirs. Merged following approval from two reviewers, updating eight files (+170/-114 lines). Unresolved review comments and unrelated pyright linting changes did not block integration. |