Skip to Content.
Sympa Menu

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

Subject: Developers of Sympa

List archive

Chronological Thread  
  • From: Marc Chantreux <address@concealed>
  • To: address@concealed
  • Subject: [sympa-developpers] Constants to be runtime options ?
  • Date: Tue, 3 Jul 2018 13:35:41 +0200

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



Archive powered by MHonArc 2.6.19+.

Top of Page