$env:ChocolateyPackageName
: for consistency, it should better be named $env:ChocolateyPackageId
#2781
Labels
$env:ChocolateyPackageName
: for consistency, it should better be named $env:ChocolateyPackageId
#2781
Is Your Feature Request Related To A Problem? Please describe.
Yes, it is a problem because it creates confusion.
The Docs: Environment Variables explains:
This rule is great: The $Env-Variable is named according to the field in nuspec 😃, therefore we must not ask google for the $env variable name for the nuspec Title / Version field. It is intuitive.
But now, Choco breaks the rule, the Docs explains:
Describe The Solution. Why is it needed?
It would be very helpful if in the next version of Chocolatey:
$env:ChocolateyPackageName
will be renamed to$env:ChocolateyPackageId
$env:ChocolateyPackageName
gets an Alias for$env:ChocolateyPackageId
which will disappear in a later versionI hope that I have not to explain why this is useful 😃
Additional Context.
N/A
Related Issues
N/A
The text was updated successfully, but these errors were encountered: