IServerPackageRepository Implementation Questions

Topics: General
Nov 2, 2014 at 8:53 PM
Edited Nov 2, 2014 at 10:14 PM
Recently I've been working on an Azure storage implementation of IServerPackageRepository but I've got some questions that are preventing me from making everything work.

1) for public IQueryable<IPackage> GetPackages() is the repo supposed to return a single package for all versions of a particular id of package? or is every single version of every package supposed to be returned?

2) is the repo supposed to set the latest version flags?

additionally one of the problems im facing is that...

http://localhost:59953/nuget/Search()?$filter=IsLatestVersion&$orderby=Id&$skip=0&$top=30&searchTerm=%27%27&targetFramework=%27%27&includePrerelease=false returns an emtpy list while...


returns the packages

3) does the repo need to set the published field?