All of lore.kernel.org
 help / color / mirror / Atom feed
From: Maxime Ripard <maxime@cerno.tech>
To: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
Cc: Mark Brown <broonie@kernel.org>,
	users@linux.kernel.org, tools@linux.kernel.org
Subject: Re: b4 bugs / future improvements
Date: Thu, 20 Oct 2022 10:41:42 +0200	[thread overview]
Message-ID: <20221020084142.gfep2hbapwkhjybv@houat> (raw)
In-Reply-To: <20221019191633.pay6hl43fiisgcrh@meerkat.local>

[-- Attachment #1: Type: text/plain, Size: 1791 bytes --]

On Wed, Oct 19, 2022 at 03:16:33PM -0400, Konstantin Ryabitsev wrote:
> On Wed, Oct 19, 2022 at 10:04:39AM +0200, Maxime Ripard wrote:
> > > > If you're doing an inter-version changelog it's common to say something
> > > > like "rebased against foo" in there.  It's a bit clearer about things
> > > > than base-commit.
> > > 
> > > No, I don't think that's what Maxime means -- "rebased against foo" can be
> > > done using "b4 prep --edit-cover".
> > 
> > Yeah, I'm manually editing the JSON part. But tbf, I don't really know
> > why I started doing it, so it might be fixed for a while, or never an
> > issue in the first place.
> 
> If you're using the "commit" (default) strategy, then you really don't need to
> worry about the base-branch bit in the JSON tracking info.

I just tested and it indeed just works, sorry for the confusion :)

> > > I think there's two things going on:
> > > 
> > > 1. he's using a different cover strategy that requires base-branch tracking
> > > 2. he's rebasing on a different branch, as opposed to a newer tag within the
> > >    same branch
> > 
> > If it causes any issue, then it could be the reason yeah. I do rebase
> > across different branches from time to time, so it might be why I
> > started doing so.
> 
> When we keep the cover letter at the start of the series, then we don't really
> care about the base branch -- we know exactly where the series starts, so we
> don't need to keep any information about the tracking branch around. Next time
> you rebase, just ignore the base-branch entry.
> 
> I will look at improving the trailers matching logic in the near future
> (that's unrelated to rebasing -- we just need to have a sane fall-back when
> the patch-id changes).

Awesome, thanks

Maxime

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

  reply	other threads:[~2022-10-20  8:41 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-18 15:36 b4 bugs / future improvements Maxime Ripard
2022-10-18 20:18 ` Konstantin Ryabitsev
2022-10-18 20:29   ` Mark Brown
2022-10-18 20:37     ` Konstantin Ryabitsev
2022-10-19  8:04       ` Maxime Ripard
2022-10-19 19:16         ` Konstantin Ryabitsev
2022-10-20  8:41           ` Maxime Ripard [this message]
2022-10-19  2:05   ` Rob Herring
2022-10-19  8:01   ` Maxime Ripard
2022-10-19 19:21     ` Konstantin Ryabitsev
2022-10-20  8:49     ` Maxime Ripard
2022-11-09 14:14       ` Maxime Ripard
2022-11-29 17:14         ` Konstantin Ryabitsev
2022-11-29 20:52           ` Maxime Ripard
2023-05-05  7:17       ` Maxime Ripard

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=20221020084142.gfep2hbapwkhjybv@houat \
    --to=maxime@cerno.tech \
    --cc=broonie@kernel.org \
    --cc=konstantin@linuxfoundation.org \
    --cc=tools@linux.kernel.org \
    --cc=users@linux.kernel.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 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.