libgit2 / libgit2sharp

Git + .NET = ❤
http://libgit2.github.com
MIT License
3.15k stars 887 forks source link

Will there be any more updates to your nuget packages LibGit2Sharp.NativeBinaries and LibGit2Sharp? #1937

Open rozeboosje opened 2 years ago

rozeboosje commented 2 years ago

Reproduction steps

Create a .NET Framework project targeting .NET Framework 4.8

Expected behavior

n/a

Actual behavior

n/a

Version of LibGit2Sharp (release number or SHA1)

LibGit2Sharp 0.26.2 LibGit2Sharp.NativeBinaries 2.0.306

Operating system(s) tested; .NET runtime tested

n/a

For many months now our Visual Studio Solution has been using the above nuget packages, and it keeps reminding us that there are "updates". LibGit2Sharp.NativeBinaries is offering an update to 2.0.314 - As we're using this in a production environment we can't install "preview" versions. However, when I try to install that nuget package for LibGit2Sharp.NativeBinaries it says it's dependent on a preview version of the LibGit2Sharp package. So we can't even upgrade to the latest release version of LibGit2Sharp.NativeBinaries.

When do you think you'll be releasing the next consistent set of officially released nuget packages?

bording commented 2 years ago

The preview versions are no different than an actual release. The next non-preview version is likely just going to be the same commit re-tagged with a non-preview version number.

You'll never be able to update the NativeBinaries package separately from the main LibGit2Sharp package because the main package is locked to a specific version of the NativeBinaries package.

If you're using package references, you should only be referencing the main package, and let the correct NativeBinaries package be brought in transitively.

If you are still using packages.config, I recommend looking into switching to package references.

I do want to get a non-preview version out eventually, but there are a few things I need to get done first, for example updating the changelog.

rozeboosje commented 2 years ago

Thanks Brandon

panAn90 commented 1 year ago

Is there any update regarding the release of official NuGet packages? I noticed some changes recently, but the latest NuGet package dates back to December 2019.