diff options
| author | Barry Warsaw | 2015-12-20 12:44:06 -0500 |
|---|---|---|
| committer | Barry Warsaw | 2015-12-20 12:44:06 -0500 |
| commit | bb45766f91ddce5e68ddf0a1fe6fe67d2f93dd60 (patch) | |
| tree | 1eb70a7836fc5e59968c635f65715de91c766c09 /src/mailman/database | |
| parent | d7bc81a6ab97cd00c70da901cb1d04f80f896685 (diff) | |
| download | mailman-bb45766f91ddce5e68ddf0a1fe6fe67d2f93dd60.tar.gz mailman-bb45766f91ddce5e68ddf0a1fe6fe67d2f93dd60.tar.zst mailman-bb45766f91ddce5e68ddf0a1fe6fe67d2f93dd60.zip | |
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.
Diffstat (limited to 'src/mailman/database')
| -rw-r--r-- | src/mailman/database/alembic/versions/70af5a4e5790_digests.py | 2 |
1 files changed, 2 insertions, 0 deletions
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 |
