RFC: Access patch by message-ID

Konstantin Ryabitsev konstantin at linuxfoundation.org
Sat May 26 02:58:42 AEST 2018


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/

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: OpenPGP digital signature
URL: <http://lists.ozlabs.org/pipermail/patchwork/attachments/20180525/457ed349/attachment.sig>


More information about the Patchwork mailing list