Thread overview
Re: code.dlang.org having problems?
Mar 24, 2018
H. S. Teoh
Mar 24, 2018
Russel Winder
Mar 24, 2018
H. S. Teoh
Mar 24, 2018
rikki cattermole
Mar 24, 2018
H. S. Teoh
Mar 24, 2018
Russel Winder
Mar 24, 2018
H. S. Teoh
Mar 26, 2018
bauss
Mar 26, 2018
martin
Mar 25, 2018
Russel Winder
March 24, 2018
On Sat, Mar 24, 2018 at 03:48:21PM +0000, Russel Winder via Digitalmars-d wrote:
> It seems Dub is dead, and thus so are new Dub builds.
> 
> code.dlang.org appears to be having a 500 problem. I think the website is recovering as I write, but still no Dub builds so the point remains: no code.dlang.org, no Dub builds. :-(
[...]

And this is why I dislike network dependencies in my build tools.


T

-- 
Doubt is a self-fulfilling prophecy.
March 24, 2018
On Sat, 2018-03-24 at 09:01 -0700, H. S. Teoh via Digitalmars-d wrote:
> On Sat, Mar 24, 2018 at 03:48:21PM +0000, Russel Winder via Digitalmars-d wrote:
> > It seems Dub is dead, and thus so are new Dub builds.
> > 
> > code.dlang.org appears to be having a 500 problem. I think the website is recovering as I write, but still no Dub builds so the point remains: no code.dlang.org, no Dub builds. :-(
> 
> [...]
> 
> And this is why I dislike network dependencies in my build tools.
> 

How do you get dependencies if there is no repository?

The moral of this episode for me is not the network dependency per se, but the lack of a backup server that works.

-- 
Russel.
==========================================
Dr Russel Winder      t: +44 20 7585 2200
41 Buckmaster Road    m: +44 7770 465 077
London SW11 1EN, UK   w: www.russel.org.uk


March 24, 2018
On Sat, Mar 24, 2018 at 04:11:36PM +0000, Russel Winder via Digitalmars-d wrote:
> On Sat, 2018-03-24 at 09:01 -0700, H. S. Teoh via Digitalmars-d wrote:
> > On Sat, Mar 24, 2018 at 03:48:21PM +0000, Russel Winder via Digitalmars-d wrote:
> > > It seems Dub is dead, and thus so are new Dub builds.
> > > 
> > > code.dlang.org appears to be having a 500 problem. I think the website is recovering as I write, but still no Dub builds so the point remains: no code.dlang.org, no Dub builds. :-(
> > 
> > [...]
> > 
> > And this is why I dislike network dependencies in my build tools.
> > 
> 
> How do you get dependencies if there is no repository?
[...]

That is why a sane build system should always cache dependencies locally, and not have to rely on network servers being always available.


T

-- 
Let's not fight disease by killing the patient. -- Sean 'Shaleh' Perry
March 25, 2018
On 25/03/2018 5:45 AM, H. S. Teoh wrote:
> On Sat, Mar 24, 2018 at 04:11:36PM +0000, Russel Winder via Digitalmars-d wrote:
>> On Sat, 2018-03-24 at 09:01 -0700, H. S. Teoh via Digitalmars-d wrote:
>>> On Sat, Mar 24, 2018 at 03:48:21PM +0000, Russel Winder via Digitalmars-d
>>> wrote:
>>>> It seems Dub is dead, and thus so are new Dub builds.
>>>>
>>>> code.dlang.org appears to be having a 500 problem. I think the
>>>> website is recovering as I write, but still no Dub builds so the
>>>> point remains: no code.dlang.org, no Dub builds. :-(
>>>
>>> [...]
>>>
>>> And this is why I dislike network dependencies in my build tools.
>>>
>>
>> How do you get dependencies if there is no repository?
> [...]
> 
> That is why a sane build system should always cache dependencies
> locally, and not have to rely on network servers being always available.

Which is what dub does. It just has a very keen desire to check if it is up to date that's all.
March 24, 2018
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.

> 
> T
> 
-- 
Russel.
==========================================
Dr Russel Winder      t: +44 20 7585 2200
41 Buckmaster Road    m: +44 7770 465 077
London SW11 1EN, UK   w: www.russel.org.uk


March 24, 2018
On Sun, Mar 25, 2018 at 05:52:42AM +1300, rikki cattermole via Digitalmars-d wrote:
> On 25/03/2018 5:45 AM, H. S. Teoh wrote:
> > On Sat, Mar 24, 2018 at 04:11:36PM +0000, Russel Winder via Digitalmars-d wrote:
> > > On Sat, 2018-03-24 at 09:01 -0700, H. S. Teoh via Digitalmars-d wrote:
> > > > On Sat, Mar 24, 2018 at 03:48:21PM +0000, Russel Winder via Digitalmars-d wrote:
> > > > > It seems Dub is dead, and thus so are new Dub builds.
> > > > > 
> > > > > code.dlang.org appears to be having a 500 problem. I think the website is recovering as I write, but still no Dub builds so the point remains: no code.dlang.org, no Dub builds. :-(
> > > > 
> > > > [...]
> > > > 
> > > > And this is why I dislike network dependencies in my build tools.
> > > > 
> > > 
> > > How do you get dependencies if there is no repository?
> > [...]
> > 
> > That is why a sane build system should always cache dependencies locally, and not have to rely on network servers being always available.
> 
> Which is what dub does. It just has a very keen desire to check if it is up to date that's all.

Which I found annoying.  I'm glad you pointed out a way to stop it from doing so.


T

-- 
Жил-был король когда-то, при нём блоха жила.
March 24, 2018
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

-- 
What are you when you run out of Monet? Baroque.
March 25, 2018
On Sat, 2018-03-24 at 13:31 -0700, H. S. Teoh via Digitalmars-d wrote:
> 
[…]
> 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?

There is supposed to be a set of servers so the probability of all failing is vanishing small,thus the probability of not being able to build is vanishingly small. Except in my case where I seem to have found a server set state or Dub state such that the probability of t building was 1.

:-(

-- 
Russel.
==========================================
Dr Russel Winder      t: +44 20 7585 2200
41 Buckmaster Road    m: +44 7770 465 077
London SW11 1EN, UK   w: www.russel.org.uk


March 26, 2018
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.
March 26, 2018
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

You could go to knock on the devs door of a dependency and ask for a copy of the code (e.g. on a floppy :) ). It is possible to add "a local package directory (e.g. a git repository)" in dub - so no need for hipster-WWW ;P

btw: The vibe repo seems to be up and running again.