Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Paket pack with LOCKEDVERSION uses slightly different version #1257
We are using an internal dependency called pdfcmon with a specific version 0.8.4.0. The .lock file states:
The template file states:
In the Nuspec it is generated as:
This leads to an error when installing the packages:
Retrieving the package version 0.8.4.0 works just fine. For our internal dependencies, we use Klondike as NuGet feed. The main question is: Whose "fault" is this? Should Klondike recognize that 0.8.4.0 and [0.8.4] are the same? On the other hand: It would make sense to not omit the last zero in the spec file as it can be significant.
At the moment we write "normalized versions" into the output. Klondike
After digging into the HTTP traffic, I see two requests. The first is for the normalized version:
Klondike does not understand this and return HTTP 400.
The second is for a specific version:
Klondike gives a 404 here, as this precise version is not available.