rev 1282 - trunk/siesta/messages

[prev] [thread] [next] [lurker] [Date index for 2003/08/01]

From: simon
Subject: rev 1282 - trunk/siesta/messages
Date: 14:53 on 01 Aug 2003
Author: simon
Date: 2003-08-01 14:53:26 +0100 (Fri, 01 Aug 2003)
New Revision: 1282

Modified:
   trunk/siesta/messages/backup
Log:
Backup all plugin queues


Modified: trunk/siesta/messages/backup
===================================================================
--- trunk/siesta/messages/backup	2003-08-01 11:13:49 UTC (rev 1281)
+++ trunk/siesta/messages/backup	2003-08-01 13:53:26 UTC (rev 1282)
@@ -27,23 +27,28 @@
 # and set the plugin prefs for the list and each user
 ###
 [% FOREACH list = lists %]
+
 # [% list.name %]
 nacho create-list [% list.name %] [% list.owner.email %] [% list.post_address %] [% list.return_path %]
-    [%- FOREACH plugin = list.plugins('post') %]
-nacho add-plugin [% list.name %] [% IF plugin.personal %]+[% END %][% plugin.name %] 
-        [%- FOREACH key = plugin.options.keys %] 
+	[%- FOREACH queue  = list.queues %] 
+
+nacho set-plugins [% list.name %] [% queue %] [%- FOREACH plugin = list.plugins( queue ) -%] [% plugin.name %][% END -%]
+    	[%- FOREACH plugin = list.plugins( queue ) -%]
+        	[%- FOREACH key = plugin.options.keys %] 
 nacho modify-plugin [% list.name %] [% plugin.name %] [% key %] [% shellq( plugin.pref( key ) ) %]
-        [%- END -%]
+        	[%- END -%]
 
-	[% IF plugin.personal %]
-            [%- FOREACH member = list.members -%][% x = plugin.member( member ) %]
-                [%- FOREACH key = plugin.options.keys %]
-				[%- val = plugin.pref( key ) %]
-				[%- IF val != plugin.options.$key.default %]
+			[%- IF plugin.personal -%]
+            	[%- FOREACH member = list.members -%][% x = plugin.member( member ) %]
+                	[%- FOREACH key = plugin.options.keys %]
+						[%- val = plugin.pref( key ) %]
+						[%- IF val != plugin.options.$key.default %]
 nacho modify-plugin [% list.name %] [% plugin.name %] [% key %] [% shellq( plugin.pref( key ) )%] [% member.email %] 
-				[%- END -%]
-                [%- END -%]
-            [%- END -%]
-        [% END %]
-    [%- END -%]
+						[%- END -%]
+            		[%- END -%]
+            	[%- END -%]
+        	[% END %]
+    	[%- END -%]
+
+	[%- END -%]
 [%- END -%]

Generated at 13:57 on 01 Jul 2004 by mariachi 0.52