From bb45766f91ddce5e68ddf0a1fe6fe67d2f93dd60 Mon Sep 17 00:00:00 2001 From: Barry Warsaw Date: Sun, 20 Dec 2015 12:44:06 -0500 Subject: Add a send-digests subcommand to send list digests right now. * Add a `mailman send-digests` subcommand which replaces the functionality of the MM2.1 senddigests.py cronjob. * Use mlist.data_path where appropriate instead of crafting it from config.LIST_DATA_DIR. This makes it more consistent to switch to using the list-id as the data subdirectory. * Refactor the to_digest handler so that we can implement maybe_send_digest_now() for the internal API. * Fix some typos in subcommand --help summaries. --- src/mailman/interfaces/mailinglist.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/mailman/interfaces') diff --git a/src/mailman/interfaces/mailinglist.py b/src/mailman/interfaces/mailinglist.py index 75fdce327..2d2062d9c 100644 --- a/src/mailman/interfaces/mailinglist.py +++ b/src/mailman/interfaces/mailinglist.py @@ -316,7 +316,8 @@ class IMailingList(Interface): being collected.""") digest_send_periodic = Attribute( - "Should a digest be sent daily even when the size threshold isn't met?") + """Should a digest be sent by the `mailman send_digest` command even + when the size threshold hasn't yet been met?""") digest_volume_frequency = Attribute( """How often should a new digest volume be started?""") -- cgit v1.2.3-70-g09d2