[PATCH 00/10] Patchwork Autodelegate patches

Mauro Carvalho Chehab mchehab at osg.samsung.com
Sat Nov 28 23:14:36 AEDT 2015


This patch series contain the non-LinuxTV specific patches,
mainly the auto-delegate patches written by Laurent Pinchart.

Those got ported to patchwork upstream.

Please notice that I'm still fighting to finish the migration
from Django 1.4 to Django 1.7. So, this patch series is not
fully tested.

The auto-delegation patches are authored by Laurent, and were
rebased by me to apply under the upstream branch. They're
working for a long time at LinuxTV.org, but the rebase might
cause some troubles on them.

So, please test.

There are some patches I wrote myself, to fix some bugs
and improve a few things:

- When a patch is delegated, it will add a new meta tag
(X-Patchwork-Delegate) via xmlrpc. This helps my local scripts
to detect when a patch is already being handled by somebody else.

- Added the new delegate table to migrations. The patch
was actually generated via ./manage makemigrations. Not sure
if this is correct, as I didn't need to do any migrations related
to it here ;)

- Added some prints that helps to debug troubles with parsemail.
>From time to time, we have troubles with non-UTF8 messages on
different parts of the e-mail. Those prints helps a lot to
identify when a patch is not handled, giving some explanation
why it failed.

Laurent Pinchart (6):
  models: Add DelegationRule object
  parser: Add patch_get_filenames()
  parser: Set the delegate using Delegation rules
  forms: Allow the delegate field to keep its current value
  models: Add priority field to DelegationRule
  parser: Use full regexps for delegation rules paths

Mauro Carvalho Chehab (4):
  Report if a patch is delagated and to whom
  views: make X-Patchwork-Delegate: to work again
  Add delegate to migrations
  parsemail: Add print messages to help debugging email parsing

 patchwork/admin.py                   |  9 +++-
 patchwork/bin/parsemail.py           | 81 +++++++++++++++++++++++++++++++-----
 patchwork/bin/parsemail.sh           |  2 +-
 patchwork/forms.py                   | 16 ++++---
 patchwork/migrations/0001_initial.py | 24 +++++++++++
 patchwork/models.py                  | 72 ++++++++++++++++++++++++++++++++
 patchwork/parser.py                  | 34 +++++++++++++++
 patchwork/views/__init__.py          |  4 ++
 8 files changed, 223 insertions(+), 19 deletions(-)

-- 
2.5.0



More information about the Patchwork mailing list