Skip to Content.
Sympa Menu

devel - [sympa-dev] Re: Family List instantiation

Subject: Developers of Sympa

List archive

Chronological Thread  
  • From: Thomas Berry <address@concealed>
  • To: sympa dev <address@concealed>
  • Subject: [sympa-dev] Re: Family List instantiation
  • Date: Wed, 25 Apr 2007 14:04:29 -0700

Found it!

Here's the code that creates the family generated config file:

open CONFIG, ">$list->{'dir'}/config";
tt2::parse_tt2($param,'config.tt2',\*CONFIG,[$family->{'dir'}]);
close CONFIG;

Unfortunately, that's not quite the XML import file the update method expects.. but I think I can work around this.


Thomas


Thomas Berry wrote:

I'm trying to follow the logic of the automatic list creation process, but have not been able to identify how Sympa generates an import file based on a Family's configuration (config.tt2).

All Sympa methods that deal with the creation and modification of lists require an import file, but I can find no code that describes how the automatic list creation process creates the initial import file for a new mailing list.

Any help to point me in the direction would be greatly appreciated.

Thomas




Archive powered by MHonArc 2.6.19+.

Top of Page