[PATCH 0/5] Resolve issues with 'tools' scripts

Stephen Finucane stephen at that.guru
Fri Nov 18 11:54:47 AEDT 2016


There are two scripts provided in tools that reference the removed
hash function of the 'parser' script. Update these to use one of the
management commands, with some cleanup along the way.

Stephen Finucane (5):
  parser: Remove unused parameter
  management: Enable configurable logging levels
  parsemail: Add '--hash' argument
  tools: Trivial formatting fixes
  tools: Update to use 'parsemail --hash'

 patchwork/management/commands/__init__.py     |  34 +++++++
 patchwork/management/commands/parsearchive.py |   8 +-
 patchwork/management/commands/parsemail.py    |  18 ++++
 patchwork/parser.py                           |  21 ++++-
 patchwork/settings/base.py                    |   2 +-
 patchwork/tests/test_management.py            |   9 ++
 patchwork/tests/test_parser.py                |  31 ++----
 tools/patchwork-update-commits                |  47 +++++++--
 tools/post-receive.hook                       | 131 ++++++++++++++++----------
 9 files changed, 216 insertions(+), 85 deletions(-)

-- 
2.7.4



More information about the Patchwork mailing list