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 _______________________________________________ Patchwork mailing list [email protected] https://lists.ozlabs.org/listinfo/patchwork
