Cake_Git icon indicating copy to clipboard operation
Cake_Git copied to clipboard

Add support for Ubuntu 20

Open pascalberger opened this issue 4 years ago • 3 comments

LibGit2Sharp 0.26.x doesn't support Ubuntu 20. Since then there was an effort to replace native binaries with managed HTTP stack (https://github.com/libgit2/libgit2sharp/pull/1618) which should bring support for more distros.

This is not available yet in a final release, but only in preview releases (https://www.nuget.org/packages/LibGit2Sharp/0.27.0-preview-0096). We should think about using a preview release in Cake.Git as it would increase usability of the addin quite a bit, and managed services or Docker images start to update to unsupported distros by default.

pascalberger avatar Mar 12 '21 08:03 pascalberger

Funny that you only just created this issue as I just hit this in our Azure PIpeline builds. They upgraded the ubuntu-latest image to 20.04 recently.

I actually upgraded GitVersion first as that's where the internet pointed for a solution. However on looking more closely I see the error is from cake GitClone.

In the meantime I'll pin our ubuntu based builds to ubuntu-18.04.

justin-caldicott avatar Mar 12 '21 16:03 justin-caldicott

@justin-caldicott Which version of Cake.Git are you using?

pascalberger avatar Mar 12 '21 16:03 pascalberger

Originally 0.21.0 but also 1.0.1

justin-caldicott avatar Mar 12 '21 23:03 justin-caldicott