cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zzn...@apache.org
Subject cassandra git commit: Documentation updates per CASSANDRA-12906
Date Mon, 27 Feb 2017 23:21:37 GMT
Repository: cassandra
Updated Branches:
  refs/heads/trunk 8bfa82769 -> 57f5e3671


Documentation updates per CASSANDRA-12906

Patch by Ben Slater; reviewed by Nate McCall


Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/57f5e367
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/57f5e367
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/57f5e367

Branch: refs/heads/trunk
Commit: 57f5e36713e8d6b5f67022f53439e0d458790469
Parents: 8bfa827
Author: Ben Slater <ben.slater@instaclustr.com>
Authored: Thu Nov 17 14:59:35 2016 +1100
Committer: Nate McCall <zznate.m@gmail.com>
Committed: Tue Feb 28 12:18:48 2017 +1300

----------------------------------------------------------------------
 doc/source/development/gettingstarted.rst | 60 ++++++++++++++++++++++++++
 doc/source/development/how_to_review.rst  |  2 +
 doc/source/development/index.rst          |  5 ++-
 doc/source/development/patches.rst        |  1 +
 doc/source/development/testing.rst        |  1 +
 5 files changed, 67 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/57f5e367/doc/source/development/gettingstarted.rst
----------------------------------------------------------------------
diff --git a/doc/source/development/gettingstarted.rst b/doc/source/development/gettingstarted.rst
new file mode 100644
index 0000000..b5005ab
--- /dev/null
+++ b/doc/source/development/gettingstarted.rst
@@ -0,0 +1,60 @@
+.. Licensed to the Apache Software Foundation (ASF) under one
+.. or more contributor license agreements.  See the NOTICE file
+.. distributed with this work for additional information
+.. regarding copyright ownership.  The ASF licenses this file
+.. to you under the Apache License, Version 2.0 (the
+.. "License"); you may not use this file except in compliance
+.. with the License.  You may obtain a copy of the License at
+..
+..     http://www.apache.org/licenses/LICENSE-2.0
+..
+.. Unless required by applicable law or agreed to in writing, software
+.. distributed under the License is distributed on an "AS IS" BASIS,
+.. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+.. See the License for the specific language governing permissions and
+.. limitations under the License.
+
+.. highlight:: none
+..  _gettingstarted:
+
+Getting Started
+*************************
+
+Initial Contributions
+========================
+
+Writing a new feature is just one way to contribute to the Cassandra project.  In fact, making
sure that supporting tasks, such as QA, documentation and helping users, keep up with the
development of new features is an ongoing challenge for the project (and most open source
projects). So, before firing up your IDE to create that new feature, we'd suggest you consider
some of the following activities as a way of introducing yourself to the project and getting
to know how things work.
+ * Add to or update the documentation
+ * Answer questions on the user list
+ * Review and test a submitted patch
+ * Investigate and fix a reported bug
+ * Create unit tests and d-tests
+
+Updating documentation
+========================
+
+The Cassandra documentation is maintained in the Cassandra source repository along with the
Cassandra code base. To submit changes to the documentation, follow the standard process for
submitting a patch (:ref:`patches`).
+
+Answering questions on the user list
+========================
+
+Subscribe to the user list, look out for some questions you know the answer to and reply
with an answer. Simple as that!
+See the `community <http://cassandra.apache.org/community/>`_ page for details on how
to subscribe to the mailing list.
+
+Reviewing and testing a submitted patch
+========================
+
+Reviewing patches is not the sole domain of committers, if others have reviewed a patch it
can reduce the load on the committers allowing them to write more great features or review
more patches. Follow the instructions in :ref:`_development_how_to_review` or create a build
with the patch and test it with your own workload. Add a comment to the JIRA ticket to let
others know what you have done and the results of your work. (For example, "I tested this
performance enhacement on our application's standard production load test and found a 3% improvement.")
+
+Investigate and/or fix a reported bug
+========================
+
+Often, the hardest work in fixing a bug is reproducing it. Even if you don't have the knowledge
to produce a fix, figuring out a way to reliable reproduce an issues can be a massive contribution
to getting a bug fixed. Document your method of reproduction in a JIRA comment or, better
yet, produce an automated test that reproduces the issue and attach it to the ticket. If you
go as far as producing a fix, follow the process for submitting a patch (:ref:`patches`).
+
+Create unit tests and Dtests
+========================
+
+Test coverage in Cassandra is improving but, as with most code bases, it could benefit from
more automated test coverage. Before starting work in an area, consider reviewing and enhancing
the existing test coverage. This will both improve your knowledge of the code before you start
on an enhancement and reduce the chances of your change in introducing new issues. See :ref:`testing`
and :ref:`patches` for more detail.
+
+
+

http://git-wip-us.apache.org/repos/asf/cassandra/blob/57f5e367/doc/source/development/how_to_review.rst
----------------------------------------------------------------------
diff --git a/doc/source/development/how_to_review.rst b/doc/source/development/how_to_review.rst
index dc97743..4778b69 100644
--- a/doc/source/development/how_to_review.rst
+++ b/doc/source/development/how_to_review.rst
@@ -14,6 +14,8 @@
 .. See the License for the specific language governing permissions and
 .. limitations under the License.
 
+..  _how_to_review:
+
 Review Checklist
 ****************
 

http://git-wip-us.apache.org/repos/asf/cassandra/blob/57f5e367/doc/source/development/index.rst
----------------------------------------------------------------------
diff --git a/doc/source/development/index.rst b/doc/source/development/index.rst
index aefc599..b2169e4 100644
--- a/doc/source/development/index.rst
+++ b/doc/source/development/index.rst
@@ -14,12 +14,13 @@
 .. See the License for the specific language governing permissions and
 .. limitations under the License.
 
-Cassandra Development
-*********************
+Contributing to Cassandra
+*************************
 
 .. toctree::
    :maxdepth: 2
 
+   gettingstarted
    ide
    testing
    patches

http://git-wip-us.apache.org/repos/asf/cassandra/blob/57f5e367/doc/source/development/patches.rst
----------------------------------------------------------------------
diff --git a/doc/source/development/patches.rst b/doc/source/development/patches.rst
index e3d968f..d3dd198 100644
--- a/doc/source/development/patches.rst
+++ b/doc/source/development/patches.rst
@@ -15,6 +15,7 @@
 .. limitations under the License.
 
 .. highlight:: none
+.. _patches:
 
 Contributing Code Changes
 *************************

http://git-wip-us.apache.org/repos/asf/cassandra/blob/57f5e367/doc/source/development/testing.rst
----------------------------------------------------------------------
diff --git a/doc/source/development/testing.rst b/doc/source/development/testing.rst
index eac336a..f95ec1d 100644
--- a/doc/source/development/testing.rst
+++ b/doc/source/development/testing.rst
@@ -15,6 +15,7 @@
 .. limitations under the License.
 
 .. highlight:: none
+..  _testing:
 
 Testing
 *******


Mime
View raw message