Skip to content

cosa decompress ignores build if it's not the latest in the builds/builds.json #4225

@Roshan-R

Description

@Roshan-R

cosa decompress command appears to only operate on the latest build listed in the builds/builds.json file. It ignores other locally present builds, even when one is explicitly fetched using cosa buildfetch and pointed to by the builds/latest symlink

Steps to reproduce:

  1. Identify the latest build available (e.g., 9.6.20250717-0) and an older build (e.g., 9.6.20250716-0).
  2. cosa buildfetch an artifact with an older build
cosa buildfetch --url URL -b 9.6.20250716-0 --arch ppc64le --artifact qemu
  1. Run cosa decompress

Expected Behavior

The qemu file should be decompress by cosa decompress

Actual Behavior

The file is skipped since it is not the latest build in the builds/builds.json file

Targeting build: 9.6.20250717-0
Skipping missing arch: x86_64
Skipping missing arch: s390x
Skipping missing arch: aarch64
Skipping missing arch: ppc64le

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions