From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 6B1DCA0547; Wed, 19 May 2021 13:58:56 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 53DAF40041; Wed, 19 May 2021 13:58:56 +0200 (CEST) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mails.dpdk.org (Postfix) with ESMTP id 19A2B4003F for ; Wed, 19 May 2021 13:58:54 +0200 (CEST) IronPort-SDR: ffphk+BPcaIy+DwJDdxRos7wFzAFLV52/MKSOgpbAJBFskpfUtRjy7KKBkQ9wnCT3qA1E6bZ4r qOacT9Wyx1Zg== X-IronPort-AV: E=McAfee;i="6200,9189,9988"; a="264872498" X-IronPort-AV: E=Sophos;i="5.82,312,1613462400"; d="scan'208";a="264872498" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 May 2021 04:58:53 -0700 IronPort-SDR: KKMNd9q0tUwHejZyBQkCpMA8WtaKzHMrz2aA1AAlaKs4QfHEq6/saXUaSPuT5WsEWx5Z/z9MXD kU2UHJ8xFYkQ== X-IronPort-AV: E=Sophos;i="5.82,312,1613462400"; d="scan'208";a="411694536" Received: from fyigit-mobl1.ger.corp.intel.com (HELO [10.213.224.148]) ([10.213.224.148]) by orsmga002-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 May 2021 04:58:52 -0700 To: Thomas Monjalon , dev@dpdk.org Cc: david.marchand@redhat.com, Asaf Penso , John McNamara , Ajit Khaparde References: <1610304247-11455-1-git-send-email-asafp@nvidia.com> <20210518164303.4108310-1-thomas@monjalon.net> From: Ferruh Yigit X-User: ferruhy Message-ID: <4f2c6803-5c20-6583-9439-1db66cbfe5d9@intel.com> Date: Wed, 19 May 2021 12:58:47 +0100 MIME-Version: 1.0 In-Reply-To: <20210518164303.4108310-1-thomas@monjalon.net> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v7] doc: add release milestones definition X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 5/18/2021 5:43 PM, Thomas Monjalon wrote: > From: Asaf Penso > > Adding more information about the release milestones. > This includes the scope of change, expectations, etc. > > Signed-off-by: Asaf Penso > Signed-off-by: Thomas Monjalon > Acked-by: John McNamara > Acked-by: Ajit Khaparde > --- > v2: fix styling format and add content in the commit message > v3: change punctuation and avoid plural form when unneeded > v4: avoid abbreviations, "Priority" in -rc, and reword as John suggests > v5: note that release candidates may vary > v6: merge RFC and proposal deadline, add roadmap link and reduce duplication > v7: make expectations clearer and stricter > --- > doc/guides/contributing/patches.rst | 72 +++++++++++++++++++++++++++++ > 1 file changed, 72 insertions(+) > > diff --git a/doc/guides/contributing/patches.rst b/doc/guides/contributing/patches.rst > index 6dbbd5f8d1..4d70e326c5 100644 > --- a/doc/guides/contributing/patches.rst > +++ b/doc/guides/contributing/patches.rst > @@ -177,6 +177,8 @@ Make your planned changes in the cloned ``dpdk`` repo. Here are some guidelines > * Add documentation, if relevant, in the form of Doxygen comments or a User Guide in RST format. > See the :ref:`Documentation Guidelines `. > > +* Code and related documentation must be updated atomically in the same patch. > + > Once the changes have been made you should commit them to your local repo. > > For small changes, that do not require specific explanations, it is better to keep things together in the > @@ -660,3 +662,73 @@ patch accepted. The general cycle for patch review and acceptance is: > than rework of the original. > * Trivial patches may be merged sooner than described above at the tree committer's > discretion. > + > + > +Milestones definition > +--------------------- > + > +Each DPDK release has milestones that help everyone to converge to the release date. > +The following is a list of these milestones > +together with concrete definitions and expectations, Is the ',' correct here. John may help better. > +for a typical release cycle (3 months ending after 4 release candidates). Can it be better to put explicitly that a regular release cycle takes around 3 months and it mostly has 4 release candidates, instead of giving this shortly within parenthesis? > +The number and expectations of release candidates might vary slightly. > +The schedule is updated in the `roadmap `_. > + > +.. note:: > + Sooner is always better. Deadlines are not ideal dates. > + +1 > + Integration is never guaranteed but everyone can help. > + > +Roadmap > +~~~~~~~ > + > +* Announce new features in libraries, drivers, applications, and examples. Do we need to call out the components, what about "Announce new features for next release." Is it fair to say features announced with a roadmap will get more priority against the features that are not announced? > +* To be published before the first day of the release cycle. > + > +Proposal Deadline Does it have any value to document something like this: release start - proposal deadline: Initial development phase proposal deadline - rc1: review / update / review phase rc1 - release: test / update / test phase > +~~~~~~~~~~~~~~~~~ > + > +* Must send an RFC or a complete v1 patch. The subject is missing, it is developers, but would it be better to say something like: An RFC (Request For Comment) or first version of the implementation must be ready before deadline for the feature to be taken into account for the release. > +* Early RFC gives time for design review before complete implementation. > +* Should include at least the API changes in libraries and applications. Again subject is missing, Implementation should include ... > +* Library code should be quite complete at the deadline. > +* Nice to have: driver implementation (full or draft), example code, and documentation. This is talking about driver/example/documentation update related to a library implementation, right? Otherwise for the standalone driver/example implementation, isn't the target to send them before proposal deadline? > + > +rc1 > +~~~ > + > +* Priority: libraries. No library feature should be accepted after -rc1. > +* New API must be defined and implemented in libraries. Not sure about the value of "defined", why not just "new API must be implemented in libraries". Also I guess it doesn't need to 'new'. Also another big step here is it needs to approved by its maintainers. What about something like: API changes or additions must be implemented and approved by their maintainers. And as we know reviews can be bottleneck perhaps we can add a note on that too, like: Developer should send a reminder for the patches that has not reviewed for more than two weeks. ?? > +* The API must include Doxygen documentation > + and be part of the relevant .rst files (library-specific and release notes). > +* API should be used in a test application (``/app``). > +* At least one PMD should implement the API. > + It may be a draft sent in a separate series. Above 2/3 bullets are the conditions for a feature to be merged, it is not directly related to the milestone, should we have separate section to document the expectation to upstream a new API? > +* The above should be sent to the mailing list at least 2 weeks before -rc1. > +* Nice to have: example code (``/examples``) > + I think we should mention that we expect test result from community after -rc1, if this is to document the process. > +rc2 > +~~~ > + > +* Priority: drivers. No driver feature should be accepted after -rc2. > +* A driver change must include documentation > + in the relevant .rst files (driver-specific and release notes). > +* The above should be sent to the mailing list at least 2 weeks before -rc2. > + I think testing and fixing issues found in the -rc1 is the big focus of the -rc2. But we don't mention of the testing at all. Again I guess this is based on the confusion if these descriptions define process or todo list for the developers. > +rc3 > +~~~ > + > +* Priority: applications. No application feature should be accepted after -rc3. > +* New functionality that does not depend on libraries update > + can be integrated as part of -rc3. > +* The application change must include documentation in the relevant .rst files > + (application-specific and release notes if significant). > +* Libraries and drivers cleanup are allowed. > +* Small driver reworks. > +* Critical and minor bug fixes. Can this cause misunderstanding that fixes are merged for -rc3 (after -rc2)? Can we highlight that fixes can be sent and merged anytime until -rc4, only after -rc4 there is a restriction and only critical fixes are accepted? > + > +rc4 > +~~~ > + > +* Documentation updates. > +* Critical bug fixes. >