-
Notifications
You must be signed in to change notification settings - Fork 903
Ensure shadow copying doesn't prevent from probing #517
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
Conversation
Hmmm... Passes on Windows. Fails on Mono.
|
I just tested with mono 3.0.6 (Debian sid) and it passes (once I ask it to load |
@carlosmn Thanks thousands for the hand! ❤️
Huh? You lost me there. Which version of libgit2 did you make it pass against? The one from the submodule? Why have you been compelled to rename it? |
It ran against libgit2/libgit2@8821c9aa, which is development from a few days ago, built with threadsafe. I changed |
AWESOME!. |
However, I can't find, among the changes, what made the test pass.... |
The change isn't a libgit2 one. It also succeeds with libgit2/libgit2@32e4992. What I was pointing out was that a newer mono version to the one on Travis' version of Ubuntu behaves correctly. |
Duh... I read "and it passes (once I ask it to load git2 rather than the one with the hash)" backwards. That leads us to a very interesting topic: Which version of Mono should we officially support? From what I know 2.10 is no longer supported (announced by Miguel de Icaza at Monkeyspace 2013).
/cc @dragan |
@nulltoken I'd say you should just support 3.x since it's now the stable path. On the TeamCity Mono Build Agent, we support mono versions 3.0.0, 3.0.7, 3.0.12, 3.2.1, and 3.2.3. The reason we can do this is with mope. All you have to do in your build script is set an environment variable to the version you want to run the build under. Most do this in the build configuration, but with libgit2sharp's circumstances with the native library, it's probably better to set it in your build script.
Then, to setup the runtime correctly, just use mope to find where mono is installed.
I'd like to do the above in mope, but haven't gotten around to it. |
Well. Some gain and some pain... Gain:
Pain:
|
Pretty sure we found the cause of these test failures.
That last one isn't an unreasonable assumption, but the libgit2 code was written with only single calls in mind, so step 3 screwed up everything for future callers. I'll be fixing this in libgit2/libgit2#1890. |
🎊 |
No description provided.