DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] doc: update contribution guideline for dependent work
@ 2017-11-21 19:59 Ferruh Yigit
  2017-12-11 14:26 ` Mcnamara, John
  2018-01-09 15:44 ` [dpdk-dev] [PATCH v2] " Ferruh Yigit
  0 siblings, 2 replies; 11+ messages in thread
From: Ferruh Yigit @ 2017-11-21 19:59 UTC (permalink / raw)
  To: Thomas Monjalon, John McNamara; +Cc: dev, Ferruh Yigit, techboard

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 <ferruh.yigit@intel.com>

---
This is a process related update, cc'ing tech board for more comment.
Cc: techboard@dpdk.org
---
 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 40983c150..7effe3fa5 100644
--- a/doc/guides/contributing/patches.rst
+++ b/doc/guides/contributing/patches.rst
@@ -130,6 +130,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 not all effected code updated, 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.13.6

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2019-04-05 15:02 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-21 19:59 [dpdk-dev] [PATCH] doc: update contribution guideline for dependent work Ferruh Yigit
2017-12-11 14:26 ` Mcnamara, John
2017-12-12 15:54   ` [dpdk-dev] [dpdk-techboard] " Olivier MATZ
2017-12-12 18:57     ` Ferruh Yigit
2017-12-13  8:55       ` Olivier MATZ
2018-01-09 15:44 ` [dpdk-dev] [PATCH v2] " Ferruh Yigit
2018-05-24 16:58   ` Thomas Monjalon
2019-04-05 15:00     ` Ferruh Yigit
2019-04-05 15:00       ` Ferruh Yigit
2019-04-05 15:02       ` [dpdk-dev] [dpdk-techboard] " Ferruh Yigit
2019-04-05 15:02         ` Ferruh Yigit

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).