]> git.ozlabs.org Git - patchwork/commit
views/bundle: Allow downloading public bundle as mbox
authorSimo Sorce <idra@samba.org>
Tue, 6 Nov 2012 17:45:08 +0000 (17:45 +0000)
committerJeremy Kerr <jk@ozlabs.org>
Sun, 30 Dec 2012 04:36:04 +0000 (12:36 +0800)
commit97d47d0e72c576ba3a09e85fc05e1ba6e0fb6d32
treee8bbc6986bb014a1397dfdd41aef96e75064c936
parent27b72379bf581c8b3d106bfabc67bd82a18edfc7
views/bundle: Allow downloading public bundle as mbox

Downloading single patches anonymously is allowed, we may as well allow
downloading public bundles as mboxes.

This patch also changes the file name to be bundle-<id>-<name>.mbox so
that the file name is unique even if bundle names are reused.

Signed-off-by: Simo Sorce <idra@samba.org>
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
apps/patchwork/urls.py
apps/patchwork/views/bundle.py
templates/patchwork/bundle-public.html