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

Stemcell version handling has issues with 'latest' #471

Open
fearoffish opened this issue Nov 25, 2021 · 4 comments
Open

Stemcell version handling has issues with 'latest' #471

fearoffish opened this issue Nov 25, 2021 · 4 comments
Labels
TYPE: Documentation Documentation incorrect or missing

Comments

@fearoffish
Copy link
Contributor

Running an upload-stemcells command using latest as the version fails

# fails
genesis snw-jvandyke-lab do upload-stemcells ubuntu-xenial@latest

# succeeds
genesis snw-jvandyke-lab do upload-stemcells [email protected]
@norman-abramovitz
Copy link
Contributor

I am not so sure latest without a major version should work. If we have two or more majors, what does latest actually mean? Which stemcell line do you want the latest of?

@fearoffish
Copy link
Contributor Author

Latest...means the latest xenial stemcell available, surely? The latest major, the latest minor.

@norman-abramovitz
Copy link
Contributor

Then you could end up with alpha or beta releases on future major versions since each major release has its own latest

@dennisjbell
Copy link
Member

Correct -- you must specify the MAJOR, but you can specify the minor as "latest". This is operating as intended. Leaving this open to fix documentation so behaviour is clear.

@dennisjbell dennisjbell added the TYPE: Documentation Documentation incorrect or missing label Aug 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
TYPE: Documentation Documentation incorrect or missing
Projects
None yet
Development

No branches or pull requests

3 participants