[Patchew-devel] [PATCH RFC 0/2] www: provide a quick way to download patches as mbox file

Paolo Bonzini pbonzini at redhat.com
Mon Jul 30 10:44:04 UTC 2018


The "download mbox" file downloads the entire thread, which is rarely
what you want to do.  Provide an alternative download link that only
includes the patches and, when the tags module is active, includes the
tags into the mbox.

This could also be used by the applier, instead of the more complicated
solution using git filter-branch that we have now.

Sending as RFC to get suggestions about the implementation and what to do
about the more complicated Content-Transfer-Encodings (8bit, quoted-printable,
base64).  It is probably best to use the email package to decode and re-encode
the message completely.

Paolo

Paolo Bonzini (2):
  tags: use regex to match tags
  www: provide a quick way to download patches as mbox file

 mods/tags.py                     | 60 +++++++++++++++++++++++++++++---
 www/templates/series-detail.html |  6 ++--
 www/urls.py                      |  1 +
 www/views.py                     | 11 ++++++
 4 files changed, 71 insertions(+), 7 deletions(-)

-- 
2.17.1




More information about the Patchew-devel mailing list