Merge lp:~wgrant/launchpad/webhook-git-push into lp:launchpad
Proposed by
William Grant
Status: | Merged | ||||
---|---|---|---|---|---|
Merged at revision: | 17690 | ||||
Proposed branch: | lp:~wgrant/launchpad/webhook-git-push | ||||
Merge into: | lp:launchpad | ||||
Prerequisite: | lp:~wgrant/launchpad/webhook-trigger | ||||
Diff against target: |
163 lines (+96/-0) 3 files modified
database/schema/security.cfg (+2/-0) lib/lp/code/model/gitjob.py (+29/-0) lib/lp/code/model/tests/test_gitjob.py (+65/-0) |
||||
To merge this branch: | bzr merge lp:~wgrant/launchpad/webhook-git-push | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Kit Randel (community) | Approve | ||
Review via email: mp+267510@code.launchpad.net |
Commit message
Trigger git:push:0.1 webhooks as part of GitRefScanJobs.
Description of the change
Trigger git:push:0.1 webhooks as part of GitRefScanJobs.
The payload is currently quite limited: the git repository's shortened path, and a dict containing old and new SHA-1s for each changed ref. Details of commits aren't readily accessible without some refactoring, and we'll see what people actually want.
To post a comment you must log in.
One query around the payload (realise this is a first pass), otherwise looks great.