On 2011-08-12 08:17, kennytm wrote:
"Steven Schveighoffer"<[email protected]> wrote:
On Thu, 11 Aug 2011 17:20:04 -0400, Nick Sabalausky<[email protected]> wrote:
"Andrei Alexandrescu"<[email protected]> wrote in
message
news:[email protected]...
It's difficult to get all dependencies when not all sources have
been>> yet
downloaded.
With DIP11, yes. With a traditional-style package manager, no.
With either style, you need to download a package in order to
determine if you need to download other packages (package a may
depend on package b even though your project does not depend on
package b). The DIP11 version does this JIT, whereas your version
does it before compilation. It's not really any different.
-Steve
In Debian's apt, there will be a central index that records all
dependencies for packages in the repository. So the client only needs to
synchronize that index file regularly. The system will know package A
depends on B which depends on C and D and download all 4 packages.
Exactly
That said, since you need to download the pakcgaes anyway, having a
central index doesn't reduce the bytes you need to transfer and parse if
DIP11 doesn't support updating.
No, but I'm guessing it's more efficient to download zip files instead
of individual D files.
--
/Jacob Carlborg