Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pkg/arch: split arch from pkg/platform #275

Merged
merged 2 commits into from
Nov 27, 2023
Merged

Conversation

croissanne
Copy link
Member

@croissanne croissanne commented Nov 24, 2023

This allows importing the architecture separately, and will help getting rid of inline string literals in composer.


Alternatively we import platform everywhere.

@croissanne croissanne force-pushed the arch branch 2 times, most recently from e31fb5e to 2a7af31 Compare November 24, 2023 15:45
@achilleas-k
Copy link
Member

Not a bad idea. Can you also move the CurrentArch() function from common/helpers.go into the new arch package? It's nothing big, but can be useful to have public and I think it makes sense in the new package.

@croissanne croissanne force-pushed the arch branch 2 times, most recently from cff59ad to 1a309a4 Compare November 24, 2023 17:10
@achilleas-k
Copy link
Member

Merge conflict :(

This allows importing the architecture separately, and will help getting
rid of inline string literals in composer.
Copy link
Member

@achilleas-k achilleas-k left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

THANK YOU!!

@achilleas-k achilleas-k added this pull request to the merge queue Nov 27, 2023
Merged via the queue into osbuild:main with commit d339861 Nov 27, 2023
7 checks passed
@croissanne croissanne deleted the arch branch November 27, 2023 12:09
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.

2 participants