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

Remove unwanted unreleased versions #1877

Merged
merged 1 commit into from
Jan 11, 2022
Merged

Remove unwanted unreleased versions #1877

merged 1 commit into from
Jan 11, 2022

Conversation

adnapibar
Copy link
Contributor

Description

Latest release is 1.2.3
Hence, only last major (2.0.0), last minor(1.3.0) and (1.2.4) can be unreleased

Issues Resolved

Resolves #1855

Check List

  • All tests pass
  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Signed-off-by: Rabi Panda adnapibar@gmail.com

Only last major (2.0.0), last minor(1.3.0) and (1.2.4) can be unreleased

Signed-off-by: Rabi Panda <adnapibar@gmail.com>
@adnapibar adnapibar added bug Something isn't working :test Adding or fixing a test backwards-compatibility labels Jan 11, 2022
@adnapibar adnapibar requested a review from a team as a code owner January 11, 2022 05:03
@opensearch-ci-bot
Copy link
Collaborator

Can one of the admins verify this patch?

@opensearch-ci-bot
Copy link
Collaborator

✅   Gradle Check success 2c9c363
Log 1845

Reports 1845

@dblock dblock merged commit 40442aa into opensearch-project:main Jan 11, 2022
@@ -71,9 +71,7 @@
public static final Version V_EMPTY = new Version(V_EMPTY_ID, org.apache.lucene.util.Version.LATEST);

public static final Version V_1_0_0 = new Version(1000099, org.apache.lucene.util.Version.LUCENE_8_8_2);
public static final Version V_1_0_1 = new Version(1000199, org.apache.lucene.util.Version.LUCENE_8_8_2);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I missed that :(

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dblock should we bring it back? I could PR it shortly

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's let @adnapibar do it? :)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sorry about that, I'll add that back
I removed based on ./gradlew verifyVersions which will start failing once we add the version back.
And this is because we didn't release 1.0.1 to maven (https://repo1.maven.org/maven2/org/opensearch/opensearch/maven-metadata.xml) @dblock do you know if there was a reason why we didn't publish this version to maven?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There were no changes in core for 1.0.1, see https://github.com/opensearch-project/opensearch-build/blob/main/release-notes/opensearch-release-notes-1.0.1.md, so there are no new maven artifacts. Maybe we did the right thing in removing it from here then?

Copy link
Collaborator

@reta reta Jan 11, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh right, I remember that, so we did distribution 1.0.1 (plugin changes?) but kept core to 1.0.0, it was very confusing indeed, @adnapibar @dblock I think we are fine here, the Opensearch server should never return 1.0.1 as its version.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes I would think so, if there is no OpenSearch (core) 1.0.1 which is not in Maven then it doesn't make sense to include it as a released version. The reason we keep track of released versions is for backwards compatibility and 1.0.1 is same as 1.0.0.

@adnapibar adnapibar deleted the remove-unreleased-versions branch November 18, 2022 22:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backwards-compatibility bug Something isn't working :test Adding or fixing a test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] ./gradlew bwcTest is broken
4 participants