dip - another D package manager

Timothee Cour thelastmammoth at gmail.com
Fri May 17 16:35:58 PDT 2013


great! Can you explain a bit pros/cons wrt other ones such as dub?
also, dip name is a bit confusing because DIP stands for D Improvement
Proposal, wiki.dlang.org/DIPs.

On Fri, May 17, 2013 at 3:53 PM, Rory McGuire <rjmcguire at gmail.com> wrote:

> Hi all,
>
> I've started working on a little experimental package manager
> https://github.com/rjmcguire/dip that works similar to golang's go
> command.
> I've only tested it on linux amd64.
>
> At the moment the commands that work are (these are examples):
>
> # to fetch a repo using git (only works for github.com at the mo'), files
> placed in $DPATH[0]/src/
> dip get github.com/D-Programming-Deimos/openssl
>
> # to build
> dip github.com/D-Programming-Deimos/openssl
> # or from a packages directory:
> dip
>
> # to install in the first path found in DPATH, $DPATH[0]/bin for
> executables:
> dip -i
> # or
> dip install github.com/D-Programming-Deimos/openssl
>
> Program expects a environment variable DPATH to exist, it will tell you:
> *$ dip*
> *WARNING DPATH NOT SET, suggest DPATH="~/d/:/usr/local/d"*
>
> Program assumes dmd is in /usr/local/d/bin/dmd unless you set DROOT to
> something else such as "/usr/" in which case it will use /usr/bin/dmd.
>
> Config is in README.md example (excluding ====== lines):
> =========================================
> # vibe.d - The vibe.d web services framework
>
> ## Dependencies:
>  * github.com/D-Programming-Deimos/openssl: >=0
>  * github.com/D-Programming-Deimos/libevent: >=0
>
> ## Flags:
>  * Library
>  * -version=VibeLibeventDriver - options are VibeLibevDriver,
> VibeLibeventDriver
> =========================================
>
>
> todo:
> * handle dub packages, their dependencies are not fully qualified in
> package.json so I can't just load them from the file, if you put qualified
> dependencies in "dip-dependencies" in package.json it does work.
> * support sourceforge etc...
> * most likely I'll be changing the way config works because it doesn't
> look nice in github's md viewer.
> * check versions of packages and enforce them
> * output help
> * Fix bugs :)
>
> Thanks.
>
> Kind regards,
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-announce/attachments/20130517/f3acbc04/attachment.html>


More information about the Digitalmars-d-announce mailing list