cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eev...@apache.org
Subject svn commit: r898006 - in /incubator/cassandra/trunk/interface: cassandra.thrift gen-java/org/apache/cassandra/service/Constants.java
Date Mon, 11 Jan 2010 19:04:30 GMT
Author: eevans
Date: Mon Jan 11 19:04:29 2010
New Revision: 898006

URL: http://svn.apache.org/viewvc?rev=898006&view=rev
Log:
update interface def for new API versioning policy

Patch by eevans; reviewed by jbellis for CASSANDRA-686

Modified:
    incubator/cassandra/trunk/interface/cassandra.thrift
    incubator/cassandra/trunk/interface/gen-java/org/apache/cassandra/service/Constants.java

Modified: incubator/cassandra/trunk/interface/cassandra.thrift
URL: http://svn.apache.org/viewvc/incubator/cassandra/trunk/interface/cassandra.thrift?rev=898006&r1=898005&r2=898006&view=diff
==============================================================================
--- incubator/cassandra/trunk/interface/cassandra.thrift (original)
+++ incubator/cassandra/trunk/interface/cassandra.thrift Mon Jan 11 19:04:29 2010
@@ -15,6 +15,10 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
+# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+# *** PLEASE REMEMBER TO EDIT THE VERSION CONSTANT WHEN MAKING CHANGES ***
+# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
 #
 # Interface definition for Cassandra Service
 #
@@ -31,17 +35,18 @@
 # Cassandra::Cassandra::Client.
 namespace rb CassandraThrift
 
-
+# The API version (NOT the product version), composed as a dot delimited
+# string with major, minor, and patch level components.
 #
-# constants
+#  - Major: Incremented for backward incompatible changes. An example would
+#           be changes to the number or disposition of method arguments.
+#  - Minor: Incremented for backward compatible changes. An example would
+#           be the addition of a new (optional) method.
+#  - Patch: Incremented for bug fixes. The patch level should be increased
+#           for every edit that doesn't result in a change to major/minor.
 #
-
-# for clients checking that server and it have same thrift definitions.
-# no promises are made other than "if both are equal, you're good."
-# in particular, don't try to parse numeric information out and assume
-# that a "greater" version is a superset of a "smaller" one.
-const string VERSION = "0.5.0-rc2"
-
+# See the Semantic Versioning Specification (SemVer) http://semver.org.
+const string VERSION = "1.0.0"
 
 #
 # data structures

Modified: incubator/cassandra/trunk/interface/gen-java/org/apache/cassandra/service/Constants.java
URL: http://svn.apache.org/viewvc/incubator/cassandra/trunk/interface/gen-java/org/apache/cassandra/service/Constants.java?rev=898006&r1=898005&r2=898006&view=diff
==============================================================================
--- incubator/cassandra/trunk/interface/gen-java/org/apache/cassandra/service/Constants.java
(original)
+++ incubator/cassandra/trunk/interface/gen-java/org/apache/cassandra/service/Constants.java
Mon Jan 11 19:04:29 2010
@@ -21,6 +21,6 @@
 
 public class Constants {
 
-  public static final String VERSION = "0.5.0-rc2";
+  public static final String VERSION = "1.0.0";
 
 }



Mime
View raw message