Re: release of code-d 0.21.0 + serve-d 0.5.1

2019-11-18 Thread uranuz via Digitalmars-d-announce
Hello! When code-d attempts self upgrade it prints the followinf output to console of VS Code: """ Installing DCD: DCD is outdated. Expected: 0.11.1, got none Downloading from https://github.com/dlang-community/DCD/releases/download/v0.11.1/dcd-v0.11.1-linux-x86_64.tar.gz to

Re: dud: A dub replacement

2019-11-18 Thread Laurent Tréguier via Digitalmars-d-announce
On Monday, 18 November 2019 at 19:54:38 UTC, Russel Winder wrote: It is so easy to make spelling errors in keys using hand-written JSON. I don't understand why this would apply to JSON specifically. Whatever the language is, the config files will be hand-written; spelling errors are pretty

Re: dud: A dub replacement

2019-11-18 Thread bachmeier via Digitalmars-d-announce
On Monday, 18 November 2019 at 19:44:46 UTC, Russel Winder wrote: On Mon, 2019-11-18 at 15:35 +, Joseph Rushton Wakeling via Digitalmars-d- announce wrote: […] It is quite extraordinary how readily folks fall to arguing over what the config format should be, rather than what the app

Re: dud: A dub replacement

2019-11-18 Thread Tobias Pankrath via Digitalmars-d-announce
On Monday, 18 November 2019 at 19:54:38 UTC, Russel Winder wrote: Probably yes. Though Cargo has taken many different decisions to Dub and mostly I think Cargo took better decisions. Could you elaborate a bit, please? I am not familiar with Cargo though.

Re: dud: A dub replacement

2019-11-18 Thread Paolo Invernizzi via Digitalmars-d-announce
On Monday, 18 November 2019 at 15:35:12 UTC, Joseph Rushton Wakeling wrote: On Monday, 18 November 2019 at 13:19:12 UTC, Paolo Invernizzi wrote: Closing this kind of discussions and letting anyone to choose "tabs or spaces" is a constructive solution, I think. It is quite extraordinary how

Re: dud: A dub replacement

2019-11-18 Thread Russel Winder via Digitalmars-d-announce
On Mon, 2019-11-18 at 16:54 +, JN via Digitalmars-d-announce wrote: > […] > > I only use the JSON format. JSON is widespread together with XML. > SDL I heard first time of in the context of Dub and never seen it > used elsewhere. TOML also I know only from Cargo. YAML at least I > know

Re: dud: A dub replacement

2019-11-18 Thread Russel Winder via Digitalmars-d-announce
On Mon, 2019-11-18 at 15:35 +, Joseph Rushton Wakeling via Digitalmars-d- announce wrote: > […] > It is quite extraordinary how readily folks fall to arguing over > what the config format should be, rather than what the app should > actually be able to do. :-\ Perhaps because writing the

Re: dud: A dub replacement

2019-11-18 Thread JN via Digitalmars-d-announce
On Monday, 18 November 2019 at 10:40:28 UTC, Russel Winder wrote: On Mon, 2019-11-18 at 10:26 +, Sebastiaan Koppe via Digitalmars-d-announce wrote: On Monday, 18 November 2019 at 09:53:56 UTC, Paolo Invernizzi wrote: > A win-win move would be to have dud emit the other formats >

Re: dud: A dub replacement

2019-11-18 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
On 11/18/19 7:59 AM, Joseph Rushton Wakeling wrote:   - I would imagine getting dependency resolution really right     would be top of the list -- it would be good to aim to fix     issues like https://github.com/dlang/dub/issues/1732 As has been discussed elsewhere a few months

Re: dud: A dub replacement

2019-11-18 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
On 11/18/19 3:54 AM, Jacob Carlborg wrote: Perhaps this ship has already sail. But YAML would have been a better choice. It's a superset of JSON. All the existing JSON description files would have worked as is. YAML's grammar is a convoluted read-only mess. Every time I have to write it I

Re: dud: A dub replacement

2019-11-18 Thread Joseph Rushton Wakeling via Digitalmars-d-announce
On Monday, 18 November 2019 at 13:19:12 UTC, Paolo Invernizzi wrote: Closing this kind of discussions and letting anyone to choose "tabs or spaces" is a constructive solution, I think. It is quite extraordinary how readily folks fall to arguing over what the config format should be, rather

Re: setup-dlang v0.4.0 released

2019-11-18 Thread Sebastiaan Koppe via Digitalmars-d-announce
On Monday, 18 November 2019 at 10:32:29 UTC, Mihails wrote: https://github.com/mihails-strasuns/setup-dlang/releases/tag/v0.4.0 Note: assuming no new issues will be found in a next few weeks, this will be eventually promoted to the 1.0.0 release. Fingers crossed. Thanks for this. It works

Re: dud: A dub replacement

2019-11-18 Thread Paolo Invernizzi via Digitalmars-d-announce
On Monday, 18 November 2019 at 10:44:18 UTC, Russel Winder wrote: On Mon, 2019-11-18 at 09:53 +, Paolo Invernizzi via Digitalmars-d-announce wrote: […] A win-win move would be to have dud emit the other formats automatically as part of the compilation procedure, so to have always all of

Re: dud: A dub replacement

2019-11-18 Thread Joseph Rushton Wakeling via Digitalmars-d-announce
On Monday, 11 November 2019 at 13:44:28 UTC, Robert Schadek wrote: So dub has some problems, and personally I find its code base very hard to get into. At Symmetry we are a very heavy user of dub, resulting in many wasted hours. So I started to write dud [1]. I kept some boring/nice parts

Re: dud: A dub replacement

2019-11-18 Thread Russel Winder via Digitalmars-d-announce
On Mon, 2019-11-18 at 09:53 +, Paolo Invernizzi via Digitalmars-d-announce wrote: […] > A win-win move would be to have dud emit the other formats > automatically as part of the compilation procedure, so to have > always all of them present and synced on the content. Why? In fact, why even

Re: dud: A dub replacement

2019-11-18 Thread Russel Winder via Digitalmars-d-announce
On Mon, 2019-11-18 at 10:26 +, Sebastiaan Koppe via Digitalmars-d-announce wrote: > On Monday, 18 November 2019 at 09:53:56 UTC, Paolo Invernizzi > wrote: > > A win-win move would be to have dud emit the other formats > > automatically as part of the compilation procedure, so to have > >

setup-dlang v0.4.0 released

2019-11-18 Thread Mihails via Digitalmars-d-announce
https://github.com/mihails-strasuns/setup-dlang/releases/tag/v0.4.0 Note: assuming no new issues will be found in a next few weeks, this will be eventually promoted to the 1.0.0 release. Fingers crossed. Fixes - * ldc-master will use latest uploaded asset for the current platform

Re: dud: A dub replacement

2019-11-18 Thread Sebastiaan Koppe via Digitalmars-d-announce
On Monday, 18 November 2019 at 09:53:56 UTC, Paolo Invernizzi wrote: A win-win move would be to have dud emit the other formats automatically as part of the compilation procedure, so to have always all of them present and synced on the content. I already regret starting about this. Instead of

Re: dud: A dub replacement

2019-11-18 Thread Paolo Invernizzi via Digitalmars-d-announce
On Monday, 18 November 2019 at 09:42:16 UTC, Russel Winder wrote: On Mon, 2019-11-18 at 09:31 +, Sebastiaan Koppe via Digitalmars-d-announce wrote: On Monday, 18 November 2019 at 08:57:58 UTC, Russel Winder wrote: > Is SDL the right format? Cargo uses TOML to great effect. > > And TOML

Re: dud: A dub replacement

2019-11-18 Thread Russel Winder via Digitalmars-d-announce
On Mon, 2019-11-18 at 09:31 +, Sebastiaan Koppe via Digitalmars-d-announce wrote: > On Monday, 18 November 2019 at 08:57:58 UTC, Russel Winder wrote: > > Is SDL the right format? Cargo uses TOML to great effect. > > > > And TOML has, I suspect greater traction more widely than SDL. > > I

Re: dud: A dub replacement

2019-11-18 Thread Sebastiaan Koppe via Digitalmars-d-announce
On Monday, 18 November 2019 at 08:57:58 UTC, Russel Winder wrote: Is SDL the right format? Cargo uses TOML to great effect. And TOML has, I suspect greater traction more widely than SDL. I personally prefer SDL when it comes to nested data, but yeah, that would work as well. The point I

Re: dud: A dub replacement

2019-11-18 Thread Russel Winder via Digitalmars-d-announce
On Sun, 2019-11-17 at 19:10 +, Sebastiaan Koppe via Digitalmars-d-announce wrote: > On Sunday, 17 November 2019 at 16:26:45 UTC, Denis Feklushkin > wrote: > > On Thursday, 14 November 2019 at 23:33:06 UTC, Nick Sabalausky > > (Abscissa) wrote: > > Also, this, apparently, should lead to the

Re: dud: A dub replacement

2019-11-18 Thread Jacob Carlborg via Digitalmars-d-announce
On Sunday, 17 November 2019 at 19:10:05 UTC, Sebastiaan Koppe wrote: SDL all the way please. Perhaps this ship has already sail. But YAML would have been a better choice. It's a superset of JSON. All the existing JSON description files would have worked as is. -- /Jacob Carlborg