Algorithms to solve programming contest problems
John Colvin via Digitalmars-d
digitalmars-d at puremagic.com
Mon Oct 27 06:44:22 PDT 2014
On Monday, 27 October 2014 at 13:24:26 UTC, Marc Schütz wrote:
> On Monday, 27 October 2014 at 09:19:26 UTC, John Colvin wrote:
>> On Monday, 27 October 2014 at 09:10:41 UTC, Russel Winder via
>> Digitalmars-d wrote:
>>> On Sun, 2014-10-26 at 23:42 +0100, Martin Nowak via
>>> Digitalmars-d wrote:
>>> […]
>>>> Seriously, internet connection, well you can fetch packages
>>>> and use them locally.
>>> […]
>>>
>>> Yes seriously, having to have an Internet connection, to get
>>> anything
>>> started is a serious problem for many people. When at home it
>>> is not a
>>> problem, when on the road it is a ####### disaster.
>>>
>>> As with Maven, Gradle, (anything in the JVM-verse with
>>> artefact
>>> dependencies) you have to pre-plan having all the artefacts
>>> you might
>>> want before leaving the Internet. Thus no serendipitous
>>> starting of new
>>> work.
>>>
>>> Until the Internet is a high speed resource free for everyone
>>> at all
>>> times everywhere, please do not hardwire into build tools
>>> assumptions
>>> that it is there Internet connectivity as Maven originally
>>> did.
>>
>> dub functions fine without internet connection. Packages
>> already in ~/.dub (or wherever else you might choose) are used.
>
> And how is it going to get there? It is common for build
> service (openSUSE's OBS for instance) to disable all internet
> connectivity. All things that are necessary for building get
> installed by the build service from prebuilt packages _before_
> the system is booted. It cannot download additional files
> during the build process.
I'm not sure I fully understand, but `dub upgrade` will download
all the dependencies for the current package.
The --cache=VALUE option can be used to specify where you want
them put.
More information about the Digitalmars-d
mailing list