Skip to content

Fixed NugetV2 querying #2472 - #2485

Merged
forki merged 1 commit into
fsprojects:masterfrom
bhugot:FixNugetFeedQuery
Jul 5, 2017
Merged

forki merged 1 commit into
fsprojects:masterfrom
bhugot:FixNugetFeedQuery

Conversation

@bhugot

@bhugot bhugot commented Jul 5, 2017

Copy link
Copy Markdown
Contributor

Should Fix for #2472

@matthid

matthid commented Jul 5, 2017

Copy link
Copy Markdown
Member

Oh really? So this url was wrong all this time? Or are there some NuGet servers behaving differently?

@matthid

matthid commented Jul 5, 2017

Copy link
Copy Markdown
Member

/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.

@forki

forki commented Jul 5, 2017

Copy link
Copy Markdown
Member

against which feed is that?

@bhugot

bhugot commented Jul 5, 2017

Copy link
Copy Markdown
Contributor Author

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

@forki

forki commented Jul 5, 2017

Copy link
Copy Markdown
Member

@maartenba do you know something about this? and would it work with myget?

@matthid

matthid commented Jul 5, 2017

Copy link
Copy Markdown
Member

anyone knows which one is correct according to the spec?

@matthid

matthid commented Jul 5, 2017

Copy link
Copy Markdown
Member

Maybe there even is a difference between them?

@bhugot

bhugot commented Jul 5, 2017

Copy link
Copy Markdown
Contributor Author

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 version

And i think some odata implementation accept a call without () but it's the same than with .

@Reelix

Reelix commented Jul 5, 2017 •

Copy link
Copy Markdown

@bhugot

bhugot commented Jul 5, 2017

Copy link
Copy Markdown
Contributor Author

try with ()

@maartenba

Copy link
Copy Markdown

OData specific imo, ping the respective support alias for the servers that are throwing :-)

@forki
forki merged commit 4012a85 into fsprojects:master Jul 5, 2017
@forki

forki commented Jul 5, 2017

Copy link
Copy Markdown
Member

thanks. I released it in 5.5 alpha channel. Let's see how it goes.

@forki

forki commented Jul 10, 2017

Copy link
Copy Markdown
Member

I knew this one would bite us. #2504 sigh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants