~ines-almeida/launchpad:add-bug-webhooks/hook-webhooks-up-to-events

Last commit made on 2023-06-19
Get this branch:
git clone -b add-bug-webhooks/hook-webhooks-up-to-events https://git.launchpad.net/~ines-almeida/launchpad
Only Ines Almeida can upload to this branch. If you are Ines Almeida please log in for upload directions.

Branch merges

Branch information

Name:
add-bug-webhooks/hook-webhooks-up-to-events
Repository:
lp:~ines-almeida/launchpad

Recent commits

896ac91... by Ines Almeida

Minor typos fix and specify keyword args

Succeeded
[SUCCEEDED] docs:0 (build)
[SUCCEEDED] lint:0 (build)
[SUCCEEDED] mypy:0 (build)
13 of 3 results
80dead0... by Ines Almeida

Update bug events payload to contain 'new' and 'old' attributes

Rename action to '<field>-changed' to match other events within LP.
Update relevant unit tests.

Succeeded
[SUCCEEDED] docs:0 (build)
[SUCCEEDED] lint:0 (build)
[SUCCEEDED] mypy:0 (build)
13 of 3 results
f4052e2... by Ines Almeida

Update webhook payload builder to allow renaming fields

84c1946... by Ines Almeida

Minor refactor of webhooks.py structure and docstrings

65f5854... by Ines Almeida

Update bug event payloads

Also we now trigger the bug task updated event when a bug field changes.
So now we will trigger the webhook both when there is a bugtask field change (status, assigne, ...) or a bug field change (description, title, ...)

ba4e0eb... by Ines Almeida

Update unit tests after bug webhook payload refactoring

0416f1a... by Ines Almeida

Refactor bug webhooks trigger functions

Update documentation and change namings

5afe432... by Ines Almeida

Add unit tests to check webhooks get triggered

Test creating anf modifying a bug/comment triggers webhooks

0a9aafd... by Ines Almeida

Add hooks and actions to trigger bug webhooks on objects change

Add hooks to trigger webhooks when bug, bugtask or bug comment are modified or created

2f16870... by Colin Watson

Optimize short-circuit case in PersonSet.findPerson

Merged from https://code.launchpad.net/~cjwatson/launchpad/+git/launchpad/+merge/436194