summaryrefslogtreecommitdiff
path: root/src/mailman/commands/cli_control.py
Commit message (Collapse)AuthorAgeFilesLines
* 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