Skip to Content.
Sympa Menu

en - Re: [sympa-users] How to reload data sources per email interface?

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: David Verdin <address@concealed>
  • To: address@concealed
  • Subject: Re: [sympa-users] How to reload data sources per email interface?
  • Date: Tue, 20 Nov 2012 16:17:26 +0100

Hi Paul,

Le 20/11/12 15:49, Paul Menzel a écrit :
Dear David,


Am Dienstag, den 20.11.2012, 15:31 +0100 schrieb David Verdin:

If you want scheduled updates, just change the ttl for your lists. The 
ttl is the config parameter that defined how long it takes between each 
synchronizations with the data sources.
thanks for the hint.

So judging from your response their is no callback(?) mechanism, that if
a subscriber is changed it notifies all “upper” lists it is included
into to refresh. That would be best, I guess.
Your guess is right...
Actually I think our top down mechanism would still work better.

Suppose you have three lists: A, B and C.
- list A includes list B
- list B includes list C
- lists C is synchronized with and LDAP.

When using the members list of list A, we could just trigger synchronization for any list included in list A.
This way, when accessing the list of users from list A, Sympa would do the following:

- require synchronization for list A
    |--> require synchronization for list B
        |--> require synchronization for list C
        |--> update list C with the content of LDAP directory
    |-->update list B with the updated content of list C
|--> update list A with the updated content of list B (itself updated with the updated content of list C)

This way, we would not have to bother updating any list which is included in another one (which would not be easy, as included lists do not "know" in which list they are included) and just make synchronizations when needed, and at the needed level (no need to update list A if we are only interrested in list B).

This will probably be quite easy to do, so I'll put it on our todo...

Cheers,

David


Thanks,

Paul

Attachment: smime.p7s
Description: Signature cryptographique S/MIME




Archive powered by MHonArc 2.6.19+.

Top of Page