Show cross-posted patches in all projects

Josh Boyer jwboyer at gmail.com
Wed Oct 29 06:17:47 EST 2008


On Tue, Oct 28, 2008 at 09:15:47AM -0600, Grant Likely wrote:
>On Wed, Oct 22, 2008 at 9:44 PM, Jeremy Kerr <jk at ozlabs.org> wrote:
>> Hi Josh,
>>
>>> Would it be possible to have patchwork show cross-posted patches
>>> in all of the projects it was sent to?  At the moment, if you
>>> send a patch to multiple lists that are watched by patchwork, it
>>> seems to pick only one of those projects to display the patch in.
>>
>> This is because the database enforces a unique constraint on the
>> message-id of the mail, mainly to allow patchwork to lookup patches by
>> the message id. So, when patchwork receives the second mail with the
>> same message id, it doesn't add the patch to the second project's list.
>>
>> I think the correct fix is to alter this constraint to be unique on a
>> (msg_id,project_id) pair instead, will get this done soon.
>
>It would be *really* nice if the patch wasn't just duplicated in all
>projects, but shared the same record in all project views.  So, if the
>delegate was updated in one project view then it would be reflected in
>all other views.

I agree but I can see how that would be complicated.  Patchwork would
have to know how to "bend" rules because a maintainer in one project
might not be a maintainer in another.

E.g. You and I are maintainers in linuxppc-dev, but not netdev.  So
delegating a patch that is on a netdev list to us would seem odd.

josh



More information about the Patchwork mailing list