[PATCH v3 0/8] Add support for tests "checks"

Stephen Finucane stephen.finucane at intel.com
Fri Nov 6 04:13:15 AEDT 2015


This series introduces support for patch "checks". These are results
of tests and other automated checks executed on any given patch. Such
tests and checks can range from unit tests and license validation to
large integration and performance testing. These statuses can be
provided by multiple users, thus allowing for a "distibuted test
infrastructure".

This feature requires a number of changes, such as new models and
extensions to the templates. Some new "endpoints" are provided for the
XML-RPC API along with a minimal extension to the 'pwclient'
application. It is envisioned that both this application and the
broader collection of scripts provided with patchwork will be expanded
on by the community as required.

This feature is entirely optional and can be ignored by users if so
desired.

v3:
- Merge with Web UI rework
- Remove already-upstreamed patches
- Remove manual SQL migrations, which are not necessary now that Django
  1.6 support have been removed.
v2:
- Rename 'status' to 'check' to prevent confusion with 'state'

Stephen Finucane (8):
  trivial: Cleanup of 'models.py'
  trivial: Cleanup of 'admin.py'
  models: Add 'check' model
  models: Add properties related to checks
  templates/patch-list: Add patch "checks" column
  templates/patch: Add check summary panel
  views/xmlrpc: Add 'checks' endpoint
  pwclient: Integrate 'checks' endpoint

 htdocs/css/style.css                          |  54 ++++
 patchwork/admin.py                            |  50 +++-
 patchwork/bin/pwclient                        |  14 ++
 patchwork/migrations/0003_add_check_model.py  |  33 +++
 patchwork/models.py                           | 345 ++++++++++++++++++--------
 patchwork/settings/base.py                    |   1 +
 patchwork/templates/patchwork/patch-list.html |   5 +
 patchwork/templates/patchwork/patch.html      |  32 +++
 patchwork/templatetags/patch.py               |  19 ++
 patchwork/tests/test_checks.py                | 162 ++++++++++++
 patchwork/views/xmlrpc.py                     | 180 +++++++++++++-
 11 files changed, 782 insertions(+), 113 deletions(-)
 create mode 100644 patchwork/migrations/0003_add_check_model.py
 create mode 100644 patchwork/tests/test_checks.py

-- 
2.0.0



More information about the Patchwork mailing list