-
Notifications
You must be signed in to change notification settings - Fork 53
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
Builds fail on Linux systems requiring a different version of LibGit2 when running under .NET Core cake #628
Comments
AdmiringWorm
added a commit
to AdmiringWorm/Cake.Recipe
that referenced
this issue
Sep 2, 2020
…sion directories On some linux distros it is not possible to use the embedded libgit2 binaries for these two softwares, and as such they need to either be linked or be copied to the necessary directories. As we are moving toward better support regarding .NET Core cake, we can no longer fully provide the support of patch DLLMaps as these do not work using .NET Core. As such this commit makes the necessary changes to copy the system libgit2 library to the existing libgit2*.so locactions underneeth the tools directory.
gep13
pushed a commit
to AdmiringWorm/Cake.Recipe
that referenced
this issue
Sep 2, 2020
…sion directories On some linux distros it is not possible to use the embedded libgit2 binaries for these two softwares, and as such they need to either be linked or be copied to the necessary directories. As we are moving toward better support regarding .NET Core cake, we can no longer fully provide the support of patch DLLMaps as these do not work using .NET Core. As such this commit makes the necessary changes to copy the system libgit2 library to the existing libgit2*.so locactions underneeth the tools directory.
gep13
added a commit
that referenced
this issue
Sep 2, 2020
(GH-628) Copy system libgit2 files to cake.git and gitversion directories
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
On some linux systems (like Arch Linux) the included libgit2 library used in
Cake.Git
andGitVersion
are incompatible with the system, and a dll map can not be used when running under .NET Core.Due to this we need to figure out how to deal with these scenarios, these could be dealt with by using symlink, hardlink or copy the files.
Symlinking and hardlinking won't work if the repository is located on a Network drive (may be other scenarios as well), so copying the file could be the best option.
This issue is related to #627 and may even replace it if we decide to copy/symlink or hardlink to all necessary locations.
The text was updated successfully, but these errors were encountered: