-
Notifications
You must be signed in to change notification settings - Fork 651
Updated to newer pre-release of libgitsharp to see if that could fix … #1024
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
Updated to newer pre-release of libgitsharp to see if that could fix … #1024
Conversation
@mkoertgen Thanks for this! But it seems like you haven't compiled or run the tests locally? Either way, this seems to be the problem causing Travis and AppVeyor to fail: Mocks/MockQueryableCommitLog.cs(6,14): error CS0535: `MockQueryableCommitLog' does not implement interface member `LibGit2Sharp.IQueryableCommitLog.QueryBy(string, LibGit2Sharp.CommitFilter)'
/home/travis/build/GitTools/GitVersion/src/GitVersionCore.Tests/../packages/LibGit2Sharp.0.23.0-pre20160803182831/lib/net40/LibGit2Sharp.dll (Location of the symbol related to previous error)
Mocks/MockRepository.cs(5,14): error CS0535: `MockRepository' does not implement interface member `LibGit2Sharp.IRepository.Checkout(LibGit2Sharp.Tree, System.Collections.Generic.IEnumerable<string>, LibGit2Sharp.CheckoutOptions)' |
Oops, sorry about that. I did not think about breaking changes in libgitsharp. |
Added new implementations (with |
It looks as if some non-json output is prepended during the Probably libgit2 now adds some more output... |
The test It seems that something in the libgit2 checkout commands add some ouput (Debug + Release). |
Tests still failing. Could make the test pass by just stripping output but i am pretty sure that's not what you want. @asbjornu, any guidance on this? |
@mkoertgen The problem is that the following is written to
Since this problem started after upgrading LibGit2Sharp, am I right to assume that it is LibGit2Sharp that writes this to |
@mkoertgen Yep, my assumption was correct. @JakeGinnivan found this. I'm sure it's a mistake that LibGit2Sharp would happily merge, given a pull request. Would you be up for providing a PR to LibGit2Sharp for removing those writelines? |
Thx for tracing that back. Seems already done libgit2/libgit2sharp#1361 |
@mkoertgen Excellent, now we only need to wait for a new |
I updated libgit2sharp. However, that seemed to break 2 other tests |
…FilePath # Conflicts: # src/GitVersionTask.Tests/packages.config
Too bad. The release-note task fails for some reason, cf.: 4.0.0-PullRequest1024.1133.build.1055#L1035. Note that |
@mkoertgen just re-triggered it, worked fine. |
Thanks @JakeGinnivan. It seems that everything builds fine except the travis osx-build where one test failed. Probably the test-run was just a bit fragile? |
…StrictFilePathMarshaler_must_be_used_on_a_FilePath
…ttps://github.com/mkoertgen/GitVersion into StrictFilePathMarshaler_must_be_used_on_a_FilePath
Still one test failing on the travis-build: https://travis-ci.org/GitTools/GitVersion/jobs/166709203#L2277 |
@mkoertgen: Yeah, I'm sorry about that. I was hoping GitTools/GitTools.Core#38 would remedy what you saw in #720, but this looks like a new problem. It might be related, so getting GitTools/GitTools.Core#38 merged, out the door and updated in GitVersion is worth a shot anyway. However, we're unfortunately kind of stuck without @JakeGinnivan helping to release the packages, because the release process isn't fully automated in all the GitTools repositories yet and it's also not (fully) documented. Sorry! 😞 |
I've restarted the job in hope that the problem is transient. |
I have updated all the things on master. I will get a new v4 beta out today, let me know how it goes |
…#720
cf. #720 (comment)