RejectedSoftware Forums

Sign up

systemDependencies in dub format ?!

I just stumbled upon this:

{
    "systemDependencies": "libevent 2.0.x or libev, OpenSSL 0.9.x or 1.0.x",
}

in the vibe.d package.json:
https://github.com/rejectedsoftware/vibe.d/blob/master/package.json#L14

but i cannot seem to find a specification for it here:
http://code.dlang.org/package-format

what does it do ? or is it just documentation ?

Re: systemDependencies in dub format ?!

On Wed, 19 Feb 2014 15:19:10 GMT, Stephan Dilly wrote:

I just stumbled upon this:

{
    "systemDependencies": "libevent 2.0.x or libev, OpenSSL 0.9.x or 1.0.x",
}

in the vibe.d package.json:
https://github.com/rejectedsoftware/vibe.d/blob/master/package.json#L14

but i cannot seem to find a specification for it here:
http://code.dlang.org/package-format

what does it do ? or is it just documentation ?

It's currently handled neither by DUB itself, nor by the registry, but it was planned to display this on the registry and when linking errors occur as a first step to improve the situation for external dependencies. The next step would be to make it more useful to the software side, for example like this: #52/#248. But the details still need to be worked out.

Re: systemDependencies in dub format ?!

On 2014-02-19 16:28, Sönke Ludwig wrote:

It's currently handled neither by DUB itself, nor by the registry, but it was planned to display this on the registry and when linking errors occur as a first step to improve the situation for external dependencies. The next step would be to make it more useful to the software side, for example like this: #52/#248. But the details still need to be worked out.

Perhaps calling it "externalDependencies" to be used for anything not
available in the registry.

/Jacob Carlborg