lp:~barry/mailman/nose2

Created by Barry Warsaw and last modified
Get this branch:
bzr branch lp:~barry/mailman/nose2
Only Barry Warsaw can upload to this branch. If you are Barry Warsaw please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Barry Warsaw
Project:
GNU Mailman
Status:
Merged

Recent revisions

7219. By Barry Warsaw

* Suppress the extra Doctest: lines.
* Use DocFileTest directly.

7218. By Barry Warsaw

Add enough __init__.py files to make these docs directories discoverable.

7217. By Barry Warsaw

* Re-name doctests.
* Fix executable location now that we're not using buildout.
* Fix enum repr.

7216. By Barry Warsaw

Switch to virtualenv and nose2 instead of zc.buildout and zope.testing.

7215. By Barry Warsaw

 * `bin/runner` command has been simplified and its command line options
   reduced. Now, only one `-r/--runner` option may be provided and the
   round-robin feature has been removed.
 * Fixed REST server crash on `reopen` command. Identification and test
   provided by AurĂ©lien Bompard. (LP: #1184376)

Also:

 * bin/runner now uses standard argparse instead of ScriptOptions.
 * The entire bin/runner machinery has bee reorganized and simplified. There
 * is no more Loop class. Signal setting is moved directly into the base
   Runner class and overrided in specific subclasses (e.g. RESTRunner which
   must cleanly shutdown its TCPServer). The runner exit status is now set
   directly on the Runner instance.
 * Fixed a few minor style issues.
 * In order to cleanly shutdown the RESTRunner's WSGI server, we must start a
   subthread which only watches for an Event and then calls the server's
   shutdown() method. It has to be this way because the WSGI server itself
   (due to interactions with SQLite), and the signal handlers (due to Python's
   signal handling semantics) must both run in the main thread. However, the
   shutdown() must be invoked from a subthread in order to prevent deadlock.
 * Refactor the RESTLayer to eliminate duplication of code.

7214. By Barry Warsaw

 * Add `subject_prefix` to the `IMailingList` interface, and clarify the
   docstring for `display_name`. (LP: #1181498)

7213. By Barry Warsaw

add comment

7212. By Barry Warsaw

 * Fix REST server crash on `mailman reopen` due to no interception of
   signals. (LP: #1184376)

7211. By Barry Warsaw

PEP 435 enums won't allow extensibility through inheritance.

7210. By Barry Warsaw

* Support pagination of some large collections (lists, users, members).
  Given by Florian Fuchs. (LP: #1156529)

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:mailman
This branch contains Public information 
Everyone can see this information.

Subscribers