← Back to issue list

Add go architectures and a way to convert between deb arches and go arches

View original Github issue

Metadata

Project
craft-platforms
Number
#45
Type
issue
State
open
Author
lengau
Labels
—
Created
Updated
Closed
—

Current evaluation

Maintainer request to add Go architecture support (enum plus deb<->Go conversion) to craft_platforms, replacing rockcraft's architectures.py mapping. Still unimplemented; only an automated Jira sync (CRAFT-3380) comment exists.

Suggested action: keep open

Reason: The feature is still absent from the codebase: craft_platforms/_architectures.py has DebianArchitecture with to_platform_arch/to_efi_arch/to_grub_arch plus _ARCH_TRANSLATIONS_DEB_TO_{PLATFORM,EFI,GRUB} tables, but no Go arch enum or conversion, and __init__.py exports only DebianArchitecture. It is a valid, clearly scoped feature filed by a maintainer (lengau) that names the exact rockcraft code to replace, so it should stay open despite no labels or human discussion. Impact is moderate since it is additive library plumbing/dedup rather than an app-breaking defect; complexity is low because it mirrors three existing patterns in the same file, though the exact API shape (GoArchitecture enum vs. plain to_go_arch(), and whether reverse conversion is needed) is not spelled out in the terse body.

Evaluated by: mr-cal-bot

Impact: 38 Quick Win: 20 Complexity: 30 Confidence: 82 Actionability: 75

Issue body

Something that can replace this: https://github.com/canonical/rockcraft/blob/4c747fb74b44680b8c2c3d7b49b5347c5da312b0/rockcraft/architectures.py#L35-L62

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha
Impact: 38
Quick Win: 20
Complexity: 30
Confidence: 82
Actionability: 75
keep open Maintainer request to add Go architecture support (enum plus deb<->Go conversion) to craft_platforms, replacing rockcraft's architectures.py mapping. Still unimplemented; only an automated Jira sync (CRAFT-3380) comment exists.
stealth/space-bunny-alpha
Impact: 32
Quick Win: 15
Complexity: 22
Confidence: 78
Actionability: 62
needs triage Feature request from a maintainer to add Go architecture support (enum plus deb<->Go conversion) to craft-platforms, replacing rockcraft's architectures.py mapping. Still unimplemented and untriaged.
stealth/space-bunny-alpha
Impact: 43
Quick Win: 28
Complexity: 25
Confidence: 92
Actionability: 88
needs triage Go architecture support and Debian-to-Go conversion remain untriaged; open PR #114 implements the request but remains unmerged without maintainer review.
qwen3.6-35b-a3b-mtp-q6
Impact: 50
Quick Win: 30
Staleness: 85
Complexity: 40
Confidence: 60
Support Request: 10
close stale Feature request to add Go architecture support and deb-to-Go architecture conversion to craft_platforms. Issue is 723 days old with no maintainer engagement or labels.
qwen/qwen3.6-35b-a3b
Staleness: 92
Complexity: 25
Confidence: 80
Support Request: 15
needs triage Feature request to add Go architecture support and conversion utilities for Debian architectures. The issue remains unlabelled, unassigned, and has seen no maintainer engagement in over a year.
qwen3.6-35b-a3b-mtp-q6
Staleness: 85
Complexity: 25
Confidence: 75
Support Request: 10
needs triage Unlabelled feature request to add Go architecture conversion utilities, referencing external rockcraft code. Inactive for over a year with only a Jira sync bot comment and no maintainer assessment.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#114 feat(architectures): add Go architectures craft-platforms open Adds a GoArchitecture enum with deb<->Go conversions in _architectures.py, plus unit tests and public API exports (fixes #45). Small +56/-2 diff, all CI checks green, but no reviews and no activity in 475 days.
73%