I am experimenting with using ChocolateY as a deployment mechanism for our internal software.
I have created a ChocolateY feed on our proget server, and added a couple of packages:
First, I ran "cinst arenaframework-client -version 0.0.1"
This runs without a hitch, the package gets installed. Great success.
Given that I have v0.0.2 of the same package, I then tried to run "cup arenaframework-client"
This should update my package to v0.0.2, but returns with "nothing to update"
Having digged into the powershell modules that makes up ChocolateY, I found that it uses "nuget list" under the hood to find updates to a package.
So, this is the root of the problem:
"nuget list" (without any parameters, from the command line) returns:
"nuget list chocolatey" returns:
"nuget list arenaframework-client" returns:
No packages found.
So it would seem that the hyphen in the package name is something that Proget doesn't handle.
However, the hyphen is part of the recommended ChocolateY naming convention.( https://github.com/chocolatey/chocolatey/wiki/CreatePackages )
Any recommendations on how to get around this problem would be greatly appreciated.