[PATCH v2 00/10] Add support for tests "checks"
Stephen Finucane
stephen.finucane at intel.com
Fri Oct 2 00:52:24 AEST 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.
v2:
- Rename 'status' to 'check' to prevent confusion with 'state'
Stephen Finucane (10):
models: Resolve issues with Patch.state
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
trivial: Clean up 'views/xmlrpc.py'
views/xmlrpc: Add 'checks' endpoint
pwclient: Integrate 'checks' 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_check_model.py | 33 ++
patchwork/models.py | 351 ++++++++++++------
patchwork/settings/base.py | 1 +
patchwork/templates/patchwork/patch-list.html | 5 +
patchwork/templates/patchwork/patch.html | 25 ++
patchwork/templatetags/patch.py | 19 +
patchwork/tests/test_checks.py | 162 +++++++++
patchwork/views/xmlrpc.py | 405 +++++++++++++--------
16 files changed, 884 insertions(+), 268 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_check_model.py
create mode 100644 patchwork/tests/test_checks.py
--
2.0.0
More information about the Patchwork
mailing list