All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Nicolas Dechesne" <nicolas.dechesne@linaro.org>
To: Paul Barker <pbarker@konsulko.com>
Cc: YP docs mailing list <docs@lists.yoctoproject.org>
Subject: Re: [docs] [PATCH v2 7/9] dev-manual-common-tasks: Describe how to propose changes to stable branches
Date: Wed, 18 Nov 2020 12:39:11 +0100	[thread overview]
Message-ID: <CAP71WjwC1C2W7SyCZc5R=5Kr-7wn=GQWJGkdp+fn7kvNn0Fubw@mail.gmail.com> (raw)
In-Reply-To: <20201118100705.3656-7-pbarker@konsulko.com>

On Wed, Nov 18, 2020 at 11:07 AM Paul Barker <pbarker@konsulko.com> wrote:
>
> The documentation on submitting changes to the project should cover the
> ways in which the process differs for stable branches. These changes add
> a brief description of the typical policy for handling changes to stable
> branches and give some steps to follow when proposing changes to these
> branches. The information is based on my personal experience and on the
> existing content of the "How to submit a patch to OpenEmbedded" page on
> the OE wiki.
>
> Signed-off-by: Paul Barker <pbarker@konsulko.com>
> ---
>  .../dev-manual/dev-manual-common-tasks.rst    | 57 +++++++++++++++++++
>  1 file changed, 57 insertions(+)
>
> diff --git a/documentation/dev-manual/dev-manual-common-tasks.rst b/documentation/dev-manual/dev-manual-common-tasks.rst
> index 61e66f464..700c60ab2 100644
> --- a/documentation/dev-manual/dev-manual-common-tasks.rst
> +++ b/documentation/dev-manual/dev-manual-common-tasks.rst
> @@ -11003,6 +11003,63 @@ Lastly please ensure that you also test your revised changes. In particular
>  please don't just edit the patch file written out by ``git format-patch`` and
>  resend it.
>
> +Submitting Changes to Stable Release Branches
> +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> +
> +The process for proposing changes to a Yocto Project stable branch differs
> +from the steps described above. Changes to a stable branch must address
> +identified bugs or CVEs and should be made carefully in order to avoid the
> +risk of introducing new bugs or breaking backwards compatibility. Typically
> +bug fixes must already be accepted into the master branch before they can be
> +backported to a stable branch unless the bug in question does not affect the
> +master branch or the fix on the master branch is unsuitable for backporting.
> +
> +The list of stable branches along with the status and maintainer for each
> +branch can be obtained from the
> +:yocto_wiki:`Releases wiki page </wiki/Releases>`.
> +
> +.. note::
> +
> +   Changes will not typically be accepted for branches which are marked as
> +   End-Of-Life (EOL).
> +
> +With this in mind, the steps to submit a change for a stable branch are as
> +follows:
> +
> +1. *Identify the bug or CVE to be fixed:* This information should be
> +   collected so that it can be included in your submission.
> +
> +2. *Check if the fix is already present in the master branch:* This will
> +   result in the most straightforward path into the stable branch for the
> +   fix.
> +
> +   a. *If the fix is present in the master branch - Submit a backport request
> +      by email:* You should send an email to the relevant stable branch
> +      maintainer and the mailing list with details of the bug or CVE to be
> +      fixed, the commit hash on the master branch that fixes the issue and
> +      the stable branches which you would like this fix to be backported to.
> +
> +   b. *If the fix is not present in the master branch - Submit the fix to the
> +      master branch first:* This will ensure that the fix passes through the
> +      project's usual patch review and test processes before being accepted.
> +      It will also ensure that bugs are not left unresolved in the master
> +      branch itself. Once the fix is accepted in the master branch a backport
> +      request can be submitted as above.
> +
> +   c. *If the fix is unsuitable for the master branch - Submit a patch
> +      directly for the stable branch:* This method should be considered as a
> +      last resort. It is typically necessary when the master branch is using
> +      a newer version of the software which includes an upstream fix for the
> +      issue or when the issue has been fixed on the master branch in a way
> +      that introduces backwards incompatible changes. In this case follow the
> +      steps in :ref:`preparing-changes-for-submissions` and
> +      :ref:`submitting-a-patch` but modify the subject header of your patch
> +      email to include the name of the stable branch which you are
> +      targetting. This can be done using the ``--subject-prefix`` argument to
> +      ``git format-patch``, for example to submit a patch to the dunfell
> +      branch use
> +      ``git format-patch --subject-prefix='&DISTRO_NAME_NO_CAP_MINUS_ONE;][PATCH' ...``.

looks like we really need DISTRO_NAME_NO_CAP_LTS!

> +
>  Working With Licenses
>  =====================
>
> --
> 2.20.1
>
>
> 
>

  reply	other threads:[~2020-11-18 11:39 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-18 10:06 [PATCH v2 1/9] conf.py: Add oe_git directive Paul Barker
2020-11-18 10:06 ` [PATCH v2 2/9] dev-manual-common-tasks: Fix refs to testing branches Paul Barker
2020-11-18 11:23   ` [docs] " Nicolas Dechesne
2020-11-20 12:12     ` Paul Barker
2020-11-23 15:39     ` Paul Barker
2020-11-23 16:00       ` Nicolas Dechesne
2020-11-23 16:05         ` Quentin Schulz
2020-11-23 16:07         ` Paul Barker
2020-11-23 16:58           ` Nicolas Dechesne
2020-11-23 17:46             ` Paul Barker
2020-11-18 10:06 ` [PATCH v2 3/9] dev-manual-common-tasks: Update & move patchwork reference Paul Barker
2020-11-18 10:07 ` [PATCH v2 4/9] dev-manual-common-tasks: Tidy up patch submission process Paul Barker
2020-11-18 10:07 ` [PATCH v2 5/9] dev-manual-common-tasks: Describe git-send-email accurately Paul Barker
2020-11-18 10:07 ` [PATCH v2 6/9] dev-manual-common-tasks: Describe how to handle patch feedback Paul Barker
2020-11-18 10:07 ` [PATCH v2 7/9] dev-manual-common-tasks: Describe how to propose changes to stable branches Paul Barker
2020-11-18 11:39   ` Nicolas Dechesne [this message]
2020-11-18 10:07 ` [PATCH v2 8/9] dev-manual-common-tasks: Re-order patch submission instructions Paul Barker
2020-11-18 10:07 ` [PATCH v2 9/9] documentation/README: Refer to top-level README for contributions Paul Barker
2020-11-18 11:42 ` [docs] [PATCH v2 1/9] conf.py: Add oe_git directive Nicolas Dechesne
2020-11-18 14:39   ` Quentin Schulz
2020-11-18 14:52     ` Nicolas Dechesne

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAP71WjwC1C2W7SyCZc5R=5Kr-7wn=GQWJGkdp+fn7kvNn0Fubw@mail.gmail.com' \
    --to=nicolas.dechesne@linaro.org \
    --cc=docs@lists.yoctoproject.org \
    --cc=pbarker@konsulko.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.