Release DUB 0.9.25, new logo and updated website design
Jacob Carlborg via Digitalmars-d-announce
digitalmars-d-announce at puremagic.com
Mon May 23 23:24:38 PDT 2016
On 2016-05-23 17:40, Sönke Ludwig wrote:
> Oh, okay, misunderstood that. The basic protocol is very simple:
>
> GET /packages/index.json
> Yields a JSON array with all package names
>
> GET /packages/[package].json
> Returns a JSON object with general information about a package,
> including all available versions
>
> GET /packages/[package]/[version].json
> Returns a JSON object with the package recipe of a particular version
> (dub.json format), augmented with some additional fields
>
> GET /packages/[package]/[version].zip
> 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.
--
/Jacob Carlborg
More information about the Digitalmars-d-announce
mailing list