-
Notifications
You must be signed in to change notification settings - Fork 72
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
Introduce strict and legacy validation modes #313
Comments
I think we need more fine-grained validation modes, or stricter versioning. Some use cases:
|
Another thing we may need to add is different levels (for things like #316). |
Related elastic/package-storage#1013 |
I think that the changes for Package Spec v2 will cover most of this. The thing that would be pending would be to have the different levels of validation, for this maybe #342 would help. |
Closing this, leaving #342 for the different validation levels. |
As we have started deprecating some properties introduced earlier (for example: release tag), it might be necessary to introduce two validation modes:
Legacy mode
The mode validates all features ever introduced to package spec, so that we can include also deprecated and old packages. We may need it for publishing logic to resign and revalidate all package revisions.
Strict mode
The strict mode focuses only on current features and guards that developers don't use deprecated features accidentally.
Checklist:
The text was updated successfully, but these errors were encountered: