On 2016-05-23 17:40, Sönke Ludwig wrote:
Oh, okay, misunderstood that. The basic protocol is very simple:
Yields a JSON array with all package names
Returns a JSON object with general information about a package,
including all available versions
Returns a JSON object with the package recipe of a particular version
(dub.json format), augmented with some additional fields
Yields a zipped up version of the package
So dependencies are fetched when they are discovered based on a package?
Wouldn't it be more efficient to have an API call that given a list of
packages, returns the full set of dependencies in one call. Then it
would be possible to fetch the dependencies in parallel.