klesh commented on issue #4927: URL: https://github.com/apache/incubator-devlake/issues/4927#issuecomment-1547078329
@tim-goto That is great. You may want to check out the `Gitlab` plugin, it does support `cloud` and `server` simultaneously. In general: It detects the API version when preparing the `ApiClient` https://github.com/apache/incubator-devlake/blob/8262cb3b830fa3e1a141d5408f8e85fabf6d1603/backend/plugins/gitlab/models/connection.go#L90 Then, some subtasks would behavior different based on the `version` information. https://github.com/apache/incubator-devlake/blob/b4c1d85cf0d41d07233cf5ee3db16f8a23cc8450/backend/plugins/gitlab/tasks/account_collector.go#L50 However, it is `data source` dependent, and may or may not be suitable for Bitbucket. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
