On Saturday, 24 March 2018 at 20:31:48 UTC, H. S. Teoh wrote:
On Sat, Mar 24, 2018 at 04:59:49PM +0000, Russel Winder via
Digitalmars-d wrote:
On Sat, 2018-03-24 at 09:45 -0700, H. S. Teoh via
Digitalmars-d wrote:
> […]
>
> That is why a sane build system should always cache
> dependencies locally, and not have to rely on network
> servers being always available.
Dub does exactly that, so not a problem. Dub even has the
--skip-registry option to avoid the network access at all. My
problem is that this is effectively a first build and Dub
repository access is mandatory or no build can start using Dub.
[...]
Well, if you don't have dependencies installed locally (via dub
or otherwise), then obviously it's impossible to build
anything. :-D That's hardly a dub problem, right?
T
It would be impossible to manually fetch dependencies without
network too, so I don't see that as a problem.
Also at least for me, dub still builds even if it fails to check
updates for packages? So it's not really blocking, it just prints
out errors, but it doesn't stop building.