Re: [PATCH 2/6] models: Add list archive lookup

2019-08-21 Thread Andrew Donnellan
On 22/8/19 11:38 am, Daniel Axtens wrote: Would it be better to do this with str.format(), as with mpe's commit_url_format patch? We should do it for consistency, I guess - the main reason I didn't do it is that I think the case of a Message-ID redirect URL where the ID isn't at the end is go

Re: [PATCH 2/6] models: Add list archive lookup

2019-08-21 Thread Daniel Axtens
Andrew Donnellan writes: > Add a list_archive_lookup_prefix field to Project, which will contain the > address of a Message-ID redirector, e.g. "https://lore.kernel.org/r/";. > > Add a list_archive_url property to Submission and Comment, to generate an > archive lookup URL based on the Message-ID

[PATCH 2/6] models: Add list archive lookup

2019-08-07 Thread Andrew Donnellan
Add a list_archive_lookup_prefix field to Project, which will contain the address of a Message-ID redirector, e.g. "https://lore.kernel.org/r/";. Add a list_archive_url property to Submission and Comment, to generate an archive lookup URL based on the Message-ID. We will use this to display links