| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
correctly regardless of how it's used.
|
| |
|
|
| |
suite does not yet work though.
|
| | |
|
| | |
|
| |
|
|
|
|
|
| |
* Move the lmtp configurations to lazr.config
* Fixes to master.py
* In qrunner.py, don't override initialize()
* Make sure subprocesses get configured correctly during tests
|
| |
|
|
|
|
|
| |
Rewrote start_qrunners() for new lazr.config based configuration.
ReopenableFileHandler.reopen() given a default filename argument for reopening
to a different file. Useful in tests.
|
| |
|
|
|
|
|
|
|
|
| |
mailman.configuration -> mailman.config.config
mailman.initialize -> mailma.core.initialize
mailman.loginit -> mailman.core.logging (yay future absolute imports!)
Convert all configurations to lazr.config, though some legacy still remains,
and I haven't been able to remove Defaults.py yet. Added as_boolean() and
as_log_level() helpers for explicit type conversion. Added a schema.cfg.
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
| |
- Lots of Pipermail work just to get it to play nice with the new apis.
- Fix ARCHIVE_SCRUBBER
- Lots of changes to mailman.app.archiving, especially to provide an
adapter from the new MailingList api to the one expected by
Pipermail (e.g. archive_dir()).
- Add a test of the basic pipermail archiver.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
should be tests for these. :/
- Disable MTA hack in remove_list()
- Convert bin/inject to SingleMailingListOptions
- Remove an unnecessary import
- Fix qrunner restarts in bin/master
- Add IMailinglist.pipeline so that this value persists
- Move Runner.SLEEPTIME into the __init__() so that it isn't hurt by order of
configuration initialization.
|
| |
|
|
|
|
| |
- Add an options base class that groks unicode argument types
- Rename newlist to create_list
- Update list_lists, master, qrunner
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Refactor the TestableMaster class so that doctests don't need to do all the
threading and event fiddling themselves. Hide all that in the test class.
In bin/master, add the -r/--runner option to allow overriding the set of queue
runners to start from the command line. This is much more convenient than
fiddling the config file (which is still supported), and it allows us to start
a subset of the runners from the TestableMaster class.
Refactor the calculation of queue runner shortcut names into
Configuration.add_qrunner(). This way, it's easy to share between bin/qrunner
and bin/master.
Use pkg_resource in bin/testall to create the test configuration file. We're
still using mailman.__file__ as the target to os.walk() though, so this
conversion isn't complete.
In bin/testall, update to the new convention of putting .options and
.arguments on the parser instance, so we only need to pass back one thing.
In test_documentation.py, use config.verbosity instead of
config.options.verbosity. Wind that through to bin/testall while we're at
it.
Update loginit.py so that defaults for all the logging options can be found in
a [*] section. This is better than [DEFAULT] because the latter requires
%-interpolation and still requires each sublogger to be specified explicitly.
Now we just set values in the [*] section and have them apply to all loggers.
Allow for passing bin/testall's -v and -e options to any subprocesses that get
created, e.g. via the TestableMaster. Now testall will write a logging.cfg
file with a [*] entry as appropriate.
It's DEFAULT_DATABASE_URL now, not SQLALCHEMY_ENGINE_URL.
StockDatabase._reset() requires that the store be rolled back before it's
reset. Otherwise if there are outstanding transactions, the reset will fail
with an OperationalError.
Update the LMTPRunner. Have it return a 501 error if the message has defects.
Most defective messages are spam. Make the LMTPRunner startable and
stoppable. Just because it's asyncore based doesn't mean that's not possible
<wink>.
Enable the LMTP runner in tests.
|
| |
|