chocolatey / ChocolateyGUI

A delicious GUI for Chocolatey
https://docs.chocolatey.org/en-us/chocolatey-gui/
Apache License 2.0
1.61k stars 249 forks source link

Update version ranges in nuspec file to use maximum inclusive rather than maximum exclusive #999

Closed gep13 closed 1 year ago

gep13 commented 1 year ago

Checklist

What You Are Seeing?

When attempting to upgrade to the latest stable package versions for the 2.x/6.x release of the Chocolatey products, there are issues with resolving package dependencies. This is due in part to a bug in the NuGet.Core assemblies with regard to how maximum exclusive/inclusive versions are handled.

Currently, for Chocolatey GUI, we use the following:

      <dependency id="Chocolatey" version="[1.0.0, 2.0.0)" />

This can cause problems for example when you attempt to upgrade to a pre-release 2.0.0 package version, compared to a stable 2.0.0 package version.

To avoid any ambiguity, and prevent confusion going forward, the suggestion is to switch to:

      <dependency id="Chocolatey" version="[1.0.0, 1.999.999]" />

That way, the cross over to the 2.0.0 release is clear, and should no longer impact on dependency resolution that is performed.

A similar change has already been made to the version ranges in the upcoming 2.x and 6.x releases.

What is Expected?

There should be no dependency resolution problems when attempting to perform choco upgrade chocolatey when a major version range is being crossed.

How Did You Get This To Happen?

An attempt was made to upgrade to the latest stable package version for all of the Chocolatey products, i.e. 2.x.

System Details

Installed Packages

N/A

Output Log

N/A

Additional Context

N/A

choco-bot commented 1 year ago

:tada: This issue has been resolved in version 1.1.3 :tada:

The release is available on:

Your GitReleaseManager bot :package::rocket:

abdoughliss commented 6 months ago

Hi , I have a question regarding the Advanced installation option in the installation process. Is there a way to view detailed information about all versions, specifically all the version prior to the last update? Is it possible to choose and download a specific version