-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Add a BitBucket host provider #37
Comments
Fantastic you've merged this. I was playing with this myself. While it worked I've never had the time to polish it. https://github.com/itofinity/Git-Credential-Manager-Core/tree/issue/37-Bitbucket-Support I have a GUI component written in Avalonia that works cross platform as well |
Hi @mminns,
It's awesome to see interest in getting Bitbucket into GCM Core 😃
This sounds like an interesting path forward for x-plat UI. I've never really used or explored much with Avalonia before. I assume Avalonia is pretty stable and somewhat compatible with existing WPF-flavoured XAML? As you can see from #116 I'm in the process of getting a WPF/Windows only UI in for Bitbucket, based on the GCM for Windows version but with updated iconography and colours. I wonder if we can port that to Avalonia?
Oh! I've never see "the connection was reset" before. Were you debugging when the OAuth redirect happened? I seem to remember some issues with timeouts if the browser connected to the localhost port but the 'server' didn't respond in a timely fashion. Is this easily reproducible for you? Can you see any exceptions being thrown or caught in the GCM Core OAuth stack? |
Morning, don't worry about the duplication. Part of the reason I did it was to force myself to learn more about x-platform development with DotNet Core and I did that. 👍 Apologies for not providing more context on the success page error, it was late-ish on Friday. I'll dig a bit deeper this week. re: The Avalonia GUI. |
😁
No worries! If you do find some issue it'd be great if you could raise an issue. The OAuth stack is shared between the GitHub and Bitbucket providers so anything to make it more robust is a big win for everyone.
Sure thing!
Absolutely. I'd be very much open to replacing any Windows-only UI with a suitable x-plat replacement. As you've seen GCM Core introduced the notion of out-out-proc "auth UI helpers". Glancing over your host provider implementation I see you've introduced an environment variable ( |
GCM Windows supports BitBucket as a Git host provider.. GCM Core should provide some support for this provider.
On Windows there is custom Windows-only UI that could/should be ported. On macOS we can use a TTY-based prompt (like we use for GitHub currently) for now.
The text was updated successfully, but these errors were encountered: