-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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 Client #1211
Azure DevOps Client #1211
Conversation
@greysteil @feelepxyz @hmarr is there an example script of how the PullRequestUpdater is used, so I know how to implement for Azure DevOps? |
this pr is awesome! (minus the lack of specs 😄 ) i think the concept of updating a PR is github-specific, right? i don't think gitlab has that. thus i dont think azure needs the updater. and thus i think this is good to merge right now if this works. Edit: FYI: i got this branch to create a pr for an ADO repo i have. great work! |
I'll attempt to write some tests later, but would appreciate feedback as this now works as a MVP |
Yes - updating a PR only happens from the hosted Dependabot app at the moment (I don't think anyone has written a script that uses the |
And also, high level, this looks really nice! |
@greysteil @feelepxyz added tests for file fetching/pull request creating, hopefully this good to review/merge now 🙏 |
@greysteil in case the lawyers need it: I'm gifting the IP of the contents of this PR and the other contributions I authored to Dependabot for it to be used however Dependabot wishes. |
The lawyers need a full PDF signed these days! I'll get one over to you, and will review this today. (Was travelling on Monday and in meetings all yesterday). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is awesome. One miniscule comment and I'm 👍. I'll upload the PDF we need for the lawyers now.
@chris5287 @colbywhite final step to get this merged is for you to sign these PDFs. I'll make it better soon... Sorry! Dependabot IP Letter - Colby M. White.pdf |
Sent signed copy to support@dependabot.com. Might be worth looking into https://github.com/apps/cla-bot to make this painless for future contributors |
Received! @colbywhite just waiting on yours and I can get this merged.
I could not agree more, but need to clear legal first 🙂 |
@colbywhite are you able to sign as it’s blocking this from being merged :( @greysteil if we get no response, are we able to merge anyway as @colbywhite contribution was the test class (see https://github.com/chris5287/dependabot-core/pull/1/files) or I could squash the commits and remove this file as an alternative? |
Yeah - if we refactor his contribution then we're able to merge. Let's get this in today either way! |
Ok I’ll refactor later this evening if @colbywhite doesn’t respond |
# Conflicts: # common/lib/dependabot/pull_request_creator/pr_name_prefixer.rb
@greysteil I've squashed the commits and removed |
Hi! |
Thanks so much for this @chris5287! It's a really great addition to Dependabot Core. If you're reading this wondering what it means for Azure DevOps, here's the latest:
Thanks again @chris5287! |
@greysteil @chris5287, sorry for the delay on the CLA. i'll get one into you later today before i make a pr to add more tests to the client. but great work getting this done. |
@colbywhite thanks for the signed PDF! I've cherry-picked your commit off of your fork and pulled it into master so you're officially a contributor (and the Azure client has specs). |
Hi, I added comments next to every property.
|
@Tosters heres the settings we use:
|
@chris5287 Thank you very much. It seems that it is working now. At least almost.. |
I just used the generated PAT from Azure DevOps with no problems (I limited mine to just code access but full access should work obviously). Confused why you are seeing IE ESC error, as I assume you are running a ruby script from the command line. |
@chris5287 I'm seeing the same IE ESC error as @Tosters. I am using a full access token and running within a Docker container. I get the same error whether I use the token or some garbage. |
Any screenshots/logs you can share? |
@chris5287 My mistake, I'm no Ruby expert, clearly. I had taken your snippet and mistakenly replaced << with = thinking it to be assign to existing variable rather than add to array. |
Fixes #729
Fixes dependabot/feedback#128
<details>
as not supported (https://developercommunity.visualstudio.com/idea/609415/add-support-for-the-html-tag-in-markdown.html)