Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 4ED21C43334 for ; Thu, 14 Jul 2022 12:09:20 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 69BC9840D3; Thu, 14 Jul 2022 14:08:39 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.b="i8WVRfRz"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 31CB784094; Thu, 14 Jul 2022 14:08:07 +0200 (CEST) Received: from mail-qv1-xf34.google.com (mail-qv1-xf34.google.com [IPv6:2607:f8b0:4864:20::f34]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id B7C9884071 for ; Thu, 14 Jul 2022 14:07:56 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qv1-xf34.google.com with SMTP id mi10so1269410qvb.1 for ; Thu, 14 Jul 2022 05:07:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=LRcrwy4fFSrJb3S4ZsEK8u7lsY/sRsrvhD2aCH3PDsU=; b=i8WVRfRziOxox81InKYunXT0wfCGr3fyQvSUI8LBrzm9XrD5BKwHGzTeiJPwYcl9qy Yhl3nhCH8MDurWfBZt7hfTLnsWqmrBiy2y5he6fttnbfzSbm5EJvmaYMM0OpKjIvXpzC 8iVzOC/9qlqCj9UTq8YwEsX5+P0auUsaJo+Hw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=LRcrwy4fFSrJb3S4ZsEK8u7lsY/sRsrvhD2aCH3PDsU=; b=JHbuddskh+IuAyRc5Ka6ie/4N1KO2ctaSzWlOaZNBHH6wA2GVpWfxmMeMxiaV3PzH4 FPFmYugWX4XwA4GDVjORXUFkAY2A+gib41Km7ceoinXytbheVj+RM4C6mpDOcqsKm6fL GrfaOMZE/qojfrxka/trvKV6YTO97VcieFVVDL+tPTeCRyJjRknS7TOprH4qOeeE1iU3 IREhHcrRlHyXXHTLlGZ0u15Jr4m09R+XoHnuBitbUxf2if/UobW4Mnm1fbutoT18kVnB qQG0TtAojwEvmW1U1zLHP7nhWztdZ6DU/xV4GfGvaU1yPDmyGClx+MCfJO0BIEdLlWbx yyEw== X-Gm-Message-State: AJIora9YpjauOOZ6n5M7aHfHy5MzGIgUsIKKpYo3QRYt4ddx5+dICQNj +3/9cXmJRs3nX/FvYzvByJKr6oievx5kHA== X-Google-Smtp-Source: AGRyM1vbchQwOZv4SGDC34hMYV8gST8BnzzluyXfcGiqJYnLg9T02eY2Kmaajyh71zPiwOeHiohofA== X-Received: by 2002:a05:6214:400f:b0:473:6406:7c52 with SMTP id kd15-20020a056214400f00b0047364067c52mr7586167qvb.48.1657800474781; Thu, 14 Jul 2022 05:07:54 -0700 (PDT) Received: from bill-the-cat.lan (cpe-65-184-195-139.ec.res.rr.com. [65.184.195.139]) by smtp.gmail.com with ESMTPSA id y1-20020ac81281000000b0031ea53f4c5esm1209602qti.83.2022.07.14.05.07.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Jul 2022 05:07:54 -0700 (PDT) From: Tom Rini To: u-boot@lists.denx.de Cc: Claudius Heine , Martin Bonner , Heinrich Schuchardt Subject: [v3 7/7] process.rst: Modernize the "Workflow of a Custodian" section Date: Thu, 14 Jul 2022 08:07:46 -0400 Message-Id: <20220714120746.1137612-7-trini@konsulko.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220714120746.1137612-1-trini@konsulko.com> References: <20220714120746.1137612-1-trini@konsulko.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean The "Workflow of a Custodian" section on the wiki had not been changed in quite some time to reflect how the process has been functioning for some time. First, update some links to point to modern and current sources of information. Second, and more overarching, reword much of the section. This expands on the expectations of both custodians and developers when it comes to rebasing patches. Rework the final points to be clearer that Custodians are expected to do their best to test the changes and ask for help when needed, as well as that pull requests are expected in a timely manner. Cc: Claudius Heine Cc: Martin Bonner Cc: Heinrich Schuchardt Signed-off-by: Tom Rini --- Changes in v3: - Minor wording fix per Heinrich Changes in v2: - New patch --- doc/develop/process.rst | 88 ++++++++++++++++++++--------------------- 1 file changed, 42 insertions(+), 46 deletions(-) diff --git a/doc/develop/process.rst b/doc/develop/process.rst index d0c46b58f3e9..4ba4bb2d657b 100644 --- a/doc/develop/process.rst +++ b/doc/develop/process.rst @@ -132,16 +132,20 @@ Work flow of a Custodian The normal flow of work in the U-Boot development process will look like this: -#. A developer submits a patch via e-mail to the u-boot-users mailing list. - U-Boot has adopted the `Linux kernel signoff policy `_, so the submitter must - include a ``Signed-off-by:`` line. +#. A developer submits a patch via e-mail to the u-boot mailing list. In + U-Boot, we make use of the `Developer Certificate of Origin + `_ that is common in other projects such + as the Linux kernel. Following this and adding a ``Signed-off-by:`` line + that contains the developer's name and email address is required. -#. Everybody who can is invited to review and test the changes. Reviews should - reply on the mailing list with ``Acked-by`` lines. +#. Everybody who can is invited to review and test the changes. Typically, we + follow the same guidelines as the Linux kernel for `Acked-by + `_ + as well as `Reviewed-by + `_ + and similar additional tags. -#. The responsible custodian - - #. inspects this patch, especially for: +#. The responsible custodian inspects this patch, especially for: #. :doc:`codingstyle` @@ -152,50 +156,42 @@ like this: * The patch does not introduce new problems, especially it does not break other boards or architectures - #. U-Boot Philosophy + #. U-Boot Philosophy, as documented in :doc:`designprinciples`. - #. Applies cleanly to the source tree + #. Applies cleanly to the source tree. The custodian is expected to put in + a "best effort" if a patch does not apply cleanly, but can be made to apply + still. It is up to the custodian to decide how recent of a commit the + patch must be against. It is acceptable to request patches against the + last officially released version of U-Boot or newer. Of course a + custodian can also accept patches against older code. It can be + difficult to find the correct balance between putting too much work on + the custodian or too much work on an individual submitting a patch when + something does not apply cleanly. #. Passes :doc:`ci_testing` as this checks for new warnings and other issues. -#. Notes: - - #. In some cases more than one custodian may be affected or feel responsible. - To avoid duplicated efforts, the custodian who starts processing the - patch should send a short ACK to the mailing list. - - #. We should create some tool to automatically do this. - - #. This is well documented in :doc:`designprinciples`. - - #. The custodian decides themselves how recent the code must be. It is - acceptable to request patches against the last officially released - version of U-Boot or newer. Of course a custodian can also accept - patches against older code. - - #. Commits should show original author in the ``author`` field and include all - sign off/ack lines. - -#. The custodian decides to accept or to reject the patch. - -#. If accepted, the custodian adds the patch to their public git repository and - notifies the mailing list. This note should include: +#. Note that in some cases more than one custodian may feel responsible for a + particular change. To avoid duplicated efforts, the custodian who starts + processing the patch should follow up to the email saying they intend to + pick it up. - * a short description of the changes +#. Commits must show original author in the ``author`` field and include all of + the ``Signed-off-by``, ``Reviewed-by``, etc, tags that have been submitted. - * the list of the affected boards / architectures etc. +#. The final decision to accept or reject a patch comes down to the custodian + in question. - * suggested tests +#. If accepted, the custodian adds the patch to their public git repository. + Ideally, they will also follow up on the mailing list with some notification + that it has been applied. This is not always easy given different custodian + workflows and environments however. - Although the custodian is supposed to perform their own tests - it is a well-known and accepted fact that they needs help from - other developers who - for example - have access to the required - hardware or tool chains. - The custodian request help for tests and feedback from - specific maintainers and U-Boot users. +#. Although a custodian is supposed to perform their own tests it is a + well-known and accepted fact that they needs help from other developers who + - for example - have access to the required hardware or other relevant + environments. Custodians are expected to ask for assistance with testing + when required. -#. Once tests are passed, some agreed time limit expires, the custodian - requests that the changes in their public git repository be merged into the - main tree. If necessary, the custodian may have to adapt their changes to - allow for a clean merge. - Todo: define a reasonable time limit. 3 weeks? +#. Custodians are expected to submit a timely pull request of their git + repository to the main repository. It is strongly encouraged that a CI run + has been completed prior to submission, but not required. -- 2.25.1