partitions: add utility to make partition compatible filepaths
Metadata
Current evaluation
Merged #497, adding a utility that converts filepaths into partition-compatible paths for CRAFT-1845; landed as commit 20e994f8.
Resolution: closed resolved
Reason: PR #497 was approved and merged, landing the 184-line filepath utility and tests in commit 20e994f8.
Evaluated by: mr-cal-bot
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 |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged #497, adding a utility that converts filepaths into partition-compatible paths for CRAFT-1845; landed as commit 20e994f8. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged canonical/craft-parts#497, adding partition-compatible filepath support for CRAFT-1845 with 184 lines across two files. | |
| 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 |
|---|---|---|---|---|
| #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). | |
| #493 partitions: validate usage of partitions in parts | craft-parts | merged | 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). | |
| #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. | |
| #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. | |
| #763 partitions feature documentation | craft-parts | merged | Merged developer-facing partitions documentation in commit cdcc9dbc, completing CRAFT-3030 after approval by two reviewers. | |
| #801 fix: partitions break when using special characters | craft-parts | merged | Merged PR #801 fixed CRAFT-3031 lifecycle failures for partition names containing numbers and hyphens; merged as commit ceaf4cda. | |
| #1002 feat: Allow slashes in partition names | craft-parts | merged | Merged as c2e41898, allowing slashes in partition names and fixing #999 (CRAFT-4064). | |
| #800 feat: allow hyphens in partition names | craft-parts | merged | Merged PR #800 as commit 184d5142, adding support for hyphens in partition names for CRAFT-3031. | |
| #371 docs: add howto for using partitions | craft-application | merged | Merged PR #371 in commit b99d1e83, adding a partition usage how-to and updating the documentation index (CRAFT-3068). | |
| #1110 feat: cleaning with partitions | craft-parts | merged | Merged PR #1110 adds partition-aware cleanup of shared areas for CRAFT-4585, following prerequisite #1109; it is recorded on main as commit 0584c19c. |