[Patchew-devel] [PATCH 0/7] filters for email templates

Paolo Bonzini posted 7 patches 6 years, 1 month ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/patchew-ci tags/patchew/20180308080042.19342-1-pbonzini@redhat.com
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
[Patchew-devel] [PATCH 0/7] filters for email templates
Posted by Paolo Bonzini 6 years, 1 month ago
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

_______________________________________________
Patchew-devel mailing list
Patchew-devel@redhat.com
https://www.redhat.com/mailman/listinfo/patchew-devel
Re: [Patchew-devel] [PATCH 0/7] filters for email templates
Posted by Fam Zheng 6 years, 1 month ago
On Thu, 03/08 09:00, Paolo Bonzini wrote:
> 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?

I have copied your next.patchew.org auth_user record to patchew.org, could you
check if you can login with the same password?

Fam

_______________________________________________
Patchew-devel mailing list
Patchew-devel@redhat.com
https://www.redhat.com/mailman/listinfo/patchew-devel