-
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
[Change Proposal] Make version optional in package manifests #723
Comments
@jsoriano Shall we ping more packages developers here in order to get feedbacks? |
This issue comes from direct feedback from package developers, and the initial idea would be to make it optional, so if there is some case that requires both versions as now, it will be still supported. Once we have all the pieces to make it optional, I agree with broadening the discussion about removing it in a potential v4. |
Proposal
Make
version
optional in package manifests.Why?
In the vast majority of cases (if not all)
version
is redundant with the latest version in the changelog. Package developers are forced to manually keep these values coherent.This has been reported as a common papercut for contributions in packages, specially for external contributors.
How?
We would make
version
optional in package manifest for backwards compatibility, and maybe remove it in a following major. In the cases where theversion
is not set in the manifest, the version of the package would be just the version at the top of the changelog (assuming it is correctly ordered).elastic-package
could maybe add the version to the manifest in built packages in case it helps on package publication, discovery and so on.We need to assess the changes needed in package spec, elastic package, package registry and fleet.
Take also into account the use cases of the
-next
suffix.Related issues
changelog.yml
files #140The text was updated successfully, but these errors were encountered: