David Smiley created SOLR-17621:
-----------------------------------

             Summary: SolrVersion lacks version.suffix from the build
                 Key: SOLR-17621
                 URL: https://issues.apache.org/jira/browse/SOLR-17621
             Project: Solr
          Issue Type: Improvement
            Reporter: David Smiley


SolrVersion.LATEST (e.g. "10.0.0") is nice but lacks differentiation for 
snapshot builds or other automated generated suffixes, perhaps produced from 
automatic releases for those with a fork of Solr.  The build has a 
"version.suffix" property for this purpose that's used to compute the Gradle 
"project version".  It makes its way into the JAR manifest (via 
jar-manifest.gradle).  But this info does not at all affect SolrVersion, which 
has a hard-coded version string that the release manager must remember to 
update.  Instead, I think SolrVersion should read the version information from 
the manifest (when available, otherwise assume SNAPSHOT).

SolrVersion may be increasingly important used for Solr clients and servers to 
identify their version to each other.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org
For additional commands, e-mail: issues-h...@solr.apache.org

Reply via email to