GithubHelp home page GithubHelp logo

Comments (5)

mminns avatar mminns commented on August 22, 2024 1

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
https://github.com/itofinity/Atlassian-Authentication-Helper

this is a screen shot from macOS
Annotation 2020-05-15 133542

from git-credential-manager.

mminns avatar mminns commented on August 22, 2024

FWIW running this on Windows for Bitbucket the OAuth success page isn't being displayed.

Annotation 2020-05-15 210235

from git-credential-manager.

mjcheetham avatar mjcheetham commented on August 22, 2024

Hi @mminns,

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

It's awesome to see interest in getting Bitbucket into GCM Core 😃
Looks like we've duplicated a lot of work here, which is a shame 😢

I have a GUI component written in Avalonia that works cross platform as well
https://github.com/itofinity/Atlassian-Authentication-Helper

this is a screen shot from macOS
Annotation 2020-05-15 133542

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?

FWIW running this on Windows for Bitbucket the OAuth success page isn't being displayed.

image

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.

For me:
image

Is this easily reproducible for you? Can you see any exceptions being thrown or caught in the GCM Core OAuth stack?

from git-credential-manager.

mminns avatar mminns commented on August 22, 2024

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.
I wonder if it makes sense for you to go ahead and compete the windows UI as planned at this time rather than looking to switch to Avalonia.
I could look at polishing my Avalonia implementation to mirror the revised theme/branding/layout you are using. The Avalonia implementation would then have some initial use as a drop in complimentary UI on macOS/Linux, independent of the official GCMC releases. Especially if I could come up with some kind of suitable installer. Then once it is a stable, proven component it could be reviewed as a possible replacement for the windows UI ?

from git-credential-manager.

mjcheetham avatar mjcheetham commented on August 22, 2024

[..] 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.

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.

I wonder if it makes sense for you to go ahead and compete the windows UI as planned at this time rather than looking to switch to Avalonia.

Sure thing!

[re: Avalonia GUI] Then once it is a stable, proven component it could be reviewed as a possible replacement for the windows UI ?

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_GUI_HELPER_PATHS) for a search path of external helpers; I like this idea. I've created an issue here to add upstream support for this #119 but there might be some issues to address.

from git-credential-manager.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.