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

Azure DevOps support? #4

Open
grimesjm opened this issue Apr 17, 2019 · 5 comments
Open

Azure DevOps support? #4

grimesjm opened this issue Apr 17, 2019 · 5 comments
Assignees
Labels
help wanted Extra attention is needed provider-request A tag for providers that have yet to be added.

Comments

@grimesjm
Copy link

grimesjm commented Apr 17, 2019

Thoughts?

I might be able to help with this one if you are interested.

@loganintech
Copy link
Owner

I'm happy to review pull requests, but if you have a link to the api docs regarding creating repositories / authentication I'd be glad to look into this.

@loganintech loganintech added the provider-request A tag for providers that have yet to be added. label Apr 18, 2019
@loganintech loganintech self-assigned this Apr 18, 2019
@loganintech
Copy link
Owner

Ahh, beautiful. If I get time I'll take a look tonight otherwise I should have time to work on it this weekend 👍

@loganintech
Copy link
Owner

Added a bit of work here: https://github.com/loganintech/gitpub/tree/provider/azure

Their endpoint doesn't lend itself nicely to StructOpt (as it's not very flat) but worst-comes-to-worst we can always just do a custom Clap app.

@loganintech
Copy link
Owner

Well, this is proving to be significantly more challenging than anticipated. I can't seem to find a good way to authenticate. I'm going to have to slap this with the help wanted ticket and I'll leave the branch how it is so that people can see it. Also, here's the information I've understood so far.

Azure has a thousand ways to authenticate and none of them are what I want (as far as I can tell). The linked help documentation suggests using the Device Profile auth method. In their old and new samples they take advantage of .NET's Aquire Device Code Async that I can't seem and documentation sufficient to re-implement it. Their sample's get token function uses that and AquireTokenByDeviceCodeAsync which doesn't really help me out much either. At this point I've tried to implement and re-implement this feature so many times it's burning me out, so I'm going to pivot to other forms of updates and maintenance for the time being.

@loganintech loganintech added the help wanted Extra attention is needed label May 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed provider-request A tag for providers that have yet to be added.
Projects
None yet
Development

No branches or pull requests

2 participants