← Back to issue list

Support human-friendly GPT partition types

View original Github issue

Metadata

Project
imagecraft
Number
#276
Type
issue
State
open
Author
steinbro
Labels
Status: Triaged
Created
Updated
Closed
—

Current evaluation

Triaged feature request to support readable aliases for common GPT partition types in imagecraft.yaml while retaining arbitrary GUID support; aliases remain unimplemented.

Suggested action: keep open

Reason: The Status: Triaged label shows the request has been assessed, and the existing GptType enum provides a clear basis for readable aliases. Current GPTStructureItem.structure_type still uses GUID-valued GptType members, while commit 1547a40 and imagecraft#286 only added more GPT types, so human-friendly input remains unsupported.

Evaluated by: mr-cal-bot

Impact: 44 Quick Win: 20 Complexity: 43 Confidence: 91 Actionability: 80

Issue body

### Check existing issues - [x] I've verified that this request isn't described by any existing issues. ### Request Users should be allowed to enter arbitrary [GPT partition type GUIDs](https://en.wikipedia.org/wiki/GUID_Partition_Table#Partition_type_GUIDs), but most of the time they will be using a small handful of common values that are not at all memorable. There is already an enum with the most common values, but this is not exposed for use in imagecraft.yaml: https://github.com/canonical/imagecraft/blob/3b5332749240449922ad195f37d635d41c346212/imagecraft/models/volume.py#L117-L130 ### The problem it solves Users are currently expected to enter full [GPT partition type GUIDs](https://en.wikipedia.org/wiki/GUID_Partition_Table#Partition_type_GUIDs) when filling in the `volumes` section in imagecraft.yaml: https://github.com/canonical/imagecraft/blob/3b5332749240449922ad195f37d635d41c346212/tests/conftest.py#L121-L135

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha
Impact: 44
Quick Win: 20
Complexity: 43
Confidence: 91
Actionability: 80
keep open Triaged feature request to support readable aliases for common GPT partition types in imagecraft.yaml while retaining arbitrary GUID support; aliases remain unimplemented.
qwen/qwen3.6-35b-a3b
Impact: 45
Quick Win: 22
Complexity: 35
Confidence: 75
Actionability: 75
keep open Feature request to expose GptType enum as human-friendly aliases in imagecraft.yaml instead of requiring full GPT partition type GUIDs.
qwen/qwen3.8-27b
Impact: 40
Quick Win: 26
Staleness: 55
Complexity: 35
Confidence: 75
Support Request: 5
keep open Feature request to let users write human-friendly names (e.g. linux-data, efi-system) for GPT partition types in imagecraft.yaml instead of raw GUIDs. The GptType enum exists in volume.py but is not exposed. Triaged, open, no progress in ~6 months.
qwen/qwen3.6-35b-a3b
Staleness: 58
Complexity: 25
Confidence: 85
Support Request: 0
keep open Feature request to expose an existing enum for human-friendly GPT partition type names in imagecraft.yaml instead of raw GUIDs. The issue is triaged but has seen no maintainer discussion or progress in over five months.
qwen3.6-35b-a3b-mtp-q6
Staleness: 55
Complexity: 20
Confidence: 85
Support Request: 0
keep open Feature request to expose common GPT partition type GUIDs as human-friendly aliases in imagecraft.yaml. Triaged by maintainer, currently inactive for ~5 months with only an auto-ticket conversion comment.
qwen3.6-35b-a3b-mtp-q6
Staleness: 55
Complexity: 30
Confidence: 85
Support Request: 10
keep open Feature request to expose an existing enum of common GPT partition type GUIDs as human-friendly aliases in imagecraft.yaml. Currently triaged but inactive for ~4.5 months with no implementation progress or maintainer discussion.

Update history

No update history recorded yet.

Related work

  • Related To: canonical/imagecraft#286 (confidence 96%)

    Commit 1547a40 added GPT enum values, but did not expose readable aliases for GPT types.

Related issues

No related issues found above the similarity threshold.