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

Unify architecture property names in transformed image data #724

Description

@F-X64

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions