tools.linux.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jason Gunthorpe <jgg@ziepe.ca>
To: Mark Brown <broonie@kernel.org>
Cc: James Bottomley <James.Bottomley@hansenpartnership.com>,
	Peter Zijlstra <peterz@infradead.org>,
	Steven Rostedt <rostedt@goodmis.org>,
	"Jason A. Donenfeld" <Jason@zx2c4.com>,
	Alex Elder <elder@ieee.org>,
	users@linux.kernel.org, tools@linux.kernel.org
Subject: Re: RFC: Superseded-by: follow-up trailer
Date: Wed, 14 Apr 2021 15:58:38 -0300	[thread overview]
Message-ID: <20210414185838.GQ227011@ziepe.ca> (raw)
In-Reply-To: <20210414184659.GF4535@sirena.org.uk>

On Wed, Apr 14, 2021 at 07:46:59PM +0100, Mark Brown wrote:
> On Wed, Apr 14, 2021 at 02:24:49PM -0300, Jason Gunthorpe wrote:
> > On Wed, Apr 14, 2021 at 01:07:51PM -0400, Konstantin Ryabitsev wrote:
> 
> > > 3. b4 additionally learns a command to grab new trailers from the list by
> > >    matching the Obsoletes: message-ids and auto-amending commits with any new
> > >    trailers
> 
> > > This would allow you to start working on a new revision whenever you're ready
> > > for it and give b4 a precise match it can rely on when tracking new trailers.
> 
> > While I understand the interest in exact matching patches, I'm not
> > super keen on adding more headers to every patch - this feels alot
> > like the gerrit change-id header that everone hates, just in another
> > format.
> 
> The big issue people generally have with the gerrit change IDs is that
> they're only meaningful in the context of a gerrit instance that knows
> about that particular change ID, usually one on some corporate network,
> and no tooling other than gerrit uses them.  Message IDs are much more
> generally useful.

Well, IMHO, a chain of "obsoletes" is a fairly hacky way to create a
stable ID for a single commit to assist tooling. The gerrit idea of
applying a stable id to every commit is much more useful. If we had
that lore could index those stable IDs and the problem Konstantin is
chasing here becomes fairly simple to resolve by searching the index
for other messages related to the stable ID.

In turn if lore indexes the stable ID then storing the stable ID in
the commits becomes useful because lore can turn up everything related
to it, not just the single message that was used to make the commit.

Jason


  reply	other threads:[~2021-04-14 18:58 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-13 20:49 RFC: Superseded-by: follow-up trailer Konstantin Ryabitsev
2021-04-13 20:53 ` Alex Elder
2021-04-13 21:02   ` Jason A. Donenfeld
2021-04-13 21:29     ` Steven Rostedt
2021-04-13 21:40       ` Konstantin Ryabitsev
2021-04-14  0:02         ` Steven Rostedt
2021-04-14  7:30         ` Peter Zijlstra
2021-04-14 11:49           ` Jason Gunthorpe
2021-04-14 13:57             ` James Bottomley
2021-04-14 14:36               ` Jason Gunthorpe
2021-04-14 14:56                 ` Konstantin Ryabitsev
2021-04-14 15:57                   ` Jason Gunthorpe
2021-04-14 17:07                     ` Konstantin Ryabitsev
2021-04-14 17:24                       ` Jason Gunthorpe
2021-04-14 17:40                         ` Konstantin Ryabitsev
2021-04-14 18:46                         ` Mark Brown
2021-04-14 18:58                           ` Jason Gunthorpe [this message]
2021-04-14 15:01                 ` Steven Rostedt
2021-04-14 15:36                   ` Peter Zijlstra
2021-04-14 17:44                     ` Willy Tarreau
2021-04-14 14:44             ` Theodore Ts'o
2021-04-14 18:51               ` Geert Uytterhoeven
2021-04-14 14:35           ` Konstantin Ryabitsev
2021-04-14 15:10             ` Peter Zijlstra
2021-04-14 12:52         ` Alex Elder
2021-04-13 21:04   ` Konstantin Ryabitsev

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=20210414185838.GQ227011@ziepe.ca \
    --to=jgg@ziepe.ca \
    --cc=James.Bottomley@hansenpartnership.com \
    --cc=Jason@zx2c4.com \
    --cc=broonie@kernel.org \
    --cc=elder@ieee.org \
    --cc=peterz@infradead.org \
    --cc=rostedt@goodmis.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 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).