~sambuddhabasu1/mailman/fix_mailman_run_error

  • Committer: Barry Warsaw
  • Date: 2013-06-17 13:36:43 UTC
  • Revision ID: barry@list.org-20130617133643-uj7atdykh2whwabw
 * `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.
Filename Latest Rev Last Changed Committer Comment Size
..
docs 6873 14 years ago Barry Warsaw Documentation reorganization. Diff
tests 6981 13 years ago Barry Warsaw Add some tests to ensure that the correct number o Diff
__init__.py 6799.2.1 15 years ago Barry Warsaw database/model reorganization. Model classes go i Empty Diff Download File
address.py 7199 11 years ago Barry Warsaw Bump copyright years. 2.7 KB Diff Download File
autorespond.py 7199 11 years ago Barry Warsaw Bump copyright years. 3.1 KB Diff Download File
bans.py 7199 11 years ago Barry Warsaw Bump copyright years. 3.6 KB Diff Download File
bounce.py 7199 11 years ago Barry Warsaw Bump copyright years. 2.5 KB Diff Download File
digests.py 7199 11 years ago Barry Warsaw Bump copyright years. 1.6 KB Diff Download File
domain.py 7199 11 years ago Barry Warsaw Bump copyright years. 5.7 KB Diff Download File
language.py 7199 11 years ago Barry Warsaw Bump copyright years. 1.1 KB Diff Download File
listmanager.py 7203.1.1 11 years ago Barry Warsaw * Creation of lists with upper case names should 4 KB Diff Download File
mailinglist.py 7199 11 years ago Barry Warsaw Bump copyright years. 18.4 KB Diff Download File
member.py 7199 11 years ago Barry Warsaw Bump copyright years. 6.4 KB Diff Download File
message.py 7199 11 years ago Barry Warsaw Bump copyright years. 1.6 KB Diff Download File
messagestore.py 7199 11 years ago Barry Warsaw Bump copyright years. 5 KB Diff Download File
mime.py 7199 11 years ago Barry Warsaw Bump copyright years. 1.5 KB Diff Download File
pending.py 7199 11 years ago Barry Warsaw Bump copyright years. 6.1 KB Diff Download File
preferences.py 7199 11 years ago Barry Warsaw Bump copyright years. 2.2 KB Diff Download File
requests.py 7199 11 years ago Barry Warsaw Bump copyright years. 5.2 KB Diff Download File
roster.py 7199 11 years ago Barry Warsaw Bump copyright years. 8.6 KB Diff Download File
uid.py 7199 11 years ago Barry Warsaw Bump copyright years. 2.3 KB Diff Download File
user.py 7199 11 years ago Barry Warsaw Bump copyright years. 5.1 KB Diff Download File
usermanager.py 7199 11 years ago Barry Warsaw Bump copyright years. 3.8 KB Diff Download File
version.py 7199 11 years ago Barry Warsaw Bump copyright years. 1.3 KB Diff Download File