From: "H. Peter Anvin" <hpa@zytor.com>
To: "Theodore Ts'o" <tytso@mit.edu>, Steven Rostedt <rostedt@goodmis.org>
Cc: James Bottomley <James.Bottomley@hansenpartnership.com>,
Doug Anderson <dianders@chromium.org>,
"ksummit@lists.linux.dev" <ksummit@lists.linux.dev>
Subject: Re: Replacing Link trailers
Date: Mon, 13 Oct 2025 12:35:26 -0700 [thread overview]
Message-ID: <8de103b0-071b-4066-83b4-b1be1f43d88a@zytor.com> (raw)
In-Reply-To: <7EE2713D-7612-4EAC-9E4E-225A92FEC9D3@zytor.com>
On 2025-10-13 12:07, H. Peter Anvin wrote:
>
> Oh my.
>
> Irony.
>
> This was the *original* definition that I proposed, which was vetoed by Linus because it didn't provide a clickable experience. The compromise was to have an URL schema that:
>
> a) fully encodes the message ID, so that the death of any specific archive doesn't mean irreversible information loss;
>
> b) is encoded under the kernel.org domain name, so it is under our direct control.
>
> In IETF terms, we want an identifier that is both a URL and a URN (senso lato.)
>
Another way to look at it is whether to put the bulk of the burden on the
sender or receiver. There are arguments both ways, however, I think Linus does
have a point for a couple of reasons:
1. Move burden away from the maintainer/reviewer.
2. The number of tools used for *reading* usually vastly outnumber the tool
used for *writing*.
3. A resource name provides no hint whatsoever as to how to locate and
retrieve said resource. git is used for many projects, and so it isn't
reasonable to automatically assume any one mailing list or other
collection, such as LKML. Thus, the Message-ID: alone is insufficient.
There are a few downsides:
a. It implies a default user experience; visiting an alternative archive or a
local archive requires decoding the link back to its original.
b. Mis-encoding at the source or not using an approved schema violates the
constraint that the resource name is recoverable, and it may not be
immediately obvious (early on we saw a lot of Link:s to lkml.org, which
did not encode the message-ID in any meaningful form.)
c. It makes it at least somewhat harder to deal with links to embargoed
discussions which will become public, as it is unlikely the embargoed
discussion will be archived as the same URL as when it becomes public.
Personally, for me, item 3 is the one that really clinches it. Since
Message-ID alone is insufficient, I don't believe it is possible to trust the
user to encode all the appropriate information in a way that is generic across
projects (the original proposal was for an ad hoc LKML tag containing the
Message-ID). The Link: tag provides at least that much of a general solution
to this problem, and it can also link to genuine web resources for the kinds
of projects where this kind of information is not processed via email.
As far as the downsides, all of them can all be handled with tooling in the
form of an URL pattern rewriter. This is very easy when a link is invoked by
executing a browser; when it is internal to the browser and/or invoked via
some kind of IPC API then it gets more difficult, needing a browser-specific
plugin or using a proxy.
As far as Patchwork is concerned, that should be a rather obvious feature
(encode Message-ID as a Link tag) to add to Patchwork. There are several other
features Patchwork really needs, one of the main ones being a way to supercede
an individual patch in a series.
-hpa
next prev parent reply other threads:[~2025-10-13 19:35 UTC|newest]
Thread overview: 78+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-10-13 11:53 James Bottomley
2025-10-13 12:25 ` Mathieu Desnoyers
2025-10-13 12:48 ` James Bottomley
2025-10-13 12:50 ` Mark Brown
2025-10-13 14:52 ` Guenter Roeck
2025-10-13 17:36 ` Steven Rostedt
2025-10-14 19:12 ` Johannes Berg
2025-10-14 19:35 ` Steven Rostedt
2025-10-15 22:01 ` Johannes Berg
2025-10-15 22:22 ` Steven Rostedt
2025-10-16 10:16 ` Simona Vetter
2025-10-16 12:18 ` Hans de Goede
2025-10-16 18:39 ` David Woodhouse
2025-10-16 7:43 ` Geert Uytterhoeven
2025-10-14 20:23 ` Doug Anderson
2025-10-16 8:08 ` Dan Carpenter
2025-10-13 15:40 ` Doug Anderson
2025-10-13 16:31 ` James Bottomley
2025-10-13 17:39 ` Steven Rostedt
2025-10-13 17:50 ` Theodore Ts'o
2025-10-13 19:07 ` H. Peter Anvin
2025-10-13 19:20 ` Linus Torvalds
2025-10-13 19:35 ` James Bottomley
2025-10-13 19:37 ` H. Peter Anvin
2025-10-13 19:36 ` H. Peter Anvin
2025-10-13 20:34 ` Doug Anderson
2025-10-13 20:36 ` H. Peter Anvin
2025-10-13 20:58 ` Laurent Pinchart
2025-10-13 20:59 ` Vlastimil Babka
2025-10-13 21:46 ` Doug Anderson
2025-10-14 14:23 ` Sasha Levin
2025-10-14 11:09 ` Mark Brown
2025-10-13 19:35 ` H. Peter Anvin [this message]
2025-10-14 16:01 ` dan.j.williams
2025-10-14 17:46 ` Greg KH
2025-10-14 17:57 ` dan.j.williams
2025-10-15 17:09 ` dan.j.williams
2025-10-15 17:55 ` James Bottomley
2025-10-15 18:04 ` Luck, Tony
2025-10-15 18:37 ` Konstantin Ryabitsev
2025-10-15 19:13 ` dan.j.williams
2025-10-15 19:15 ` Linus Torvalds
2025-10-15 19:17 ` Linus Torvalds
2025-10-15 22:51 ` Doug Anderson
2025-10-16 4:26 ` Chen-Yu Tsai
2025-10-16 6:57 ` Greg KH
2025-10-16 10:04 ` Jani Nikula
2025-10-16 11:54 ` James Bottomley
2025-10-16 12:18 ` Greg KH
2025-10-16 12:29 ` James Bottomley
2025-10-16 13:00 ` Konstantin Ryabitsev
2025-10-16 13:47 ` Steven Rostedt
2025-10-16 14:36 ` Mark Brown
2025-10-16 14:58 ` Rob Herring
2025-10-16 15:07 ` James Bottomley
2025-10-16 15:36 ` Geert Uytterhoeven
2025-10-16 15:52 ` James Bottomley
2025-10-16 15:37 ` Steven Rostedt
2025-10-16 19:29 ` H. Peter Anvin
2025-10-16 19:32 ` James Bottomley
2025-10-16 23:53 ` H. Peter Anvin
2025-10-16 19:09 ` James Bottomley
2025-10-17 2:27 ` Doug Anderson
2025-10-17 8:44 ` Vlastimil Babka
2025-10-17 9:21 ` Geert Uytterhoeven
2025-10-17 10:09 ` Rafael J. Wysocki
2025-10-16 12:34 ` Mathieu Desnoyers
2025-10-16 12:49 ` Mark Brown
2025-10-16 12:49 ` Geert Uytterhoeven
2025-10-16 12:54 ` Mathieu Desnoyers
2025-10-16 13:07 ` Geert Uytterhoeven
2025-10-16 12:51 ` Jiri Kosina
2025-10-16 12:54 ` James Bottomley
2025-10-16 13:51 ` Steven Rostedt
2025-10-16 16:21 ` Michael S. Tsirkin
2025-10-16 12:20 ` Steven Rostedt
2025-10-15 21:29 ` Kees Cook
2025-10-15 21:40 ` Mark Brown
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=8de103b0-071b-4066-83b4-b1be1f43d88a@zytor.com \
--to=hpa@zytor.com \
--cc=James.Bottomley@hansenpartnership.com \
--cc=dianders@chromium.org \
--cc=ksummit@lists.linux.dev \
--cc=rostedt@goodmis.org \
--cc=tytso@mit.edu \
/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