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

Invalid version 2.0.0-RC1 uploaded to Supermarket #12

Closed
robbkidd opened this issue Jan 16, 2018 · 1 comment
Closed

Invalid version 2.0.0-RC1 uploaded to Supermarket #12

robbkidd opened this issue Jan 16, 2018 · 1 comment

Comments

@robbkidd
Copy link

Hello, @wiiitek! We've seen the errors you were probably seeing after uploading version 2.0.0-RC1 of this cookbook to the public Supermarket.

Cookbook metadata does not support appending more characters after the numerics. Cookbook versions must be either X.Y or X.Y.Z. I see that the version in metadata.rb at the current master is 2.0.0 which is valid. The best option I can think of at the moment to get you unstuck is for us (Supermarket admins) to delete the 2.0.0-RC1 version from the Supermarket. You could then upload version 2.0.0 from your master branch.

Obviously this is a a failing in the chain of tools that should have warned you of this version format constraint before accepting your uploaded cookbook. I'll be adding an issue to our backlog to provide a better failure error at upload time instead of allowing an invalid version to be added to the system.

You can find me on the Chef Community Slack if you would like to talk about this faster than over a GitHub issue!

@wiiitek
Copy link
Collaborator

wiiitek commented Jan 16, 2018

Thank you @robbkidd and also thank you for the Email you've sent.
I will upload the correct version (2.0.0) tommorow.

Closing this issue as the failing version was removed from Supermarket.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants