Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate from Bitbucket #12919

Open
6543 opened this issue Sep 21, 2020 · 5 comments
Open

Migrate from Bitbucket #12919

6543 opened this issue Sep 21, 2020 · 5 comments
Labels
topic/repo-migration Migrate repos from other platforms to Gitea, or from Gitea to them type/proposal The new feature has not been accepted yet but needs to be discussed first.

Comments

@6543
Copy link
Member

6543 commented Sep 21, 2020

issue to take track of this subtopic of migration

@6543 6543 added the type/proposal The new feature has not been accepted yet but needs to be discussed first. label Sep 21, 2020
@6543 6543 mentioned this issue Sep 21, 2020
24 tasks
@6543
Copy link
Member Author

6543 commented Sep 21, 2020

https://github.com/ktrysmt/go-bitbucket looks like the lib to use

@6543
Copy link
Member Author

6543 commented Oct 14, 2020

there are no "token" but "App Passwords" - so it's BasicAuth for API ...

I did not found a go lib for bb api jet, witch works well for migration tool

we either parse https repo-clone-url from bb, or add 3 fields: Instance (baseURL), workspace (owner), repo-name

so we always require 4 infos ...

https://developer.atlassian.com/bitbucket/api/2/reference/

@6543
Copy link
Member Author

6543 commented Oct 14, 2020

repo https://6543[:token]@bitbucket.org/6543/test_repo.git
wiki https://6543[:token]@bitbucket.org/6543/test_repo.git/wiki

@lunny
Copy link
Member

lunny commented Aug 22, 2021

@lunny lunny added the topic/repo-migration Migrate repos from other platforms to Gitea, or from Gitea to them label Aug 22, 2021
@lunny
Copy link
Member

lunny commented Aug 22, 2021

I found a go package for wrapping the api go-bitbucket-v1.
from #8689 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic/repo-migration Migrate repos from other platforms to Gitea, or from Gitea to them type/proposal The new feature has not been accepted yet but needs to be discussed first.
Projects
None yet
Development

No branches or pull requests

2 participants