Re: [PATCH pglister] Add Archived-At header to delivered messages

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Denis Laxalde <denis(dot)laxalde(at)dalibo(dot)com>
Cc: PostgreSQL WWW <pgsql-www(at)lists(dot)postgresql(dot)org>
Subject: Re: [PATCH pglister] Add Archived-At header to delivered messages
Date: 2021-03-03 10:18:56
Message-ID: CABUevEz77A3pd1V-Q0cfXFE9K=1HCoq-5BorSKBn=Egq7xg50w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-www

On Wed, Mar 3, 2021 at 11:15 AM Magnus Hagander <magnus(at)hagander(dot)net> wrote:
>
> On Tue, Mar 2, 2021 at 11:41 AM Denis Laxalde <denis(dot)laxalde(at)dalibo(dot)com> wrote:
> >
> > Hi,
> >
> > Magnus Hagander a écrit :
> > > There are a few issues.
> > >
> > > * It needs a rebase because the migration doesn't work (needs to be
> > > based on the latest)
> > > * You cannot CREATE OR REPLACE a view if you add a field in the
> > > middle. The new field has to be added at the end.
> > > * It crashes on lists that don't have an archive. I think you just
> > > need an "if self.archive_mailurlpattern:" wrapping it
> >
> > Thanks for the review. Please find attached a new version of the patch
> > fixing these issues hopefully.
> >
> > Let me know if there's anything else,
>
> Looks great, thanks! Applied and deployed!
>
> (So this email should have the header)

And it did. Almost right, needed to strip <> from beginning/end of
messageid. It *works* without that, but it's an uglier URL and
generates redirect. I've pushed a fix.

--
Magnus Hagander
Me: https://www.hagander.net/
Work: https://www.redpill-linpro.com/

In response to

Browse pgsql-www by date

  From Date Subject
Next Message Jaime Casanova 2021-03-04 04:07:07 Re: bad entries at proffesional services and hosting providers
Previous Message Magnus Hagander 2021-03-03 10:15:05 Re: [PATCH pglister] Add Archived-At header to delivered messages