pd4d10 / git-touch

An open-source app for GitHub, GitLab, Bitbucket, Gitea, and Gitee(码云), built with Flutter
Apache License 2.0
1.53k stars 130 forks source link

Does it support bitbucket server? #240

Open ouxch opened 3 years ago

ouxch commented 3 years ago

I have my own bitbucket server, and i get the following error when i try to log in on the git-touch app.

git-touch-issue

I have noticed the tip about App Password. I did not find this feature in Bitbucket Server. But I found a setting item for Personal access tokens. I created a token for git touch app, and entered the token, finally i got this format error.

image

So, it doesn't support Bitbucket Server ? Or just a bug?

shreyas1599 commented 3 years ago

@Aouchinx it's not supported yet. Bitbucket Cloud and Server API calls are different. The app only supports Cloud API calls.

pd4d10 commented 3 years ago

Yeah, just as @shreyas1599 says, the recommended way of BitBucket API seems to be the app passwords.

Looks like the case is a self-hosted BitBucket. Is there any API documentation for it?

shreyas1599 commented 3 years ago

@pd4d10 yeah there is. Its maintained separately and has a different version also. https://developer.atlassian.com/server/bitbucket/how-tos/command-line-rest/

This talks about how they're different

pd4d10 commented 3 years ago

OK. I guess we can support it, but we may need a server for testing

ouxch commented 3 years ago

@pd4d10 @shreyas1599 Okay, I already understand. Thank you both for letting me know the difference. 🤝