Return-Path: X-Original-To: apmail-hadoop-common-commits-archive@www.apache.org Delivered-To: apmail-hadoop-common-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C61DB1037C for ; Thu, 4 Dec 2014 17:29:30 +0000 (UTC) Received: (qmail 16692 invoked by uid 500); 4 Dec 2014 17:29:30 -0000 Delivered-To: apmail-hadoop-common-commits-archive@hadoop.apache.org Received: (qmail 16627 invoked by uid 500); 4 Dec 2014 17:29:30 -0000 Mailing-List: contact common-commits-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-dev@hadoop.apache.org Delivered-To: mailing list common-commits@hadoop.apache.org Received: (qmail 16618 invoked by uid 500); 4 Dec 2014 17:29:30 -0000 Delivered-To: apmail-hadoop-core-commits@hadoop.apache.org Received: (qmail 16614 invoked by uid 99); 4 Dec 2014 17:29:30 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Dec 2014 17:29:30 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.131] (HELO eos.apache.org) (140.211.11.131) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Dec 2014 17:29:08 +0000 Received: from eos.apache.org (localhost [127.0.0.1]) by eos.apache.org (Postfix) with ESMTP id DB5DE7EF; Thu, 4 Dec 2014 17:28:36 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable From: Apache Wiki To: Apache Wiki Date: Thu, 04 Dec 2014 17:28:36 -0000 Message-ID: <20141204172836.84297.90497@eos.apache.org> Subject: =?utf-8?q?=5BHadoop_Wiki=5D_Update_of_=22HowToContribute=22_by_YongjunZha?= =?utf-8?q?ng?= Auto-Submitted: auto-generated X-Virus-Checked: Checked by ClamAV on apache.org Dear Wiki user, You have subscribed to a wiki page or wiki category on "Hadoop Wiki" for ch= ange notification. The "HowToContribute" page has been changed by YongjunZhang: https://wiki.apache.org/hadoop/HowToContribute?action=3Ddiff&rev1=3D102&rev= 2=3D103 = =3D=3D=3D=3D Naming your patch =3D=3D=3D=3D = - Patches for trunk should be named according to the Jira, with a version n= umber: '''jira-xyz.abc.patch''', eg hdfs-1234.001.patch. + Patches for trunk should be named according to the Jira, with a version n= umber: '''..patch''', e.g. HADOOP-1234.001.patch, HDF= S-4321.002.patch. = - Patches for a non-trunk branch should be named '''jira-xyz-branch.abc.pat= ch''', eg hdfs-1234-branch-0.23.003.patch. The branch name suffix should b= e the exact name of a Subversion branch under hadoop/common/branches/, such= as "branch-0.23". Please note that the Jenkins pre-commit build is only ru= n against trunk. + Patches for a non-trunk branch should be named '''-= ..patch''', e.g. HDFS-1234-branch-0.23.003.patch. The branch n= ame suffix should be the exact name of a Subversion branch under hadoop/com= mon/branches/, such as "branch-0.23". Please note that the Jenkins pre-comm= it build is only run against trunk. = - It's also OK to upload a new patch to Jira with the same name as an exist= ing patch. If you select the "Activity>All" tab then the different versions= are linked in the comment stream, providing context. However, many reviewe= rs find the three-digit version number convenient, so including a version n= umber is the preferred style. + It's also OK to upload a new patch to Jira with the same name as an exist= ing patch. If you select the "Activity>All" tab then the different versions= are linked in the comment stream, providing context. However, many reviewe= rs find it helpful to include a version number in the patch name (three-dig= it version number is recommended), '''so including a version number is the = preferred style'''. = =3D=3D=3D Testing your patch =3D=3D=3D Before submitting your patch, you are encouraged to run the same tools th= at the automated Jenkins patch test system will run on your patch. This en= ables you to fix problems with your patch before you submit it. The {{{dev-= support/test-patch.sh}}} script in the trunk directory will run your patch = through the same checks that Hudson currently does ''except'' for executing= the unit tests.