summaryrefslogtreecommitdiff
path: root/src/mailman/bin/qrunner.py
Commit message (Collapse)AuthorAgeFilesLines
* Major terminology shift:Barry Warsaw2011-06-011-281/+0
| | | | | | | | | | | | | | | | | * 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
* Rename 'queue' directory to 'runners' since not all subprocesses run a queue.Barry Warsaw2011-05-291-1/+1
|
* Happy New Year.Barry Warsaw2011-01-011-1/+1
|
* Fix the obvious errors identified by pyflakes. Skip false positives (mostlyBarry Warsaw2010-10-081-1/+1
| | | | | due to _() interpolation) and a few other problems that did not have immediately obvious fixes.
* Refactor, and add a missing import.Barry Warsaw2010-08-231-0/+1
|
* More fixes to the start up procedure. The root cause of the fix is that whenBarry Warsaw2010-03-281-8/+4
| | | | | | | | | | | | | | | | | | 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.
* Rip out lazr.restful and replace it with restish. This simpifies a lot of theBarry Warsaw2010-02-231-2/+3
| | | | | REST architecture, at the expense of a few features, and less support. So far so good though.
* A bit of clean up.Barry Warsaw2010-02-131-1/+5
|
* Happy New Year.Barry Warsaw2010-01-011-1/+1
|
* * Mostly eradicate mentions of mailmanctl.Barry Warsaw2009-12-051-16/+16
| | | | * 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.
* A start on the 'mailman' subcommand layout, with the help of argparse. RightBarry Warsaw2009-08-091-0/+10
| | | | | | | | | | | | | now the only subcommand is 'lists' which displays all mailing lists like the old bin/list_lists command did (which is now removed). Remove bin/version since 'bin/mailman --version' does this for us. Simplify the calculation of the bin scripts; there will be many fewer of them. Extend i18n to use a class based structure. By default, all i18n strings are dedented after translation and substitution, which improves command line help. The class structure allows for overriding this behavior.
* Pick some lintBarry Warsaw2009-07-101-5/+0
|
* Refactor __import__'s into a separate utility module.Barry Warsaw2009-05-161-5/+4
|
* rsplit -> rpartitionBarry Warsaw2009-05-151-5/+5
|
* Linux signal management appears to work differently than OS X. Introduce aBarry Warsaw2009-05-111-2/+4
| | | | | runner flag to indicate whether the qrunner parent process should intercept signals or not. The REST server should not intercept signals.
* More tests for the REST server, this time, for the queue runner.Barry Warsaw2009-05-101-2/+2
| | | | | | | | | | | Add logging to the RESTRunner. Also, use pkg_resources.resource_stream() instead of .resource_string() where appropriate. Add a bunch of XXX comments for things I need to figure out about the Zope-ish parts of the lazr.restful implementation. Change __getitem__() api to _lookup().
* The very basics of a working REST server. Only works for localhost:8001/sysBarry Warsaw2009-05-031-6/+10
|
* Push the source directory into a 'src' subdirectory so that zc.buildout worksBarry Warsaw2009-01-251-0/+269
correctly regardless of how it's used.