RFC: Access patch by message-ID
Stephen Finucane
stephen at that.guru
Wed May 30 20:38:35 AEST 2018
On Tue, 2018-05-29 at 12:37 +1000, Daniel Axtens wrote:
> 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.
>
> Regards,
> Daniel
Indeed. We discussed as much at [1]. Happy to see patches for this in
2.2.
Stephen
[1] https://github.com/getpatchwork/patchwork/issues/106
> > 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
>
> _______________________________________________
> Patchwork mailing list
> Patchwork at lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/patchwork
More information about the Patchwork
mailing list