← 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

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.

Suggested action: keep open

Reason: The issue is explicitly labeled 'Status: Triaged' and was filed by a maintainer (steinbro), so it has been assessed and acknowledged. The referenced GptType enum (volume.py:132) still exists and GPTStructureItem.structure_type still only accepts raw GUIDs, so the request remains valid and unimplemented. Related PR #286 added more GPT types to the enum but did not expose friendly names, and no commit or PR has since addressed this, so it should stay open rather than be closed as stale.

Impact: 40 Quick Win: 26.0 Staleness: 55 Complexity: 35 Confidence: 75 Support Request: 5

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
qwen/qwen3.8-27b
Impact: 40
Quick Win: 26.0
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.
qwen3.6-35b-a3b-mtp-q6
Staleness: 60
Complexity: 20
Confidence: 90
Support Request: 5
keep open Allow human-friendly GPT partition type names in imagecraft.yaml by exposing the internal enum instead of requiring full GUIDs. Status: Triaged. Open and awaiting implementation, last updated 122 days ago.

Update history

No update history recorded yet.

Related work

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

    Merged PR that extended the GptType enum with more partition types; its summary notes it was expected to be superseded by work tied to this issue, but it did not expose human-friendly names.

Related issues

No related issues found above the similarity threshold.