xanzy / go-gitlab

GitLab Go SDK
Apache License 2.0
2.37k stars 940 forks source link

feat: add Bitbucket Cloud and Server import endpoints #1979

Closed pwlandoll closed 1 month ago

pwlandoll commented 1 month ago

This expands the changes in #1942 to fully implement #1629 and #1859 by adding functionality for the Bitbucket Cloud and Server repository import endpoints.

Although the API documentation does not specify expected responses, the OpenAPI specification looks like it gives sufficient information.

This is marked as a "draft" for now since I have not yet tested against real Bitbucket or GitLab instances.

pwlandoll commented 1 month ago

Unmarked as "draft" since I was able to at least verify that the API responses were as expected and handled correctly.