Thread overview
Release D 2.078.2
Feb 09, 2018
Martin Nowak
Feb 10, 2018
Thomas Mader
Feb 10, 2018
Seb
Feb 16, 2018
Martin Nowak
Feb 17, 2018
Eugene Wissner
Feb 19, 2018
Martin Nowak
Feb 19, 2018
Eugene Wissner
Feb 20, 2018
rikki cattermole
Feb 17, 2018
Thomas Mader
Feb 19, 2018
Martin Nowak
February 09, 2018
Glad to announce D 2.078.2.

http://dlang.org/download.html

This point release fixes a few issues over 2.078.2, see the changelog for more details.

http://dlang.org/changelog/2.078.2.html

This point release also ships with dub 1.7.2 which further improves reliability. https://github.com/dlang/dub/blob/master/CHANGELOG.md#v172---2018-02-07

- -Martin
February 10, 2018
On Friday, 9 February 2018 at 09:20:14 UTC, Martin Nowak wrote:
> This point release also ships with dub 1.7.2 which further improves reliability. https://github.com/dlang/dub/blob/master/CHANGELOG.md#v172---2018-02-07
>
> - -Martin

https://github.com/dlang/dub/releases/latest doesn't point to 1.7.2.

February 10, 2018
On Saturday, 10 February 2018 at 08:17:27 UTC, Thomas Mader wrote:
> On Friday, 9 February 2018 at 09:20:14 UTC, Martin Nowak wrote:
>> This point release also ships with dub 1.7.2 which further improves reliability. https://github.com/dlang/dub/blob/master/CHANGELOG.md#v172---2018-02-07
>>
>> - -Martin
>
> https://github.com/dlang/dub/releases/latest doesn't point to 1.7.2.

https://github.com/dlang/dub/issues/1367
February 16, 2018
On 02/10/2018 09:17 AM, Thomas Mader wrote:
> https://github.com/dlang/dub/releases/latest doesn't point to 1.7.2.

Out of curiosity, do you have a strong use-case to install/update dub separately of the compiler?
February 17, 2018
On Friday, 16 February 2018 at 11:25:42 UTC, Martin Nowak wrote:
> On 02/10/2018 09:17 AM, Thomas Mader wrote:
>> https://github.com/dlang/dub/releases/latest doesn't point to 1.7.2.
>
> Out of curiosity, do you have a strong use-case to install/update dub separately of the compiler?

I'm shipping dub (as a part of d-tools package) separately from the compiler for Slackware Linux. This way it can be built with the compiler of choice: dmd, gdc or ldc. It doesn't always make sense to ship dub with every compiler since you can use --compiler option. And the compiler dub is built with, is the default compiler to build dub projects.
February 17, 2018
On Friday, 16 February 2018 at 11:25:42 UTC, Martin Nowak wrote:
> On 02/10/2018 09:17 AM, Thomas Mader wrote:
>> https://github.com/dlang/dub/releases/latest doesn't point to 1.7.2.
>
> Out of curiosity, do you have a strong use-case to install/update dub separately of the compiler?

I don't even use or need latest as of yet. I need to download the exact same version in my scripts nevertheless.
I just saw that it was not updated and wanted to let you know.

But I package dub and the tools as a separate package from dmd.
Archlinux is doing the same and I find it reasonable. dub and the tools should be buildable with other compilers too and one day I might switch to ldc as the default compiler for the distribution because of speed.
February 19, 2018
On 02/17/2018 10:35 AM, Thomas Mader wrote:
> But I package dub and the tools as a separate package from dmd. Archlinux is doing the same and I find it reasonable. dub and the tools should be buildable with other compilers too and one day I might switch to ldc as the default compiler for the distribution because of speed.

Dub hardly is CPU bound, and using different binaries (build settings)
on other systems might cause harder to reproduce bugs.
I think we'll transition to gdc or ldc for dmd releases at some point,
if I or someone else find enough time for that.
February 19, 2018
On 02/17/2018 06:52 AM, Eugene Wissner wrote:
> On Friday, 16 February 2018 at 11:25:42 UTC, Martin Nowak wrote:
>> On 02/10/2018 09:17 AM, Thomas Mader wrote:
>>> https://github.com/dlang/dub/releases/latest doesn't point to 1.7.2.
>>
>> Out of curiosity, do you have a strong use-case to install/update dub separately of the compiler?
> 
> I'm shipping dub (as a part of d-tools package) separately from the
> compiler for Slackware Linux. This way it can be built with the compiler
> of choice: dmd, gdc or ldc. It doesn't always make sense to ship dub
> with every compiler since you can use --compiler option. And the
> compiler dub is built with, is the default compiler to build dub projects.

You have any idea for a more sensible default compiler? IIRC dub now supports any compiler out of the box, but indeed the search order depends on it's host compiler.

The main goal of shipping dub with the compiler was to simplify distribution and increase it's usage. Would you say this goal is met, or should we consider to release dub binaries separately but in sync with dlang releases.
February 19, 2018
On Monday, 19 February 2018 at 10:08:37 UTC, Martin Nowak wrote:
> On 02/17/2018 06:52 AM, Eugene Wissner wrote:
>> On Friday, 16 February 2018 at 11:25:42 UTC, Martin Nowak wrote:
>>> On 02/10/2018 09:17 AM, Thomas Mader wrote:
>>>> https://github.com/dlang/dub/releases/latest doesn't point to 1.7.2.
>>>
>>> Out of curiosity, do you have a strong use-case to install/update dub separately of the compiler?
>> 
>> I'm shipping dub (as a part of d-tools package) separately from the
>> compiler for Slackware Linux. This way it can be built with the compiler
>> of choice: dmd, gdc or ldc. It doesn't always make sense to ship dub
>> with every compiler since you can use --compiler option. And the
>> compiler dub is built with, is the default compiler to build dub projects.
>
> You have any idea for a more sensible default compiler? IIRC dub now supports any compiler out of the box, but indeed the search order depends on it's host compiler.
>
> The main goal of shipping dub with the compiler was to simplify distribution and increase it's usage. Would you say this goal is met, or should we consider to release dub binaries separately but in sync with dlang releases.

It would be great if dub had some global configuration file /etc/dub.conf (or dub.json) for example, where the defaults can be set (I don't know if something like this already exists), or maybe /etc/d/ where dub.conf and dmd.conf can be put - it seems a bit cleaner to me.

I think that shipping dub and dmd together is generally a good thing. I'm using Ubuntu at work and I'm pretty happy that I can just download one package and get the main d tools installed together. One of the things I hate about the most deb/rpm based distributions, is that the most programs are split in a lot of small packages. As for Slackware I want to switch to building dmd from source anyway, so I think it doesn't matter a lot for maintainers that binary packages have dub as well. And for normal people it's just simpler to install everything together as you said.
February 20, 2018
On 19/02/2018 7:43 PM, Eugene Wissner wrote:
> On Monday, 19 February 2018 at 10:08:37 UTC, Martin Nowak wrote:
>> On 02/17/2018 06:52 AM, Eugene Wissner wrote:
>>> On Friday, 16 February 2018 at 11:25:42 UTC, Martin Nowak wrote:
>>>> On 02/10/2018 09:17 AM, Thomas Mader wrote:
>>>>> https://github.com/dlang/dub/releases/latest doesn't point to 1.7.2.
>>>>
>>>> Out of curiosity, do you have a strong use-case to install/update dub separately of the compiler?
>>>
>>> I'm shipping dub (as a part of d-tools package) separately from the
>>> compiler for Slackware Linux. This way it can be built with the compiler
>>> of choice: dmd, gdc or ldc. It doesn't always make sense to ship dub
>>> with every compiler since you can use --compiler option. And the
>>> compiler dub is built with, is the default compiler to build dub projects.
>>
>> You have any idea for a more sensible default compiler? IIRC dub now supports any compiler out of the box, but indeed the search order depends on it's host compiler.
>>
>> The main goal of shipping dub with the compiler was to simplify distribution and increase it's usage. Would you say this goal is met, or should we consider to release dub binaries separately but in sync with dlang releases.
> 
> It would be great if dub had some global configuration file /etc/dub.conf (or dub.json) for example, where the defaults can be set (I don't know if something like this already exists), or maybe /etc/d/ where dub.conf and dmd.conf can be put - it seems a bit cleaner to me.

https://github.com/dlang/dub/blob/master/source/dub/dub.d#L218
https://github.com/dlang/dub/blob/master/source/dub/dub.d#L1608