-
Notifications
You must be signed in to change notification settings - Fork 608
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
SOLR-15845 SolrVersion class only recording current version, and based on SemVer #472
Conversation
…on constraint for packages
solr/core/src/java/org/apache/solr/packagemanager/RepositoryManager.java
Show resolved
Hide resolved
…ure in PackageManager.
It now updates SolrVersion class correctly, and also has a -l <lucene-version> flag to inject a different lucene-version for luceneMatchVersion
I updated |
@janhoy ... I think the semver code
Specifically, NormalVersion needs to use a Locale here:
|
How do you reproduce this? I see that the semver lib is getting old and there are other alternatives out there. Or we could file a bug there? |
https://issues.apache.org/jira/browse/SOLR-15845
This is the same patch as #469 except instead of the Lucene-style Version class which keeps a record of all previous verions (which it needs for index-file and analysis compatibility checks), this variant just keeps the current Solr version, and has functionality to enforce SemVer versioning and version comparison, based on SemVer dependency.