From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id D5EE41B1B0; Tue, 9 Jan 2018 16:44:06 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 09 Jan 2018 07:44:05 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.46,336,1511856000"; d="scan'208";a="19569602" Received: from silpixa00372839.ir.intel.com (HELO silpixa00372839.ger.corp.intel.com) ([10.237.222.154]) by fmsmga004.fm.intel.com with ESMTP; 09 Jan 2018 07:44:04 -0800 From: Ferruh Yigit To: Ferruh Yigit , John McNamara , Marko Kovacevic Cc: dev@dpdk.org, techboard@dpdk.org Date: Tue, 9 Jan 2018 15:44:02 +0000 Message-Id: <20180109154402.85731-1-ferruh.yigit@intel.com> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20171121195905.66410-1-ferruh.yigit@intel.com> References: <20171121195905.66410-1-ferruh.yigit@intel.com> Subject: [dpdk-dev] [PATCH v2] doc: update contribution guideline for dependent work X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Jan 2018 15:44:07 -0000 Changing some part of the libraries but not updating all dependent code cause maintenance problems. The update in the contribution guide practically suggest updating all dependent code. With the counter argument that sometimes it is not possible to know details of the dependent code and this prevents improvements, an exception left for the cases dependent code requires special expertise, for those cases it is possible left dependent code unchanged with the condition to not break the existing code. The dependent code maintainer should do the required update later. For the cases it is possible to update the dependent code but it requires extra work, it is expected from author of the original patch to do that extra work and update dependencies. Signed-off-by: Ferruh Yigit Acked-by: John McNamara --- This is a process related update, cc'ing tech board for more comment. Cc: techboard@dpdk.org v2: reworded as suggested. --- doc/guides/contributing/patches.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/guides/contributing/patches.rst b/doc/guides/contributing/patches.rst index 64408e788..6ed43be04 100644 --- a/doc/guides/contributing/patches.rst +++ b/doc/guides/contributing/patches.rst @@ -153,6 +153,9 @@ Make your planned changes in the cloned ``dpdk`` repo. Here are some guidelines * Don't break compilation between commits with forward dependencies in a patchset. Each commit should compile on its own to allow for ``git bisect`` and continuous integration testing. +* If changes effect other parts of the project, update all those parts as well unless updating requires special knowledge. + For the cases where not all the effected code is updated, the submitter should ensure that changes don't break existing code. + * Add tests to the the ``app/test`` unit test framework where possible. * Add documentation, if relevant, in the form of Doxygen comments or a User Guide in RST format. -- 2.14.3