Repository navigation
Fixed NugetV2 querying #2472 - #2485
Conversation
|
Oh really? So this url was wrong all this time? Or are there some NuGet servers behaving differently? |
|
/cc @forki might know something out of his memories? I need some time to look at all of this and go through the specs :/. And my todo list is always full. |
|
against which feed is that? |
|
The url was working on nuget.org v2 and v3 but was not on nexus or artifactory. With () it s seems to be working on all |
|
@maartenba do you know something about this? and would it work with myget? |
|
@forki just tried on a myget repo and it's working too |
|
anyone knows which one is correct according to the spec? |
|
Maybe there even is a difference between them? |
|
There is no diff if you look at the data I think it's just an implementation of odata In code we already use let url = sprintf "%s/Packages(Id='%O',Version='%O')" nugetURL packageName versionAnd i think some odata implementation accept a call without () but it's the same than with . |
|
Based off the console output, it's trying to pull (URL and package name changed) Which throws a 500 error. For what it's worth, With the same parameters does not throw the same error. It seems to be NuGet server specific. If it helps, we're running ProGet © 2017 Inedo, LLC - Version 4.0.9 (Build 4) |
|
try with () |
|
OData specific imo, ping the respective support alias for the servers that are throwing :-) |
|
thanks. I released it in 5.5 alpha channel. Let's see how it goes. |
|
I knew this one would bite us. #2504 sigh |
Should Fix for #2472