These are chat archives for chocolatey/ChocolateyGUI

28th
Jun 2016
Manfred Wallner
@mwallner
Jun 28 2016 10:54
@RichiCoder1 the new UI looks great, sadly I can't really use it .. (internal simple choco server "An exception of type 'System.ArgumentException' occurred in mscorlib.dll but was not handled in user code Additional information: An item with the same key has already been added." - ChocolateyExtensions ListAsync)
(choco 0.9.10.2)
Richard Simpson
@RichiCoder1
Jun 28 2016 17:02
@mwallner I've seen that a few times. Something to do with the way we pull latest version for installed packages /cc @ferventcoder
Seems to happen when calling list a lot all at once.
I'm hoping to get a PR out soon, though, that allows sending multiple package Ids over the wire so we don't have to spam choco to get version info
The chocolatiest bot this side of the Mississippi
@choco-bot
Jun 28 2016 17:04
Richard Simpson
@RichiCoder1
Jun 28 2016 17:04
Exactly ^
Rob Reynolds
@ferventcoder
Jun 28 2016 17:14
@RichiCoder1 hit me up on the design of that.
When you are ready
Richard Simpson
@RichiCoder1
Jun 28 2016 17:14
:thumbsup:
@ferventcoder The rough and sort of it is splitting package ids on commas in the nuget list provider and using some IQuerable expression magic to send multiple Id eq through OData.
The prototype I did worked decently well, but works on my machine isn't too confidence inspiring :)
Rob Reynolds
@ferventcoder
Jun 28 2016 23:17
We are optimized for one package at a time - when you send for all at once we can't cache well. Prefer to wait for pkg indexes