Subject: The mailing list for listmasters using Sympa
List archive
Re: [sympa-users] restore_list command line option
- From: "Stefan Hornburg (Racke)" <address@concealed>
- To: address@concealed
- Subject: Re: [sympa-users] restore_list command line option
- Date: Mon, 25 Sep 2017 07:36:17 +0200
On 09/22/2017 09:54 PM, Matt Taggart wrote:
> 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,
>
Hello Matt,
it makes sense to me to have such an option.
Creating a GH issue on this is likely to increase the chances
to get this implemented.
Regards
Racke
--
Ecommerce and Linux consulting + Perl and web application programming.
Debian and Sympa administration.
-
[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+.