-
Notifications
You must be signed in to change notification settings - Fork 278
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
[PROPOSAL] Vary build numbers for every build #1461
Comments
Policy / procedure question related to this: is it okay for the current build number to be different for various distribution artifacts at any point in time? Or should there be an expectation that they all match. Now that I type it out, I think that as an administrator I would prefer the former: I don't want to be prompted to update my docker image because an update to the windows installer was released. But if the build numbers vary, will users be concerned that anything they're running with a less-than-highest build number isn't 'current'? |
Haven't we already done this once with 1.0.1 that didn't release a new OpenSearch-min (remained at 1.0.0)? In this issue we're just generalizing this slightly, but whichever way we cut it, if we released distribution 1.2.3.A, then distribution 1.2.3.B is effectively a new release. |
Two things:
|
Regarding the Also, SemVer is focused on solving the issue of dependency resolution. When it comes to precedence, the OpenSearch maintainers will perform this resolution. It happens via both:
By the way, I created a different proposal which may have some impact on this particular discussion in #1621. |
@zelinh @peterzhuamazon Can you please update this issue with the current status? |
@zelinh @peterzhuamazon @prudhvigodithi Can you please update this issue with the current status? |
We have build number after docker tags right now. |
Is your feature request related to a problem? Please describe
Currently there's no way to distinguish between two builds of OpenSearch or OpenSearch Dashboards during development by looking at their version number, nor is there a way to introduce a new build when the build changes, but the semantics don't (e.g. as a result of #1130). This makes it difficult to release a new version where binaries are identical but the way we package them together, or the container itself, have changed.
Describe the solution you'd like
Introduce a build number. This number can be, for example, date/time-based (e.g.
202201131018
), a random serial number, or a sequential number from the build system. The complete version number would be1.2.4+202201131018
or1.2.4.202201131018
if we wanted to replace the last digit with this number. Every time anything is rebuilt, it gets a new build number, without affecting the major/minor/patch parts of it.The text was updated successfully, but these errors were encountered: