Skip to Content.
Sympa Menu

devel - [sympa-dev] Re: [sympa-users] Re: updating lists that were automatically created

Subject: Developers of Sympa

List archive

Chronological Thread  
  • From: Thomas Berry <address@concealed>
  • To: "sympa dev" <address@concealed>
  • Subject: [sympa-dev] Re: [sympa-users] Re: updating lists that were automatically created
  • Date: Wed, 25 Apr 2007 07:48:18 -0700

Olivier Salaün - CRU wrote:
Hi Thomas,

Thomas Berry wrote:
I just upgraded to the latest release of Sympa: 5.3b.4 from the svn repository.

For lists that were automatically created, it isn't apparent how to update the lists when changes are made to their family configuration.
Currently the only way to trigger list families update is via the "sympa.pl --modify_list" command (to update a single list) or "sympa.pl --instantiate_family" (to update all lists belonging to the family).
You'll remember that we added a dynamic list settings within the config.tt2 of the family using the TT Plugin function to take advantage of some of the list's settings that are stored in the LDAP directory.

This family's lists were created with Sympa's automatic list creation feature; for this reason, the family and its lists do not have an XML input file needed to use ./sympa.pl --instantiate_family and --modify_list options.

As for the family configuration, we've added a TT2 Plugin to the family's list configuration (config.tt2). When a list gets instantiated, some of the mailing list's settings are read from an LDAP directory entry with the same name as the mailing list. Each mailing list starts out as an LDAP entry that contains some of the more basic Sympa configuration options, such as send and review, in addition to the members of the mailing list. This is also the reason we need the list configurations to be updated, since the owner of the LDAP entry has the ability to change the list settings after the list is created. We want the list owners to manage their LDAP entries (and list configuration) from a single interface created for LDAP entries; this means we need to prevent List owners from using the more extensive Sympa web interface for mailing list configuration changes.

I'm hoping to come up with some solution, as I need to introduce the LDAP/list integration to our users by mid-May. It looks like I may need to dissect the "automatic list creation" code from Sympa to build a stand-alone process that updates these lists periodically. Unless someone has a better idea?

Thomas



  • [sympa-dev] Re: [sympa-users] Re: updating lists that were automatically created, Thomas Berry, 04/25/2007

Archive powered by MHonArc 2.6.19+.

Top of Page