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

Paolo Bonzini posted 2 patches 18 weeks ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/patchew-ci tags/patchew/20180730104406.22997-1-pbonzini@redhat.com
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(-)

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

Posted by Paolo Bonzini 18 weeks ago
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

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