qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Thomas Huth <thuth@redhat.com>
To: Michael Tokarev <mjt@tls.msk.ru>, qemu-devel@nongnu.org
Cc: qemu-stable@nongnu.org, "Alex Bennée" <alex.bennee@linaro.org>,
	"Philippe Mathieu-Daudé" <philmd@linaro.org>
Subject: Re: [PATCH for stable-7.2 only] gitlab-ci: check-dco.py: switch from master to stable-7.2 branch
Date: Mon, 11 Sep 2023 08:06:42 +0200	[thread overview]
Message-ID: <cd09ca4b-b0a6-c8f4-a752-b3494cffa2b8@redhat.com> (raw)
In-Reply-To: <20230910073009.2714174-1-mjt@tls.msk.ru>

On 10/09/2023 09.30, Michael Tokarev wrote:
> There's one commit, tagged v7.2.2, without Signed-off-by line.
> Due to this, check-dco test always fail on 7.2.  Since this is
> a stable branch with almost all commits coming from master
> already with S-o-b (except of the version bumps and very rare
> stable-specific commits), and v7.2.2 is already cast in stone,
> let's base the check on stable-7.2 branch (with its last version)
> instead of master branch.  This way, staging-7.2 will be checked
> against stable-7.2, but stable-7.2 itself will not be checked
> anymore, - so we can catch errors during stable preparations.
> 
> Note: this is a change specific to stable-7.2 branch/series, it
> is not supposed to be in master.
> 
> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
> ---
>   .gitlab-ci.d/check-dco.py | 6 +++---
>   1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/.gitlab-ci.d/check-dco.py b/.gitlab-ci.d/check-dco.py
> index 632c8bcce8..b929571eed 100755
> --- a/.gitlab-ci.d/check-dco.py
> +++ b/.gitlab-ci.d/check-dco.py
> @@ -20,12 +20,12 @@
>   repourl = "https://gitlab.com/%s/%s.git" % (namespace, reponame)
>   
>   subprocess.check_call(["git", "remote", "add", "check-dco", repourl])
> -subprocess.check_call(["git", "fetch", "check-dco", "master"],
> +subprocess.check_call(["git", "fetch", "check-dco", "stable-7.2"],
>                         stdout=subprocess.DEVNULL,
>                         stderr=subprocess.DEVNULL)
>   
>   ancestor = subprocess.check_output(["git", "merge-base",
> -                                    "check-dco/master", "HEAD"],
> +                                    "check-dco/stable-7.2", "HEAD"],
>                                      universal_newlines=True)
>   
>   ancestor = ancestor.strip()
> @@ -85,7 +85,7 @@
>   
>   To bulk update all commits on current branch "git rebase" can be used:
>   
> -  git rebase -i master -x 'git commit --amend --no-edit -s'
> +  git rebase -i stable-7.2 -x 'git commit --amend --no-edit -s'
>   
>   """)
>   

Reviewed-by: Thomas Huth <thuth@redhat.com>



      reply	other threads:[~2023-09-11  6:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-10  7:30 [PATCH for stable-7.2 only] gitlab-ci: check-dco.py: switch from master to stable-7.2 branch Michael Tokarev
2023-09-11  6:06 ` Thomas Huth [this message]

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=cd09ca4b-b0a6-c8f4-a752-b3494cffa2b8@redhat.com \
    --to=thuth@redhat.com \
    --cc=alex.bennee@linaro.org \
    --cc=mjt@tls.msk.ru \
    --cc=philmd@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-stable@nongnu.org \
    /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 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).