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

Phantom release 0.53.0 #1128

Closed
log2 opened this issue Aug 1, 2022 · 2 comments
Closed

Phantom release 0.53.0 #1128

log2 opened this issue Aug 1, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@log2
Copy link

log2 commented Aug 1, 2022

What happened:
Release 0.53.0 is shown as existent in git tags, so for example, using asdf syft plugin:

asdf latest syft or asdf latest syft 0.53.0

which uses git tags (see this code), the following output is shown:

0.53.0

However, that release cannot really be installed since it lacks actual binaries to download, so the following command fails:

asdf install syft 0.53.0

Downloading syft from https://github.com/anchore/syft/releases/download/v0.53.0/syft_0.53.0_darwin_amd64.tar.gz
tar: Error opening archive: Unrecognized archive format

The issue can be confirmed with curl:

❯ curl https://github.com/anchore/syft/releases/download/v0.53.0/syft_0.53.0_darwin_amd64.tar.gz
Not Found

What you expected to happen:

A release declared in tags should be downloadable and installable (either via asdf syft plugin, or by other means).

How to reproduce it (as minimally and precisely as possible):

Just use asdf syft plugin with the aforementioned steps.

Anything else we need to know?:

Another way to fix this would be, in asdf syft plugin, to use a curl https://api.github.com/repos/anchore/syft/releases rather than a git ls-tags command, since the former looks at actual releases, while the latter lists barely the git tags (which may or may not have actual releases beneath them). In fact, the first command currently does not show 0.53.0 phantom version, while the second one does.

Note that this issue is much similar to grype's issue for 0.44.0 version.

Environment:

  • Output of syft version:
  • OS (e.g: cat /etc/os-release or similar):
❯ sw_vers
ProductName:	macOS
ProductVersion:	12.5
BuildVersion:	21G72
@log2 log2 added the bug Something isn't working label Aug 1, 2022
@spiffcs
Copy link
Contributor

spiffcs commented Aug 1, 2022

related issue:
#1126

Looks like our release action on Friday failed to finish cutting the tag. Running now.

@spiffcs
Copy link
Contributor

spiffcs commented Aug 2, 2022

The release has been published - closing this issue - Thanks for the quick report!

@spiffcs spiffcs closed this as completed Aug 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants