Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants