Skip to content
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

Add support for Ubuntu 20 #140

Open
pascalberger opened this issue Mar 12, 2021 · 3 comments
Open

Add support for Ubuntu 20 #140

pascalberger opened this issue Mar 12, 2021 · 3 comments

Comments

@pascalberger
Copy link
Member

LibGit2Sharp 0.26.x doesn't support Ubuntu 20. Since then there was an effort to replace native binaries with managed HTTP stack (libgit2/libgit2sharp#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.

@justin-caldicott
Copy link

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.

@pascalberger
Copy link
Member Author

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

@justin-caldicott
Copy link

Originally 0.21.0 but also 1.0.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants