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/database/alembic/versions/70af5a4e5790_digests.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/mailman/database') diff --git a/src/mailman/database/alembic/versions/70af5a4e5790_digests.py b/src/mailman/database/alembic/versions/70af5a4e5790_digests.py index 5df46b584..2b53202d9 100644 --- a/src/mailman/database/alembic/versions/70af5a4e5790_digests.py +++ b/src/mailman/database/alembic/versions/70af5a4e5790_digests.py @@ -25,3 +25,5 @@ def downgrade(): batch_op.alter_column('digests_enabled', new_column_name='digestable') # The data for this column is lost, it's not used anyway. batch_op.add_column(sa.Column('nondigestable', sa.Boolean)) + +# XXX - move list.data_path -- cgit v1.2.3-70-g09d2