Git, the D package manager

Mathias LANG via Digitalmars-d digitalmars-d at puremagic.com
Thu Feb 5 07:33:51 PST 2015


On Thursday, 5 February 2015 at 15:26:23 UTC, ketmar wrote:
> On Thu, 05 Feb 2015 15:21:08 +0000, Atila Neves wrote:
>
>>> the package manager part should have good "machine" interface 
>>> to allow
>>> it's usage in various scripts and other build systems. and 
>>> build
>>> system... oh, well, it can simply use package manager. this 
>>> way we can
>>> discuss "dub-pkg" and "dub-build" as separate entities, and 
>>> flaws of
>>> one project will not automatically propagate on another 
>>> project.
>> 
>> The machine interface is "dub describe". It's JSON, so... 
>> that's what my
>> Emacs package uses to pass -I flags to dmd for on-the-fly 
>> syntax checks.
>
> there is too much noise there. and there is no easy access to 
> package
> manager itself. as far as i can see, there is no command even 
> to list all
> *known* packages, only installed ones.

Define noise in a M2M context.
Accessing to all known packages wouldn't be hard to implement 
(hint: 
https://github.com/D-Programming-Language/dub/commit/5a93ab440017aa0998c50edda5cabad7c2bffc5f), 
it just need a dev^W champion.


More information about the Digitalmars-d mailing list