christianspecht / scm-backup

Makes offline backups of your cloud hosted source code repositories
https://scm-backup.org/
GNU General Public License v3.0
61 stars 20 forks source link

Replace Bitbucket Teams by Workspaces until Oct 14 #50

Closed christianspecht closed 4 years ago

christianspecht commented 4 years ago

https://developer.atlassian.com/cloud/bitbucket/bitbucket-api-teams-deprecation

TODO:

christianspecht commented 4 years ago

api/2.0/users will completely be removed:

Support for accessing repository information via the user's account_id will end when we remove support for the /users and /teams API endpoints later this year. Going forward the best way to retrieve any repository information is to use the workspace_id or the UUID. The account_id is and will be the best way to identify a specific user.

(source)

christianspecht commented 4 years ago

https://developer.atlassian.com/cloud/bitbucket/bitbucket-api-changes-workspaces/

Users are able to separately define a username and workspace ID. The username is used to authenticate over SSH or HTTPS using the Git command line client. The workspace ID is used to form repository URL paths.

You should review your integration’s code to determine if assumptions have been made that repository URLs are of the form {repo.owner.username}/{repo.slug}. If your code works this way it will continue to operate correctly for users whose username and workspace ID match. This is the default case, and will be the majority of users.