summaryrefslogtreecommitdiff
path: root/src/mailman/commands/cli_control.py
Commit message (Collapse)AuthorAgeFilesLines
* Bump copyright years.Barry Warsaw2017-01-041-1/+1
|
* Use `atpublic` for @public instead of internal copy.Barry Warsaw2016-11-291-1/+1
|
* Fix the Flake8 ignore tagsAurélien Bompard2016-11-211-1/+1
|
* Rebase mailman/mailman!180 and cleanup # noqaBarry Warsaw2016-07-281-1/+1
|
* Don't use `flake8: noqa`.Barry Warsaw2016-04-011-1/+1
| | | | | | | This suppresses all errors in the file. Use `noqa`, although pep8 doesn't honor this for all errors. There may be a plugin which helps.
* Clean up the commands subdirectory.Barry Warsaw2016-03-241-12/+6
|
* Happy New Year.Barry Warsaw2016-01-021-1/+1
|
* Add a send-digests subcommand to send list digests right now.Barry Warsaw2015-12-201-1/+1
| | | | | | | | | | | | | | * 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.
* typofixesSumana Harihareswara2015-04-191-2/+2
|
* * Fix calculation of default configuration file to use when the ``$var_dir``Barry Warsaw2015-01-201-5/+14
| | | | is created by ``mailman start``. (LP: #1411435)
* Bump copyright years.Barry Warsaw2015-01-041-1/+1
|
* Fix the passing of certain essential environment variables down from theBarry Warsaw2015-01-021-4/+5
| | | | | | | | | `mailman` foreground command, through the `master` command and to the `runner` command. Specifically, to ensure that all agree on $VAR_DIR, we ahve to set MAILMAN_VAR_DIR in the environment that `runner` gets. Also, so that all agree on the same configuration, always pass -C pointing explicitly to the cfg file that the `mailman` command sees.
* Remove huge amounts of now unnecessary file boilerplate.Barry Warsaw2014-12-221-6/+2
|
* Bump copyright years.Barry Warsaw2014-01-011-1/+1
|
* Bump copyright years.Barry Warsaw2013-01-011-1/+1
|
* * Improve the --help text for the `start`, `stop`, `restart`, and `reopen`Barry Warsaw2012-12-231-4/+4
| | | | subcommands. (LP: #1035033)
* * `bin/mailman start` was passing the wrong relative path to its runnerBarry Warsaw2012-10-241-3/+7
| | | | subprocesses when -C was given. LP: #982551
* General code cleanup.Barry Warsaw2012-04-251-16/+13
| | | | | | | | - Add explicit dependency on zope.event in setup.py. - Use Python 3 compatible syntax for specifying that a class implements an interface, i.e. the @implementer class decorator. - print_function futures. - Whitespace normalization.
* copybumpBarry Warsaw2012-01-011-1/+1
|
* * `bin/mailman start --force` option is fixed. (LP: #869317)Barry Warsaw2011-10-161-2/+4
| | | | | | | | | | | | * acquire_lock_1(): No need to unlink the tempfile * Start.process(): Don't print error message when the lock is in stale_lock or host_mismatch status and --force has been given. * control.rst: Refactor test code into test_control.py. * test_create.py: To more accurately mimic argparse, FakeParser.error() needs to `sys.exit(1)`. The `SystemExit` must also be caught in the appropriate tests. * logging.py: Locking is now down by the flufl.lock package, so apply the `mailman.lock` configuration to it.
* Major terminology shift:Barry Warsaw2011-06-011-5/+5
| | | | | | | | | | | | | | | | | * Queue runners are now called just 'Runners' since several of them don't manage queue directories. * Ban the term 'qrunner' too. * The master queue runner watcher should now just be called the 'master' or the 'master runner'. * bin/qrunner -> bin/runner * mailman.qrunner log file -> mailman.runner * master-qrunner.lck -> master.lck * master-qrunner.pid -> master.pid Also: * Remove some obsolete files * Begin the .txt -> .rst renaming
* Typo fix.Barry Warsaw2011-04-121-1/+1
|
* Happy New Year.Barry Warsaw2011-01-011-1/+1
|
* * Start to get rid of pylint; it's more trouble than it's worth and pyflakesBarry Warsaw2010-12-221-1/+12
| | | | | | | | | | | | | does a pretty good job anyway. * Remove master.get_lock_data() now that flufl.lock 2.1 provides the same detailed information. * Add WatcherState.none to indicate that the master is not running. * Instrument master_state() and acquire_lock_1() for testing, and add unittests. * LBYL for 'bin/mailman start' so that the error message when the master is already running happens in the foreground process and is more user friendly. * Add 'bin/mailman status' to provide master queue runner status on the command line.
* More fixes to the start up procedure. The root cause of the fix is that whenBarry Warsaw2010-03-281-0/+3
| | | | | | | | | | | | | | | | | | var_dir in the config file is a relative path, the bin/master and bin/qrunner subprocesses end up creating another hierarchy under $VAR_DIR. This is because 'bin/mailman start' chdirs to $VAR_DIR before starting master. The fix involves putting the absolute path to $VAR_DIR in the $MAILMAN_VAR_DIR environment variable. If the configuration file reader sees this, it uses the value instead of $var_dir from the configuration file. Another change is to remove qrunner's --subproc/-s option and stick this in the environment as well, using $MAILMAN_UNDER_MASTER_CONTROL. Other fixes here include: * Deciphering the master lock file contents correctly * Reformatting the error message so that it fits in 79 columns when prefixed by argparse error info.
* Checkpointint support for different path layouts, allowing us to optionallyBarry Warsaw2010-01-271-3/+3
| | | | | | | | support the Filesystem Hierarchy Standard. This is done through the configuration file. * add a --paths/-p option to 'bin/mailman info' * PIDFILE -> PID_FILE
* Happy New Year.Barry Warsaw2010-01-011-1/+1
|
* * Refactor the language manager off of the config object and into a utility.Barry Warsaw2009-12-101-2/+3
| | | | | | | | * Fix a few small typos in exception handlers. * Move the initialization of the Zope Component Architecture into the first initialization step. The only reason we couldn't do that previously was because the domain object referenced the config, causing a circularity problem. Refactor the Domain implementation to avoid that.
* * Mostly eradicate mentions of mailmanctl.Barry Warsaw2009-12-051-5/+5
| | | | * In most human readable text, qrunner -> queue runner
* Factor out most of the i18n subsystem and convert to using the flufl.i18nBarry Warsaw2009-11-151-1/+1
| | | | package.
* Add bin/mailman reopen and bin/mailman restartBarry Warsaw2009-10-061-9/+37
| | | | Add .log prefix onto default logging file names.
* Move mailmanctl start and stop commands into bin/mailman.Barry Warsaw2009-10-061-0/+169