b4 to accept https://patch.msgid.link/

4 messages, 3 authors, 2025-03-05 · open the first message on its own page

b4 to accept https://patch.msgid.link/

From: Andy Shevchenko <hidden>
Date: 2025-03-04 14:21:46

Hi!

Some of the maintainers are using https://patch.msgid.link/ format of URLs
in the Link tags of the applied patches in their tree (and then it becomes in
upstream in most cases). It would be nice if `b4` can recognize this URLs
in the command line for `b4 mbox https://patch.msgid.link/...`

Current behaviour:

$ b4 mbox https://patch.msgid.link/20250303-veal-snooper-712c1dfad336@wendy
Grabbing thread from lore.kernel.org/all/https%3A%2F%2Fpatch.msgid.link%2F20250303-veal-snooper-712c1dfad336@wendy/t.mbox.gz
That message-id is not known.

Expected behaviour:

$ b4 mbox https://patch.msgid.link/20250303-veal-snooper-712c1dfad336@wendy
Grabbing thread from lore.kernel.org/all/20250303-veal-snooper-712c1dfad336@wendy/t.mbox.gz
2 messages in the thread
Saved ./20250303-veal-snooper-712c1dfad336@wendy.mbx

P.S> A bit of offtopic here: one thing which would be extremely helpful in web
interface to Git on kernel.org is the automatic links (<a href=...> tags) to
the Fixes tag. Ideally also to any "commit reference" in the commit message
text.

-- 
With Best Regards,
Andy Shevchenko

Re: b4 to accept https://patch.msgid.link/

From: Konstantin Ryabitsev <hidden>
Date: 2025-03-05 20:20:48

On Tue, Mar 04, 2025 at 04:21:41PM +0200, Andy Shevchenko wrote:
Hi!

Some of the maintainers are using https://patch.msgid.link/ format of URLs
in the Link tags of the applied patches in their tree (and then it becomes in
upstream in most cases). It would be nice if `b4` can recognize this URLs
in the command line for `b4 mbox https://patch.msgid.link/...`
Makes sense. It almost does that already, but we need to make a more generic
case.

bugspray tag me

Re: b4 to accept https://patch.msgid.link/

From: Bugspray Bot <bugbot@kernel.org>
Date: 2025-03-05 20:24:57

Hello:

This conversation is now tracked by Kernel.org Bugzilla:
https://bugzilla.kernel.org/show_bug.cgi?id=219844

There is no need to do anything else, just keep talking.
-- 
Deet-doot-dot, I am a bot.
Kernel.org Bugzilla (bugspray 0.1-dev)

Re: b4 to accept https://patch.msgid.link/

From: Bugspray Bot <bugbot@kernel.org>
Date: 2025-03-05 20:44:58

Konstantin Ryabitsev writes in commit a85d2da55fb70f7aab2eb82849decdf2ff5aff98:

Try a bit harder to find a msgid in a URL that was passed on CLI

We're currently already properly parsing URLs in the format
site/project/msgid, but it also helps to have a fallback when there's a
redirector site like msgid.link.

Reported-by: Andy Shevchenko <redacted>
Link: https://msgid.link/Z8cMdUMZQhGtVTWx@smile.fi.intel.com
Closes: https://bugzilla.kernel.org/show_bug.cgi?id=219844
Signed-off-by: Konstantin Ryabitsev <redacted>

(via https://git.kernel.org/pub/scm/utils/b4/b4.git/commit/?id=a85d2da55fb7)
-- 
Deet-doot-dot, I am a bot.
Kernel.org Bugzilla (bugspray 0.1-dev)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help