Skip to Content.
Sympa Menu

devel - Re: [sympa-developpers] Constants to be runtime options ?

Subject: Developers of Sympa

List archive

Chronological Thread  
  • From: "Stefan Hornburg (Racke)" <address@concealed>
  • To: address@concealed
  • Subject: Re: [sympa-developpers] Constants to be runtime options ?
  • Date: Wed, 4 Jul 2018 07:39:26 +0200

On 07/03/2018 01:35 PM, Marc Chantreux wrote:
> hello,
>
> I just took a look on
>
> src/lib/Sympa/Constants.pm.in
>
> where we have
>
> use constant CONFIG => '--CONFIG--';
> use constant WWSCONFIG => '--WWSCONFIG--';
> use constant SENDMAIL_ALIASES => '--SENDMAIL_ALIASES--';
>
> and i see some benefit to get them configurable
> (even if the configuration is a perl file)
>
> * for the user, it becomes ... well ... configurable
> ( so you don't need to reinstall or roughtly patch your install)
> * for us, it remove one dep from autotools (i still think it's
> a good idea to remove when we can)
>
> and i wonder if there is a good reason to have those options available
> at installation time instead of runtime.
>
> any comment ?
>
> regards
> marc
>

It is better to stick to the documented installation method rather than
editing Sympa Perl modules.

Too easy to forget that you changed them and next time you upgrade these
changes will get overridden.

Regards
Racke

--
Ecommerce and Linux consulting + Perl and web application programming.
Debian and Sympa administration. Provisioning with Ansible.



Archive powered by MHonArc 2.6.19+.

Top of Page