Skip to content

feat(architectures): add Go architectures - #114

Open
lengau wants to merge 5 commits into
mainfrom
work/arch
Open

feat(architectures): add Go architectures#114
lengau wants to merge 5 commits into
mainfrom
work/arch

Conversation

@lengau

@lengau lengau commented Mar 26, 2025

Copy link
Copy Markdown
Contributor
  • Have you followed the guidelines for contributing?
  • Have you signed the CLA?
  • Have you successfully run make lint && make test?

Fixes #45

lengau added 4 commits March 25, 2025 20:50
This adds Go architectures for current Ubuntu platforms.

These architectures are a 1:1 mapping of Debian architectures to cover
both architecture and the variant that Ubuntu is built for (relevant
for OCI images).
Signed-off-by: Alex Lowe <alex.lowe@canonical.com>
@github-actions

Copy link
Copy Markdown

Type checking with ty failed. This is a notification only and does not require action.

Command output
error[call-non-callable]: Object of type `_WithException[Unknown, <class 'Failed'>]` is not callable
  --> tests/conftest.py:32:9
   |
30 |           main_module = craft_platforms
31 |       except ImportError:
32 | /         pytest.fail(
33 | |             "Failed to import the project's main module: check if it needs updating",
34 | |         )
   | |_________^
35 |       return main_module
   |
info: rule `call-non-callable` is enabled by default

Found 1 diagnostic

@github-actions

Copy link
Copy Markdown

Type checking with ty failed. This is a notification only and does not require action.

Command output
error[call-non-callable]: Object of type `_WithException[Unknown, <class 'Failed'>]` is not callable
  --> tests/conftest.py:32:9
   |
30 |           main_module = craft_platforms
31 |       except ImportError:
32 | /         pytest.fail(
33 | |             "Failed to import the project's main module: check if it needs updating",
34 | |         )
   | |_________^
35 |       return main_module
   |
info: rule `call-non-callable` is enabled by default

Found 1 diagnostic

@lengau
lengau requested a review from tigarmo June 13, 2025 20:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

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

1 participant