Thread overview
Disable dub from checking internet before building
Feb 24, 2019
0xFFFFFFFF
Feb 25, 2019
Benjamin Schaaf
Feb 25, 2019
drug
Feb 25, 2019
0xFFFFFFFF
Feb 25, 2019
Jacob Carlborg
Feb 25, 2019
Seb
Feb 27, 2019
0xFFFFFFFF
February 24, 2019
How to disable dub from checking internet before building, it's slowing down build whenever it does this.
February 25, 2019
On Sunday, 24 February 2019 at 22:51:45 UTC, 0xFFFFFFFF wrote:
> How to disable dub from checking internet before building, it's slowing down build whenever it does this.

Its not too well described but --nodeps skips dependency resolution (just uses the locked dependencies). Since dub only does requests for dependency resolution this stops any requests.
February 25, 2019
On 25.02.2019 1:51, 0xFFFFFFFF wrote:
> How to disable dub from checking internet before building, it's slowing down build whenever it does this.
`--skip-registry=all` let you avoid checking of all dependencies (https://dub.pm/commandline)
February 25, 2019
On Monday, 25 February 2019 at 06:29:14 UTC, drug wrote:
> On 25.02.2019 1:51, 0xFFFFFFFF wrote:
>> How to disable dub from checking internet before building, it's slowing down build whenever it does this.
> `--skip-registry=all` let you avoid checking of all dependencies (https://dub.pm/commandline)

Thanks all, I believe --skip-registry=all resolves and checking the docs again it seems to be what I'm looking for. What a narrow miss!

Thanks again.
February 25, 2019
On 2019-02-24 23:51, 0xFFFFFFFF wrote:
> How to disable dub from checking internet before building, it's slowing down build whenever it does this.

I thought that was fixed [1]. Or is it doing something else?

[1] https://dlang.org/changelog/2.082.0.html#upgrade_check

-- 
/Jacob Carlborg
February 25, 2019
On Monday, 25 February 2019 at 18:54:03 UTC, Jacob Carlborg wrote:
> On 2019-02-24 23:51, 0xFFFFFFFF wrote:
>> How to disable dub from checking internet before building, it's slowing down build whenever it does this.
>
> I thought that was fixed [1]. Or is it doing something else?
>
> [1] https://dlang.org/changelog/2.082.0.html#upgrade_check

Nope, it has been fixed (to my knowledge). Though I think that the OP is using an older version of dub.
February 27, 2019
On Monday, 25 February 2019 at 18:54:03 UTC, Jacob Carlborg wrote:
> On 2019-02-24 23:51, 0xFFFFFFFF wrote:
>> How to disable dub from checking internet before building, it's slowing down build whenever it does this.
>
> I thought that was fixed [1]. Or is it doing something else?
>
> [1] https://dlang.org/changelog/2.082.0.html#upgrade_check

Time to upgrade then.