Re: :action depend for D

"Lars Ivar Igesund" <[email protected]>
Newsgroups gmane.comp.tools.aap.devel
Message-ID <016601c3a05c$a480dd90$0200000a@mesmer>
----- Original Message ----- 
From: "Bram Moolenaar" <[email protected]>

Well, the best would be if everybody could get themselves an internet
connection. ;)

> This would be possible, but then it can't try to install a package at
> the same time.  Thus the d module would have to check if "ddepcheck" can
> be found and when not: build it from the included ddpecheck.d.
>
> An alternative is to implement the dependency checker in Python.  Then
> it doesn't need to be compiled and installed first.  It will be a lot
> slower though.

This might be an acceptable solution since it is very likely that most
people
using aap for D will have an internet connection. I can try to implement
this
when I get the time, and have it as it as for the moment. Unless you think
inclusion of ddepcheck is the best. The python version would need the
same updates in any case. (The necessary changes are mostly related to
changes/additions to the runtime library as ddepcheck don't consider
these as dependencies (kinda like system headers)). After thinking some
more I'm positive that inclusion of ddepcheck.d is better than implementing
it in Python.

>
> You would have to send me ddepcheck.d each time you make improvements.

No problem, really.

> The user could still do "aap --install ddepcheck" to obtain an updated
> version.

Yes.

Lars Ivar Igesund




-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.