Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1n8nRz-0001I5-NB for pgsql-www@arkaria.postgresql.org; Sat, 15 Jan 2022 18:06:51 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1n8nRy-0000vK-BS for pgsql-www@arkaria.postgresql.org; Sat, 15 Jan 2022 18:06:50 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1n8nRy-0000vA-4X for pgsql-www@lists.postgresql.org; Sat, 15 Jan 2022 18:06:50 +0000 Received: from mail-lf1-x135.google.com ([2a00:1450:4864:20::135]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1n8nRv-0005Sg-D2 for pgsql-www@lists.postgresql.org; Sat, 15 Jan 2022 18:06:49 +0000 Received: by mail-lf1-x135.google.com with SMTP id m3so27431664lfu.0 for ; Sat, 15 Jan 2022 10:06:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hagander-net.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=mNb6xM8LqxPLBLjdI+xMMezG+CTDDta5lrijYi89MM0=; b=pRuCrDF8IPLTOoZleVpnvoHsEuIspxtD/JpXNf5v8GVII70Bdv/1qd7WiAz4a8O/W+ Pw08Y863jQRzhJB3DvcZ6wsWQlfdTQc5eCLohD6tMDqOBevOqNin0XSNo4vZb5ET7a9l eeMpzR/Tdy6tiJvDLtPyW1LsI6REmT97VxSu/WnDt9kzaFQZlatpUiQWymV4DHJJnoT7 Zttt4di7ggvxRqnPyZs7cfdFYa++R18UihcUbra9rf6yoyPZQZqFF0IUkkBsvMlQwEoE mjkLt3iqYQ50Wc6SOOoRRQ3B+MG8C7YS+WhN3GS48GUzwJ7z/vGIeiw0DAKM5yMchgaa akeQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=mNb6xM8LqxPLBLjdI+xMMezG+CTDDta5lrijYi89MM0=; b=VAqTY5Zn3GFKO0tw0+zB+oMbCXh6GUWIBcuVZPnk0H1pbDWN822LOK0zk21a5wpvcv om5O1feAol25qXMnvdNKYkaOTJ2qF8vjODIMn29I+DgbA39tv+YsBCwvPSlTvc1eBHeE B3qGNu9PaWNI+/DCu4IOC4/ydQcRVVTpWyH/f1KO0O4v7QiyDLQHijJYvuznfmx+DT+8 977nnZkclGeqzjRf4ObTtiV1Z+Cv3QDruwfaGnjf4vBi44NMm/Acw2mmcpb9VoLBPOeI 3QjEqT3mEuYA/e+GTZBlM8BA+l6EqjxTO4z2dtYUw3xaN/1H4v7tBsVVUts6uOLBe4It fnUg== X-Gm-Message-State: AOAM5338Q8rE9eV8o8CGjoWpcPtSX+1pVh/6lfTU7vA7giN63xYs33la Yu06j/g9LzQiYIfuuIUFrUYhWU1/OSfWEDHvS3kKQg== X-Google-Smtp-Source: ABdhPJzBYlGbRTWqIXV8km4635vRHZvwEqTsmXVImHjCjILFfk3HALqNLxlDN44OIhAvc1uxfZoi3WxwbCjUbyf5Vog= X-Received: by 2002:a05:6512:b2a:: with SMTP id w42mr11593351lfu.266.1642270006404; Sat, 15 Jan 2022 10:06:46 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Magnus Hagander Date: Sat, 15 Jan 2022 19:06:35 +0100 Message-ID: Subject: Re: [PATCHES] pglister: make organization name generic To: =?UTF-8?Q?C=C3=A9lestin_Matte?= Cc: PostgreSQL WWW Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Thu, Nov 4, 2021 at 12:21 PM C=C3=A9lestin Matte wrote: > > > As a general rule, please post the patches no the thread of the descrip= tion, and if it's more than one patch, in the same email. Right now the onl= y thing I see to review is this description, that's kind of hard. > > Sorry, I don't understand: should I send all patches by responding to the= description email (instead of replying to the previous ones, as I did here= ), or all patches in the same email? All in the same email is definitely best, like you did in this one -- thank= s! > > As for reviewing the general idea, I agree with that -- makes perfect s= ense to do that. I did note that Alvaro spotted that it also needs to look = over all the rest of the text and find similar stuff -- like the image alt= =3D"" attribute. There may be more of those? > > Yep, added handling of ORGANIZATION_MOTTO in the set of patches attached = to this email. Looking at 1 and 2, this just seems to me like a strange way to do it, by declaring a new tag for it. I think it would be cleaner with a Context Processor similar to what we have in pgweb. Then this context processor could just return a dict of ORGANIZATION_INFO from setitngs.py, wihch would have a key for name and a key for motto perhaps? As for 3 -- I don't think we want to remove the postgresql branding It should be made optional though, perhaps by another parameter in said dict in the settings that would just make it load from different URLs and files? --=20 Magnus Hagander Me: https://www.hagander.net/ Work: https://www.redpill-linpro.com/