Subject: The mailing list for listmasters using Sympa
List archive
- From: Matt Taggart <address@concealed>
- To: address@concealed
- Subject: [sympa-users] restore_list command line option
- Date: Fri, 22 Sep 2017 12:54:15 -0700
Hi sympa,
To close large lists we use the command line method:
sympa.pl --close_list=list@robot
since the process takes long enough that the web method times out.
Today we ran into a situation where were needed to _restore_ a large
list, but there doesn't seem to be a --restore_list option.
I took a look at what wwsympa is doing and for closing lists (in
do_close_list) and it's calling the generic $list->close from List.pm,
but for restoring lists (in do_restore_list) it's doing a bunch of
the work itself (change status, save config, restore subscriber dump,
insert users in db, savestats, setup aliases, etc).
Any chance that could be refactored and moved into a $list->restore
in List.pm and we could also get a --restore_list option?
Thanks,
--
Matt Taggart
address@concealed
-
[sympa-users] restore_list command line option,
Matt Taggart, 09/22/2017
- Re: [sympa-users] restore_list command line option, Stefan Hornburg (Racke), 09/25/2017
Archive powered by MHonArc 2.6.19+.