[Patchew-devel] [PATCH 0/7] filters for email templates
Paolo Bonzini
pbonzini at redhat.com
Thu Mar 8 08:00:35 UTC 2018
These patches add template tags and filters designed for use in email sent
by Patchew: convert ANSI to text, and grep with context.
Once committed, I'd like to try this out by setting up an email hook on
next.patchew.org. Can you send me the template you're using for QEMU
notifications on the master site?
Paolo
RFC->v1:
- add patch 5
- fix tests
- use U+2500 BOX DRAWINGS LIGHT HORIZONTAL for \f
Paolo Bonzini (7):
ansi2html: add _write_form_feed
ansi2html: create ANSIProcessor superclass
ansi2html: create ANSI to text converter
add custom template tags for manipulating testing logs
rest: pass request to hooks
testing: add reverse_testing_log
testing: pass log URL in the TestingReport event
api/rest.py | 12 ++-
mods/diff.py | 2 +-
mods/git.py | 2 +-
mods/tags.py | 2 +-
mods/testing.py | 56 ++++++-----
patchew/logviewer.py | 252 ++++++++++++++++++++++++++++------------------
patchew/settings.py | 3 +
patchew/tags.py | 96 ++++++++++++++++++
tests/test_ansi2html.py | 75 +++++++++++++-
tests/test_custom_tags.py | 129 ++++++++++++++++++++++++
10 files changed, 498 insertions(+), 131 deletions(-)
create mode 100644 patchew/tags.py
create mode 100755 tests/test_custom_tags.py
--
2.14.3
More information about the Patchew-devel
mailing list