stable

Clone or download

Read-only

[feature] display last push date in GitLab branch cross-reference

This is part of story #17181 reference tuleap artifacts in gitlab branches The last push date information is now saved for a referenced branch. If this information is store for a reference, then it's displayed in the cross-reference in the artifact. Like the SHA-1 information, the branch's last push date is updated on an already referenced branch. Change-Id: If5905823080486d43414cf0187c4570f3bfe2905

Modified Files

Name
M plugins/gitlab/db/install.sql +1 −0 Go to diff View file
A plugins/gitlab/db/mysql/2021/202106071400_add_branch_info_last_push_date.php +46 −0 Go to diff View file
M plugins/gitlab/include/Reference/Branch/GitlabBranch.php +13 −3 Go to diff View file
A plugins/gitlab/include/Reference/Branch/GitlabBranchCrossReferenceEnhancer.php +67 −0 Go to diff View file
M plugins/gitlab/include/Reference/Branch/GitlabBranchFactory.php +7 −0 Go to diff View file
M plugins/gitlab/include/Reference/GitlabCrossReferenceOrganizer.php +13 −11 Go to diff View file
M plugins/gitlab/include/Repository/Webhook/PostPush/Branch/BranchInfoDao.php +15 −9 Go to diff View file
M plugins/gitlab/include/Repository/Webhook/PostPush/Branch/PostPushWebhookActionBranchHandler.php +23 −11 Go to diff View file
M plugins/gitlab/include/Repository/Webhook/PostPush/PostPushWebhookActionProcessor.php +8 −3 Go to diff View file
M plugins/gitlab/include/Repository/Webhook/WebhookActions.php +5 −1 Go to diff View file
M plugins/gitlab/include/gitlabPlugin.php +4 −0 Go to diff View file
A plugins/gitlab/tests/unit/Reference/Branch/GitlabBranchCrossReferenceEnhancerTest.php +124 −0 Go to diff View file
A plugins/gitlab/tests/unit/Reference/Branch/GitlabBranchFactoryTest.php +125 −0 Go to diff View file
M plugins/gitlab/tests/unit/Reference/GitlabCrossReferenceOrganizerTest.php +18 −0 Go to diff View file
M plugins/gitlab/tests/unit/Repository/Webhook/PostPush/Branch/PostPushWebhookActionBranchHandlerTest.php +18 −12 Go to diff View file
M plugins/gitlab/tests/unit/Repository/Webhook/PostPush/PostPushWebhookActionProcessorTest.php +4 −4 Go to diff View file
M plugins/gitlab/tests/unit/Repository/Webhook/WebhookActionsTest.php +1 −1 Go to diff View file