-
Notifications
You must be signed in to change notification settings - Fork 125
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
Sourcelink doesn't work on Fedora 27 #66
Comments
This particular issue is fixed in version 1.0.0-beta-62925-02. |
Did you get it working on Fedora 27? Last I saw, it still wasn't working with the -02 version either. |
Finding |
@bording Any known issues with loading libgit2 on Fedora 27? Seems like a dependency is missing. |
@tmat The linux library that currently ships in the LibGit2Sharp.NativeBinaries package is built against Ubuntu, so that's the only distro that is likely to work out of the box. However, I've done work in libgit2/libgit2sharp.nativebinaries#51 to ship binaries for every distro supported by .NET Core. I just need @ethomson to find some time to review it! |
@bording How are you collecting all the binaries into a single nupkg? It looks that that PR was merged. Any chance ya'll can publish a new version to https://www.nuget.org/packages/LibGit2Sharp.NativeBinaries/ ? It looks we need something newer than 1.0.217. |
@ctaggart My plan is to finish up things this weekend so we can get a new 0.26.0 preview of LibGit2Sharp next week. |
@ctaggart That's correct, but you'll need to wait for a new 0.26.0 prerelease of LibGit2Sharp that uses it. I'm hoping we'll be able to get that out soon! |
Oh, I see. This project is locked to LibGit2Sharp https://github.com/dotnet/sourcelink/blob/master/eng/Versions.props#L17 |
Yes, LibGit2Sharp itself is locked to a specific version of the native binaries package, to ensure all the P/Invokes are to the expected version of native library. |
New prerelease is at : https://www.nuget.org/packages/LibGit2Sharp/0.26.0-preview-0027 |
@ethomson Awesome! I'll update SourceLink and see if we can start running tests on more distros. |
@tmat Let me know if you need any help figuring out which native library to map to for a given distro. Ideally you'd want something that does the actual RID graph search similar to what I added for libgit2/libgit2sharp#1571, before learning that the DllImports didn't work the way were were hoping they would on non-Windows... |
@tmat build
|
@tmat is going to have to add special logic to load the correct native library before it's going to work, as I mentioned in #66 (comment). It needs to load the |
@bording On OSX10.12 calling Repository.Discover("/tmp/RoslynTests/367fd4f0-8af8-4994-aaa0-c629c015a915") returns Any idea what's going on? |
What were you expecting the value to be? The path without What you're seeing there is that |
Yes, I was expecting a path without |
First, it’s libgit2. If you’re asking for the canonical path to a git repository, we return what the operating system tells us is canonical. |
Canonical path doesn't necessarily mean one with resolved symlinks. .NET API |
We are now testing SourceLink end-to-end scenarios on the following platforms:
|
Working with the dotnetsay sample on F27 and hit the following-
The text was updated successfully, but these errors were encountered: