-
Notifications
You must be signed in to change notification settings - Fork 601
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
Make default Hazelcast version, last released version (i.e. not SNAPSHOT
).
#636
Make default Hazelcast version, last released version (i.e. not SNAPSHOT
).
#636
Conversation
`SNAPSHOT`). [`SNAPSHOT` Hazelcast builds are no longer publically accessible](https://hazelcast.atlassian.net/browse/DI-100), which leads to build failures as `code-samples` relies on these versions. It makes more sense for examples of how to use Hazelcast to be backed by production-quality dependencies, i.e. a released version. As such, downgraded to the latest released version of Hazelcast - will be kept up-to-date via [Dependabot](hazelcast#574). [Slack discussion](https://hazelcast.slack.com/archives/C05LM8B80UT/p1716380405098929)
FYI... I have made some changes under https://github.com/hazelcast/hazelcast-pipeline-library/pull/249 to support However, I just tested code-samples locally and it fails if I am just highlighting here as the use of SNAPSHOT (in code-samples and deployment) is still an open question. If we decide to use last release in code-samples, then I will need to fix above Then the questions arises whether we need this PR to auto-update |
I disagree. If somebody wants to use some certain version of Hazelcast for code samples they should use related tag (for example https://github.com/hazelcast/hazelcast-code-samples/blob/v5.4.0/pom.xml#L19). If somebody decides to use If we will use latest released Hazelcast version for code samples (instead of SNAPSHOT) it also means we cannot add a code samples for the new features from Hazelcast I think that if latest SNAPSHOT is no longer publicly available then proper solution is to build Hazelcast locally (from |
The problem (I think) is that the default branch is While you can use a tag to specify your targeted version (e.g. as per the docs), I don't think that's how any references to
We can, for EE features (as there is still a
That would work for the PR builder (at the expense of execution time), but it wouldn't help new users. One of my personal bugbears is when you try to evaluate a product and the samples/tutorial etc doesn't work out-of-the-box. And the fact that I got my first ever application running with Hazelcast in minutes was very nice. |
In hazelcast#636, the Hazelcast version was downgraded from `5.5.0-SNAPSHOT` to `5.4.0` - but the config files' schemas are still referencing `5.5`.
[`SNAPSHOT` Hazelcast builds are no longer publicly accessible](https://hazelcast.atlassian.net/browse/DI-100), which leads to build failures - `code-samples` uses OS `5.5.0-SNAPSHOT` which isn't accessible. This artefact isn't required and instead be can be removed - only EE needs to be `5.5.0-SNAPSHOT`. Follow on from #636. [Slack discussion](https://hazelcast.slack.com/archives/C07066ELRRD/p1719998723582069)
) In #636, the Hazelcast version was downgraded from `5.5.0-SNAPSHOT` to `5.4.0` - but the config files' schemas are still referencing `5.5`. Unlike #636, these versions will not be upgraded by either Dependabot or the release pipeline. This isn't great, but - for code-samples at least - there is no effect of an outdated (but still valid, released) schema version.
…ot `SNAPSHOT`). (hazelcast#636)" This reverts commit aaf3fbf.
SNAPSHOT
Hazelcast builds are no longer publicly accessible, which leads to build failures ascode-samples
relies onSNAPSHOT
s since virtually the beginning.It makes more sense for examples of how to use Hazelcast to be backed by production-quality dependencies, i.e. a released version.
As such, downgraded to the latest released version of Hazelcast - will be kept up-to-date via Dependabot.
Slack discussion