[RFC 0/3] Add "events"
Stephen Finucane
stephen at that.guru
Wed Oct 19 07:12:02 AEDT 2016
Provide a way for users to get a list of events they may be interested
in. This case be useful for CI systems or for general use in a ticker
or similar system. The following events are supported now:
- Patch Created
- Patch Dependencies Met
- Delegate Changed
- State Changed
- Check Added
The following events are not yet supported, as they would require
further database changes or not deliver tangible value:
- Bundle Created/Changed
- Comment Added
- Tag Added
Stephen Finucane (3):
models: Move signal to 'signals'
models: Add 'Event' model
models: Add callbacks for events
patchwork/__init__.py | 20 +++++
patchwork/apps.py | 29 +++++++
patchwork/models.py | 90 +++++++++++---------
patchwork/signals.py | 172 +++++++++++++++++++++++++++++++++++++++
patchwork/templatetags/compat.py | 1 +
patchwork/tests/test_events.py | 159 ++++++++++++++++++++++++++++++++++++
patchwork/tests/utils.py | 15 ++++
7 files changed, 449 insertions(+), 37 deletions(-)
create mode 100644 patchwork/apps.py
create mode 100644 patchwork/signals.py
create mode 100644 patchwork/tests/test_events.py
--
2.7.4
More information about the Patchwork
mailing list