[PATCH 00/10] Add support for tests "statuses"

Stephen Finucane stephen.finucane at intel.com
Wed Jul 29 18:58:38 AEST 2015


This series introduces support for patch "statuses". 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.

Stephen Finucane (10):
  models: Resolve issues with Patch.state
  trivial: Cleanup of 'models.py'
  trivial: Cleanup of 'admin.py'
  models: Add 'status' model
  models: Add properties related to status
  templates/patch-list: Add patch "status" column
  templates/patch: Add status summary panel
  trivial: Clean up 'views/xmlrpc.py'
  views/xmlrpc: Add 'statuses' endpoint
  pwclient: Integrate 'status' endpoint

 htdocs/css/style.css                               |  44 +++
 lib/sql/grant-all.mysql.sql                        |   5 +-
 lib/sql/grant-all.postgres.sql                     |  11 +-
 lib/sql/migration/016-add-status-model.sql         |   6 +
 patchwork/admin.py                                 |  50 ++-
 patchwork/bin/pwclient                             |  14 +
 patchwork/migrations/0001_initial.py               |   2 +-
 .../0002_fix_patch_state_default_values.py         |  19 +
 patchwork/migrations/0003_add_status_model.py      |  33 ++
 patchwork/models.py                                | 353 +++++++++++------
 patchwork/settings/base.py                         |   1 +
 patchwork/templates/patchwork/patch-list.html      |   5 +
 patchwork/templates/patchwork/patch.html           |  25 ++
 patchwork/templatetags/patch.py                    |  18 +
 patchwork/tests/test_statuses.py                   | 162 ++++++++
 patchwork/views/xmlrpc.py                          | 423 +++++++++++++--------
 16 files changed, 893 insertions(+), 278 deletions(-)
 create mode 100644 lib/sql/migration/016-add-status-model.sql
 create mode 100644 patchwork/migrations/0002_fix_patch_state_default_values.py
 create mode 100644 patchwork/migrations/0003_add_status_model.py
 create mode 100644 patchwork/tests/test_statuses.py

-- 
2.0.0



More information about the Patchwork mailing list