stable
Clone or download
Read-only
This is part of story #17180 take into account gitlab commits The commits provided by the post push webhook content are now parsed. TULEAP-{:id} references (case insensitive with id as an integer) are now extracted. They are not saved in DB for now, only logged in the dedicated log file. Change-Id: I7835454dc08b5975083395053f32f45e04d5e8b2
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/gitlab/include/Repository/GitlabRepositoryWebhookController.php | +13 | −12 | Go to diff View file |
A | plugins/gitlab/include/Repository/Webhook/PostPush/Commits/CommitTuleapReference.php | +43 | −0 | Go to diff View file |
A | plugins/gitlab/include/Repository/Webhook/PostPush/Commits/CommitTuleapReferenceCollection.php | +46 | −0 | Go to diff View file |
A | plugins/gitlab/include/Repository/Webhook/PostPush/Commits/CommitTuleapReferencesParser.php | +51 | −0 | Go to diff View file |
A | plugins/gitlab/include/Repository/Webhook/PostPush/PostPushWebhookActionProcessor.php | +65 | −0 | Go to diff View file |
A | plugins/gitlab/include/Repository/Webhook/WebhookActions.php | +98 | −0 | Go to diff View file |
M | plugins/gitlab/include/gitlabPlugin.php | +12 | −2 | Go to diff View file |
A | plugins/gitlab/tests/unit/Repository/Webhook/PostPush/Commits/CommitTuleapReferencesParserTest.php | +181 | −0 | Go to diff View file |
A | plugins/gitlab/tests/unit/Repository/Webhook/PostPush/PostPushWebhookActionProcessorTest.php | +80 | −0 | Go to diff View file |
A | plugins/gitlab/tests/unit/Repository/Webhook/WebhookActionsTest.php | +158 | −0 | Go to diff View file |