[PATCH v2 0/6] Resolve issues with 'tools' scripts

Stephen Finucane stephen at that.guru
Thu Dec 1 05:42:41 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 (6):
  parser: Remove unused parameter
  parser: Trivial rename of functions
  parser: Move mail parsing into another module
  extractor: Re-add 'main' method
  tools: Trivial formatting fixes
  tools: Update to use 'extractor'

 patchwork/extractor.py         | 345 +++++++++++++++++++++++++++++++++++++++++
 patchwork/models.py            |  52 +------
 patchwork/parser.py            | 242 ++---------------------------
 patchwork/tests/test_parser.py |  33 ++--
 tools/patchwork-update-commits |  33 +++-
 tools/post-receive.hook        | 116 ++++++++------
 6 files changed, 462 insertions(+), 359 deletions(-)
 create mode 100644 patchwork/extractor.py

-- 
2.9.3



More information about the Patchwork mailing list