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

Unify architecture property names in transformed image data #724

Open
F-X64 opened this issue Aug 24, 2023 · 1 comment
Open

Unify architecture property names in transformed image data #724

F-X64 opened this issue Aug 24, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@F-X64
Copy link
Member

F-X64 commented Aug 24, 2023

Current Behavior
The architecture property contained in the transformed image data varies depending on cloud provider:

 ➤  http https://imagedirectory.cloud/images/v2/all | jq 'map(.arch) | unique'
 [
   "ARM64",
   "Arm64",
   "X86_64",
   "arm64",
   "x64",
   "x86_64"
 ]

This makes filtering for a specific architecture more complicated than it needs to be.

Expected Behavior
There should only be two kinds of architectures available in our transformed image data:

  1. x86_64
  2. arm64

Most of these duplicates can be removed by forcing lowercase conversion to the architecture property, the only outlier is Azure which uses x64 instead of x86_64.

@F-X64 F-X64 added the enhancement New feature or request label Aug 24, 2023
@major
Copy link
Member

major commented Aug 24, 2023

https://media.giphy.com/media/JsbJMO1TZMZyhW0tPQ/giphy.gif

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants