-
-
Notifications
You must be signed in to change notification settings - Fork 368
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
Fix getting diffs from Bitbucket Server #871
Conversation
…and `to` commit hashes were switched
This CII failure is the same issue in #870 and not your issue |
Cool, I did see some of those errors locally as well, the:
When running tests after doing a |
Interesting! I can't get that to occur on my setup on master
|
The steps that make it fail for me in a clean folder are:
Which then ends with:
Let me know if you want the full console output :-) |
Thanks! |
Think I fixed this in 71667ad
|
I had the same issue with bitbucket server, but when I tried the changes proposed by the pr. I'm getting the following error:
|
Could that be the diff being too big? ( |
It was happening even for simple diffs |
I've tested this change and it works properly for me. Can I somehow help with this PR? |
Well, this looks like an improvement to me - so let's get it in |
Thanks for the PR @osmestad. The Danger org conform to the Moya Community Continuity Guidelines, which means So, we've sent you an org invite - thanks osmestad 🎉 |
👏👏👏👏 Let’s ship it 🚀 |
Great to get it in! |
For getting a diff from the Bitbucket Server API it seems the
from
andto
commit hashes were switched. This should solve #866, and other APIs that depend on thegetStructuredDiffForFile
method.