Re: Release D 2.068.1
On 09/19/2015 07:51 PM, Vladimir Panteleev wrote: What would DMD identify itself as then, if a version is not specified on make's command line? It could use the output of `git describe`. That would probably be better anyway, because non-release builds would properly identify themselves as non-release builds with both the most recent tag name AND, if local HEAD isn't tagged, it will also include the git commit hash (and, IIRC, the number of commits since the most recent tag). *Much* better than having two months of master commits all identifying as the exact same version. gen-package-version[1] operates on exactly that strategy (which I learned about from dub's source). [1] https://github.com/Abscissa/gen-package-version
Re: Release D 2.068.1
On Wednesday, 16 September 2015 at 18:34:48 UTC, Martin Nowak wrote: On Tuesday, 15 September 2015 at 08:39:43 UTC, John Colvin wrote: Where is the VERSION file documented? Why does it need manual intervention only for patch releases and pre-releases? We should prolly remove the manually updated VERSION file. The other build scripts update the file or pass VERSION=bla to make. What would DMD identify itself as then, if a version is not specified on make's command line?
Re: Release D 2.068.1
Am Tue, 15 Sep 2015 08:39:41 + schrieb John Colvin: > On Monday, 14 September 2015 at 23:53:16 UTC, Martin Nowak wrote: > > On Monday, 14 September 2015 at 20:14:45 UTC, Jack Stouffer > > wrote: > >> On Monday, 14 September 2015 at 17:51:59 UTC, Martin Nowak > >> wrote: > >>> What platform are you on? > >> > >> I'm on OS X, using the homebrew version of DMD. And homebrew > >> is telling me that I have 2.068.1 installed > > > > Well I guess it's a bug in the homebrew script then. > > Nobody is setting the VERSION file and there is no git repo to > > query. > > https://github.com/Homebrew/homebrew/blob/f8b0ff3ef63e60a1da17ec8d8e68d949b1cebc27/Library/Formula/dmd.rb#L50 > > Where is the VERSION file documented? Why does it need manual > intervention only for patch releases and pre-releases? I noticed this as well. There are different VERSION files depending on where you download DMD source code from: The releases on GitHub have 2.068 while the releases on dlang.org have 2.068.1 in VERSION. That's easy to miss when you build from source. (Also the dlang.org downloads add to the DMD download statistics, which is why I use those even though they include extra binaries for all OSs.) -- Marco
Re: Release D 2.068.1
On Tuesday, 15 September 2015 at 08:39:43 UTC, John Colvin wrote: Where is the VERSION file documented? Why does it need manual intervention only for patch releases and pre-releases? We should prolly remove the manually updated VERSION file. The other build scripts update the file or pass VERSION=bla to make.
Re: Release D 2.068.1
On 2015-09-10 19:46, Jack Stouffer wrote: Well, it's a little too late, but the compiler outputs the wrong version: $ dmd --version DMD64 D Compiler v2.068 Copyright (c) 1999-2015 by Digital Mars written by Walter Bright Working fine here, installed using DVM. -- /Jacob Carlborg
Re: Release D 2.068.1
On Monday, 14 September 2015 at 23:53:16 UTC, Martin Nowak wrote: On Monday, 14 September 2015 at 20:14:45 UTC, Jack Stouffer wrote: On Monday, 14 September 2015 at 17:51:59 UTC, Martin Nowak wrote: What platform are you on? I'm on OS X, using the homebrew version of DMD. And homebrew is telling me that I have 2.068.1 installed Well I guess it's a bug in the homebrew script then. Nobody is setting the VERSION file and there is no git repo to query. https://github.com/Homebrew/homebrew/blob/f8b0ff3ef63e60a1da17ec8d8e68d949b1cebc27/Library/Formula/dmd.rb#L50 Where is the VERSION file documented? Why does it need manual intervention only for patch releases and pre-releases?
Re: Release D 2.068.1
On Monday, 14 September 2015 at 17:51:59 UTC, Martin Nowak wrote: What platform are you on? I'm on OS X, using the homebrew version of DMD. And homebrew is telling me that I have 2.068.1 installed $ brew install dmd Warning: dmd-2.068.1 already installed $ dmd --version DMD64 D Compiler v2.068 Copyright (c) 1999-2015 by Digital Mars written by Walter Bright And if I check $ which dmd /usr/local/bin/dmd Then if I check the link /usr/local/bin/dmd -> ../Cellar/dmd/2.068.1/bin/dmd
Re: Release D 2.068.1
On Monday, 14 September 2015 at 20:14:45 UTC, Jack Stouffer wrote: On Monday, 14 September 2015 at 17:51:59 UTC, Martin Nowak wrote: What platform are you on? I'm on OS X, using the homebrew version of DMD. And homebrew is telling me that I have 2.068.1 installed $ brew install dmd Warning: dmd-2.068.1 already installed $ dmd --version DMD64 D Compiler v2.068 Copyright (c) 1999-2015 by Digital Mars written by Walter Bright And if I check $ which dmd /usr/local/bin/dmd Then if I check the link /usr/local/bin/dmd -> ../Cellar/dmd/2.068.1/bin/dmd Yeah, I get this too. Same with 2.068.2-b2
Re: Release D 2.068.1
On Monday, 14 September 2015 at 20:14:45 UTC, Jack Stouffer wrote: On Monday, 14 September 2015 at 17:51:59 UTC, Martin Nowak wrote: What platform are you on? I'm on OS X, using the homebrew version of DMD. And homebrew is telling me that I have 2.068.1 installed Well I guess it's a bug in the homebrew script then. Nobody is setting the VERSION file and there is no git repo to query. https://github.com/Homebrew/homebrew/blob/f8b0ff3ef63e60a1da17ec8d8e68d949b1cebc27/Library/Formula/dmd.rb#L50
Re: Release D 2.068.1
On Thursday, 10 September 2015 at 17:46:53 UTC, Jack Stouffer wrote: Well, it's a little too late, but the compiler outputs the wrong version: $ dmd --version DMD64 D Compiler v2.068 Copyright (c) 1999-2015 by Digital Mars written by Walter Bright It does work for me and the build seems fine as well. https://github.com/D-Programming-Language/installer/blob/c6f8648e56ca58e1cad65a441e2d765ca96f1da0/create_dmd_release/build_all.d#L345 What platform are you on?
Re: Release D 2.068.1
On Sunday, 6 September 2015 at 22:32:54 UTC, Martin Nowak wrote: Glad to announce D 2.068.1. http://downloads.dlang.org/releases/2.x/2.068.1/ This point release comes with many regression and bug fixes over 2.068.0, see the changelog for more details. http://dlang.org/changelog.html#2.068.1 -Martin Well, it's a little too late, but the compiler outputs the wrong version: $ dmd --version DMD64 D Compiler v2.068 Copyright (c) 1999-2015 by Digital Mars written by Walter Bright
Re: Release D 2.068.1
On 9/10/15 1:46 PM, Jack Stouffer wrote: On Sunday, 6 September 2015 at 22:32:54 UTC, Martin Nowak wrote: Glad to announce D 2.068.1. http://downloads.dlang.org/releases/2.x/2.068.1/ This point release comes with many regression and bug fixes over 2.068.0, see the changelog for more details. http://dlang.org/changelog.html#2.068.1 -Martin Well, it's a little too late, but the compiler outputs the wrong version: $ dmd --version DMD64 D Compiler v2.068 Copyright (c) 1999-2015 by Digital Mars written by Walter Bright I think we can fix this. Looks like the version string is generated on build, and has no effect on the code at all. -Steve
Re: Release D 2.068.1
On Thursday, 10 September 2015 at 18:27:08 UTC, Steven Schveighoffer wrote: I think we can fix this. Looks like the version string is generated on build, and has no effect on the code at all. -Steve Will check what went wrong there. https://trello.com/c/k6TFqHgY/89-check-version-number-of-compiler
Re: Release D 2.068.1
On Monday 07 September 2015 00:32, Martin Nowak wrote: > http://downloads.dlang.org/releases/2.x/2.068.1/ Trying to download the 7z Windows file gives me a 403. http://downloads.dlang.org/releases/2015/dmd.2.068.1.windows.7z
Re: Release D 2.068.1
On 09/07/2015 12:21 PM, anonymous wrote: > Trying to download the 7z Windows file gives me a 403. > > http://downloads.dlang.org/releases/2015/dmd.2.068.1.windows.7z Thanks, I just fixed it. The aws client failed to upload that file and it was hard to notice in the log output.