Thread overview
[Issue 12229] New: Properly name DMD compiler versions
Feb 23, 2014
Andrew Edwards
Feb 23, 2014
Martin Nowak
Feb 28, 2014
Andrew Edwards
February 23, 2014
https://d.puremagic.com/issues/show_bug.cgi?id=12229

           Summary: Properly name DMD compiler versions
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: installer
        AssignedTo: nobody@puremagic.com
        ReportedBy: edwards.ac@gmail.com


--- Comment #0 from Andrew Edwards <edwards.ac@gmail.com> 2014-02-22 20:13:02 PST ---
On 02/20/2014 02:13 AM, Andrew Edwards wrote:
Regardless of which version of DMD one ends up using, the DMD help message only
displays the base release version. Meaning, if I'm running beta 1, 2, 3 or rc 1
of release 2.065, typing dmd at the shell prompt always yields "DMD[32/64] D
Compiler v2.065". It must be possible to change this so that the correct
version information is displayed. If I'm running beta 1, it should say
"DMD[32/64] D Compiler v2.065 beta 1" and the same goes for any other release.

On 2/20/14, 2:03 PM, Walter Bright wrote:
The string printed is set by the variable global.version, which is set in
Global::init() by the contents of verstr.h.

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
February 23, 2014
https://d.puremagic.com/issues/show_bug.cgi?id=12229


Martin Nowak <code@dawg.eu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |code@dawg.eu


--- Comment #1 from Martin Nowak <code@dawg.eu> 2014-02-23 07:34:54 PST ---
Version number is set by the version file.
https://github.com/D-Programming-Language/dmd/blob/master/VERSION
We should remove that file because it requires manual updating. Instead we can
set the version from the build script.

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
February 28, 2014
https://d.puremagic.com/issues/show_bug.cgi?id=12229



--- Comment #2 from Andrew Edwards <edwards.ac@gmail.com> 2014-02-27 21:48:44 PST ---
We should indeed remove VERSION from the repo. At no time should HEAD be tagged with a specific version number. This creates confusion when trying to identify between changes intended for master vs. the branch and unnecessarily complicates the pick process.

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------