stable
Clone or download
Read-only
This is part of story #17180 take into account gitlab commits No functional changes expected here, only the last push date must be updated while receiving a GitLab post push webhook[1]. This patch initializes the commit parsing. For now, data parsed are logged in the gitlab_syslog file. The parsing of TULEAP-XXX references will be done in a next commit. [1] https://docs.gitlab.com/ee/user/project/integrations/webhooks.html Change-Id: Id1eb65ef884466d676f582c608c7b46eeb8a0d33
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/gitlab/include/Repository/GitlabRepositoryWebhookController.php | +31 | −6 | Go to diff View file |
A | plugins/gitlab/include/Repository/Webhook/PostPush/PostPushCommitWebhookData.php | +56 | −0 | Go to diff View file |
A | plugins/gitlab/include/Repository/Webhook/PostPush/PostPushCommitWebhookDataExtractor.php | +86 | −0 | Go to diff View file |
A | plugins/gitlab/include/Repository/Webhook/PostPush/PostPushWebhookData.php | +85 | −0 | Go to diff View file |
A | plugins/gitlab/include/Repository/Webhook/WebhookData.php | +31 | −0 | Go to diff View file |
M | plugins/gitlab/include/Repository/Webhook/WebhookDataExtractor.php | +18 | −45 | Go to diff View file |
A | plugins/gitlab/include/Repository/Webhook/WebhookRepositoryRetriever.php | +61 | −0 | Go to diff View file |
M | plugins/gitlab/include/gitlabPlugin.php | +17 | −9 | Go to diff View file |
A | plugins/gitlab/tests/unit/Repository/Webhook/PostPush/PostPushCommitWebhookDataExtractorTest.php | +102 | −0 | Go to diff View file |
M | plugins/gitlab/tests/unit/Repository/Webhook/WebhookDataExtractorTest.php | +34 | −145 | Go to diff View file |
A | plugins/gitlab/tests/unit/Repository/Webhook/WebhookRepositoryRetrieverTest.php | +111 | −0 | Go to diff View file |