You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have verified this is the correct repository for opening this issue.
I have verified no other issues exist related to my request.
Is Your Feature Request Related To A Problem? Please describe.
When submitting a chocolatey package, I recently received feedback that I needed to lock the metapackage to the exact version of the installer package. However this update was made by the stock installer.
This package still does not seem to have the expected dependency (at least in my expectations).
It currently has a dependency of (≥ 1.0.9046) when I would expect it to have a dependency of (= 1.0.9154).
The square bracket format seems like a more reasonable default. Can we please update the example templates for au_SearchReplace to include these square brackets?
Describe The Solution. Why is it needed?
This solution will add square brackets around the nuspec dependency definition when au_SearchReplace runs on the installer package. This will lock the metapackage to load the specific installer package version, not a ≥ range (the current default). Having this in the example will hopefully help avoid others who are new to Chocolatey development from running into this feedback pertaining to the template/example.
Checklist
Is Your Feature Request Related To A Problem? Please describe.
When submitting a chocolatey package, I recently received feedback that I needed to lock the metapackage to the exact version of the installer package. However this update was made by the stock installer.
current:
<dependency id="discord.install" version="1.0.9046" />
suggested:
<dependency id="discord.install" version="[1.0.9154]" />
The square bracket format seems like a more reasonable default. Can we please update the example templates for au_SearchReplace to include these square brackets?
Describe The Solution. Why is it needed?
This solution will add square brackets around the nuspec dependency definition when au_SearchReplace runs on the installer package. This will lock the metapackage to load the specific installer package version, not a ≥ range (the current default). Having this in the example will hopefully help avoid others who are new to Chocolatey development from running into this feedback pertaining to the template/example.
For more information on what the square brackets du, see "References in .nuspec files" in this doc: https://learn.microsoft.com/en-us/nuget/concepts/package-versioning?tabs=semver20sort#version-ranges
Additional Context
No response
Related Issues
No response
The text was updated successfully, but these errors were encountered: