Re: RM 5235 - Support external config files - Mailing list pgadmin-hackers

From Ashesh Vashi
Subject Re: RM 5235 - Support external config files
Date
Msg-id CAG7mmowxAmfw_ZNJ6=QfMUUvML8U2dhR_uVA3hJ=o2ZGpo_Drw@mail.gmail.com
Whole thread Raw
In response to RM 5235 - Support external config files  (Dave Page <dpage@pgadmin.org>)
Responses Re: RM 5235 - Support external config files  (Dave Page <dpage@pgadmin.org>)
List pgadmin-hackers

On Fri, Jul 17, 2020 at 3:45 PM Dave Page <dpage@pgadmin.org> wrote:
The attached patch adds support for config_system.py files stored outside of the application installation directory to allow sysadmins (and users with appropriate permissions) to override configuration options system wide and without invalidating signatures such as those found on the macOS app bundle.

Configuration will be loaded from the following locations, if present:

Linux: /etc/pgadmin/config_system.py
macOS: /Library/Preferences/pgadmin/config_system.py
Windows: %CommonProgramFiles%\pgadmin\config_system.py

Please review/commit.
How about putting them in $HOME/.pgadmin/config_local.py (applicable only for runtime)?

--

Thanks & Regards,

Ashesh Vashi
EnterpriseDB INDIA: Enterprise PostgreSQL Company



--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EDB: http://www.enterprisedb.com

pgadmin-hackers by date:

Previous
From: Dave Page
Date:
Subject: RM 5235 - Support external config files
Next
From: Dave Page
Date:
Subject: Re: RM 5235 - Support external config files