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

Add package search not working with Klondike #87

Closed
pms1969 opened this issue Dec 8, 2015 · 11 comments
Closed

Add package search not working with Klondike #87

pms1969 opened this issue Dec 8, 2015 · 11 comments

Comments

@pms1969
Copy link

pms1969 commented Dec 8, 2015

I'm on a corporate network, and we're evaluating Paket. This of course includes the VS Extension. What I've found is that when trying to Add a new package to my project, I cannot from inside VS thru the extension. The Search window pops up, but I am unable to find anything. Our internal nuget repo's are all Klondike.

When converting nuget to paket, I've had to set the nuget repo's to .../api/odata in order for it to work properly, and I have no problem with that since it works beautifully after that, but I was wondering if that setup did not play nicely with the extension, of if I have some fundamental misunderstanding of the way it all hangs together.

For reference, update packages and check for updates works just fine.

@forki
Copy link
Member

forki commented Dec 8, 2015

mhm. actually I'm not sure if we implemented this. I think we only support nuget.org at the moment, since it's the only API which has v3 autocomplete interface.

@pms1969
Copy link
Author

pms1969 commented Dec 8, 2015

ok, just looked at the find-packages command line argument too, and it doesn't look like it's using the sources in the paket.dependencies file either. :-( If I add the source it doesn't find things I know are in there either.

Any chance of a fix?

@pms1969
Copy link
Author

pms1969 commented Dec 8, 2015

By the way, excellent work, it's a great product.

@forki
Copy link
Member

forki commented Dec 8, 2015

there is probably some v2 api which lists all packages. /cc @maartenba

@maartenba
Copy link

/api/v2/Packages, follow continuation tokens.

@forki
Copy link
Member

forki commented Dec 8, 2015

is it possible to filter serverside?

@pms1969
Copy link
Author

pms1969 commented Dec 8, 2015

http://fakeklondikeserver/api/odata/Packages()?$filter=Id eq 'DotNetZip'

works serverside

@maartenba
Copy link

?$filter= + whatever OData query you want to do. E.g. a substring match on the package id:

?$filter=substringof('part',Id) eq true

@forki
Copy link
Member

forki commented Dec 8, 2015

thx. @pms1969 please create issue on paket repo and I will flag it up-for-grabs.

@pms1969
Copy link
Author

pms1969 commented Dec 8, 2015

done. Thanks

@forki
Copy link
Member

forki commented Jan 17, 2016

there is initial support for custom v2 feeds now

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

No branches or pull requests

3 participants