RFC: Access patch by message-ID

Daniel Axtens dja at axtens.net
Tue May 29 12:37:11 AEST 2018

Konstantin Ryabitsev <konstantin at linuxfoundation.org> writes:

> Hello, all:
> Seems like it would be easy to implement a way to access a patch by
> Message-ID, but there is no such option currently. I would very much
> like to have something like that, which would allow us to link from a
> public-inbox archive directly to the patch within patchwork, e.g.:
> https://patchwork.kernel.org/mid/foobarbaz-message-id@gmail.com
> ->
> https://patchwork.kernel.org/patch/12345/
This sounds good to me. You'd also have to specify a project, because we
allow the same MID to be present in multiple projects. I hope that won't
be too much of a problem?

We can look at this once 2.1 is released.


> I recall doing that at some point at lkml.kernel.org using this SQL query:
> SELECT id FROM patchwork_patch WHERE msgid=?
> So, I imagine it would be 3 lines in patchwork to support this feature. :)
> Best,
> -- 
> Konstantin Ryabitsev
> Director, IT Infrastructure Security
> The Linux Foundation
> _______________________________________________
> Patchwork mailing list
> Patchwork at lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/patchwork

More information about the Patchwork mailing list