Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Querying for NuGet packages using v3 feed doesn't include prereleases #988

Closed
carolynvs opened this issue Aug 17, 2015 · 3 comments
Closed
Labels

Comments

@carolynvs
Copy link

I have a beta release of openstack.net on MyGet but Paket is unable to find it. I believe the problem is that when Paket queries for the available versions, it is not using the prerelease query string parameter. Is my paket.dependencies file incorrect or is this a bug?

paket.dependencies

source https://nuget.org/api/v2
source https://www.myget.org/F/openstacknetsdk/api/v2

nuget openstack.net !>= 1.5.0 prerelease

From Fiddler, I can see that Paket detects that a v3 feed is available and automatically uses that. However this is the query it sends to MyGet:

GET http://myget.org/F/openstacknetsdk/api/v3/autocomplete?id=openstack.net

{"@context":{"@vocab":"http://schema.nuget.org/schema#"},"totalHits":0,"data":[]}

According to the MyGet team, this is what Paket should be using to query:

GET http://myget.org/F/openstacknetsdk/api/v3/autocomplete?id=openstack.net&prerelease=true

{"@context":{"@vocab":"http://schema.nuget.org/schema#"},"totalHits":3,"data":["1.5.0.0-beta2","1.5.0-beta1","1.5.0-beta-1"]}
@forki forki added the bug label Aug 17, 2015
@forki forki closed this as completed in 91384b3 Aug 17, 2015
@forki
Copy link
Member

forki commented Aug 17, 2015

should be fixed in 1.29.2

@carolynvs
Copy link
Author

Thank you, working great now! I owe you at least 2 beers at this point, if you have a donation page let me know. Otherwise I'll just pay you back in arcane internet currency a.k.a tweets. 😄

@forki
Copy link
Member

forki commented Aug 17, 2015

Thx ;-) I really like your blog post. Maybe you can write a testimonial one
day. http://fsprojects.github.io/Paket/testimonials.html

Cheers, Steffen
On Aug 17, 2015 17:54, "Carolyn Van Slyck" [email protected] wrote:

Thank you, working great now! I owe you at least 2 beers at this point, if
you have a donation page let me know. Otherwise I'll just pay you back in
arcane internet currency a.k.a tweets. [image: 😄]


Reply to this email directly or view it on GitHub
#988 (comment).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants