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:
- Identify the latest build available (e.g., 9.6.20250717-0) and an older build (e.g., 9.6.20250716-0).
cosa buildfetch an artifact with an older build
cosa buildfetch --url URL -b 9.6.20250716-0 --arch ppc64le --artifact qemu
- 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
cosa decompresscommand 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 usingcosa buildfetchand pointed to by thebuilds/latestsymlinkSteps to reproduce:
cosa buildfetchan artifact with an older buildcosa decompressExpected Behavior
The qemu file should be decompress by
cosa decompressActual Behavior
The file is skipped since it is not the latest build in the builds/builds.json file