[PATCHES] pglister: make organization name generic

Поиск
Список
Период
Сортировка
Искать

[PATCHES] pglister: make organization name generic

От:
Célestin Matte <celestin.matte@cmatte.me>
Дата:
Hello,

PGLister is currently made to be run for PostgreSQL only. In an effort to get this software used by other organizations, this series of patches defines an ORGANIZATION_NAME configuration option and uses it to replace mentions of PostreSQL in templates.
Additionally, new images for the banner are proposed, to replace mentions of PostreSQL by a sober "PGLister". Postgres' logo is, however, kept.

Cheers,
-- 
Célestin Matte


[PATCH 1/3] Add orgname tag and settings to define organization name

От:
Célestin Matte <celestin.matte@cmatte.me>
Дата:
Вложения:


-- 
Célestin Matte

[PATCH 2/3] Use orgname in templates to make them organization-generic

От:
Célestin Matte <celestin.matte@cmatte.me>
Дата:
Вложения:

-- 
Célestin Matte

[PATCH 3/3] Update banner images to remove mentions of PostreSQL

От:
Célestin Matte <celestin.matte@cmatte.me>
Дата:
Вложения:

-- 
Célestin Matte

[PATCH 3/3] Update banner images to remove mentions of PostreSQL

От:
Célestin Matte <celestin.matte@cmatte.me>
Дата:
Third patch seems to fail to be pass the list's spam filter, so please find it here: https://ploudseeker.com/files/0003-Update-banner-images-to-remove-mentions-of-PostreSQL.patch

-- 
Célestin Matte


Re: [PATCH 3/3] Update banner images to remove mentions of PostreSQL

От:
"Jonathan S. Katz" <jkatz@postgresql.org>
Дата:
Вложения:
On 11/2/21 12:26 PM, Célestin Matte wrote:
> Third patch seems to fail to be pass the list's spam filter

These go into a moderation queue. I went ahead and approved it.

Thanks,

Jonathan

Re: [PATCH 2/3] Use orgname in templates to make them organization-generic

От:
Alvaro Herrera <alvherre@alvh.no-ip.org>
Дата:
On 2021-Nov-02, Célestin Matte wrote:

> @@ -14,8 +14,8 @@
>      
>
>
> - > - > + > + {% motto %} -> The world's most advanced open source database ;-) -- Álvaro Herrera Valdivia, Chile — https://www.EnterpriseDB.com/ "I dream about dreams about dreams", sang the nightingale under the pale moon (Sandman)

Re: [PATCHES] pglister: make organization name generic

От:
Magnus Hagander <magnus@hagander.net>
Дата:


On Tue, Nov 2, 2021 at 5:18 PM Célestin Matte <celestin.matte@cmatte.me> wrote:
Hello,

PGLister is currently made to be run for PostgreSQL only. In an effort to get this software used by other organizations, this series of patches defines an ORGANIZATION_NAME configuration option and uses it to replace mentions of PostreSQL in templates.
Additionally, new images for the banner are proposed, to replace mentions of PostreSQL by a sober "PGLister". Postgres' logo is, however, kept.

As a general rule, please post the patches no the thread of the description, and if it's more than one patch, in the same email. Right now the only thing I see to review is this description, that's kind of hard.

As for reviewing the general idea, I agree with that -- makes perfect sense 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="" attribute. There may be more of those?

--

Re: [PATCHES] pglister: make organization name generic

От:
Célestin Matte <celestin.matte@cmatte.me>
Дата:
Вложения:
> As a general rule, please post the patches no the thread of the description, and if it's more than one patch, in the same email. Right now the only 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?

> As for reviewing the general idea, I agree with that -- makes perfect sense 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="" attribute. There may be more of those?

Yep, added handling of ORGANIZATION_MOTTO in the set of patches attached to this email.

-- 
Célestin Matte

Re: [PATCHES] pglister: make organization name generic

От:
Magnus Hagander <magnus@hagander.net>
Дата:
On Thu, Nov 4, 2021 at 12:21 PM Célestin Matte  wrote:
>
> > As a general rule, please post the patches no the thread of the description, and if it's more than one patch, in the same email. Right now the only 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 -- thanks!

> > As for reviewing the general idea, I agree with that -- makes perfect sense 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="" 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?

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


Re: [PATCHES] pglister: make organization name generic

От:
Célestin Matte <celestin.matte@cmatte.me>
Дата:
Вложения:
> 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?

All done in attached series of patches!

-- 
Célestin Matte

Re: [PATCHES] pglister: make organization name generic

От:
Célestin Matte <celestin.matte@cmatte.me>
Дата:
Hi there. Would it be easier if I sent pglister-related patches in MR on gitlab instead of the list?

> 
> All done in attached series of patches!
> 

-- 
Célestin Matte


Re: [PATCHES] pglister: make organization name generic

От:
Magnus Hagander <magnus@hagander.net>
Дата:
On Tue, Jan 25, 2022 at 10:36 AM Célestin Matte
 wrote:
>
> Hi there. Would it be easier if I sent pglister-related patches in MR on gitlab instead of the list?

Doesn't really matter from our perspective I think. We're just
generally backlogged and slow to review them regardless of where
they're submitted - sorry about that. I think if anything this list
might get marginally higher visibility and at least in theory attract
an extra reviewer. In practice, I don't think it makes a difference.

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


Re: [PATCHES] pglister: make organization name generic

От:
Célestin Matte <celestin.matte@cmatte.me>
Дата:
Вложения:
Adding to this series of patches the possibility to configure links in the banner

On 19/01/2022 10:48, Célestin Matte wrote:
>> 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?
> 
> All done in attached series of patches!
> 

-- 
Célestin Matte
FAQ