feat: Use the first partition in the list as the default
Metadata
Current evaluation
Merged in craft-parts#1144 (42c7216f) and released in 2.16.0: the first lifecycle partition can have a custom name and serves as the default.
Resolution: closed resolved
Reason: PR #1144 was merged as commit 42c7216f. It added custom names for the first lifecycle partition, retained the default reference, and tracked migration state per partition.
Evaluated by: mr-cal-bot
No scores available.
Issue body
- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [x] Have you added an entry to the changelog (`docs/reference/changelog.rst`)?
-----
Enable setting a custom name as the first partition in the partition list provided to the lifecycle, and consider it the default one.
Only the first partition in the list can be named 'default'.
Crafters can still reference the default partition with `(default)` in the project file.
Migration states now also track the partition name to properly track migrated content per partition.
CRAFT-4638
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged in craft-parts#1144 (42c7216f) and released in 2.16.0: the first lifecycle partition can have a custom name and serves as the default. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #1144 (commit 42c7216f), making the first lifecycle partition the default, supporting custom names and per-partition migration-state tracking. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged. Treats the first partition as default, supporting custom names and explicit default references. Migration states now track partition names. Approved by two reviewers, passed all CI checks, and modified 30 files. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged after maintainer approval. Implements using the first partition in the list as the default, supporting custom names while retaining (default) syntax. Migration states now track partition names. Approved as a simpler, functionally equivalent solution. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #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. |