Nerdbank.gitversioning: Add support for CentOS

Created on 25 Aug 2018  路  4Comments  路  Source: dotnet/Nerdbank.GitVersioning

As @bording points out in https://github.com/AArnott/Nerdbank.GitVersioning/pull/218#discussion_r212806977, we should update to libgit2sharp 0.26.0, including taking care to load the right native libgit2 library based on RID at runtime so that NB.GV works on more Linux platforms including CentOS.

enhancement

Most helpful comment

If the plan to remove the OpenSSL and curl dependencies from the native libraries works the way I'm thinking it will, then the work to handle this will be simplified.

My current thinking is that instead of the handful of different RIDs we have in the current 0.26.0 preview, we'd just need two different linux libraries, one for musl libc distros (alpine) and one for everything else.

All 4 comments

If the plan to remove the OpenSSL and curl dependencies from the native libraries works the way I'm thinking it will, then the work to handle this will be simplified.

My current thinking is that instead of the handful of different RIDs we have in the current 0.26.0 preview, we'd just need two different linux libraries, one for musl libc distros (alpine) and one for everything else.

Any update on this?

@bording do you have an issue tracking CentOS support on the libgit2sharp side?
Now that with #244 we support the RID loading for various *nix platforms, I think we can support CentOS as soon as libgit2sharp does.

@AArnott With #244, you do already support CentOS. It will use the rhel-x64 RID.

Was this page helpful?
0 / 5 - 0 ratings