www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 15910] New: Prevent mismatch of VERSION information in dmd


          Issue ID: 15910
           Summary: Prevent mismatch of VERSION information in dmd
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: installer
          Assignee: nobody puremagic.com
          Reporter: joseph.wakeling webdrake.net

For the second release in a row (2.070.0 followed by 2.071.0), dmd has been
released with the VERSION file not updated to match the release version:
http://forum.dlang.org/post/sesqprbrrdzkcvdvxndg forum.dlang.org
http://forum.dlang.org/post/cplapztlpphcvosjcish forum.dlang.org

Among the consequences are that anyone building directly from source will end
up with a wrong libdruntime library filename.

The fact that this is a recurring problem suggests that the release procedure
should be revised to make this impossible.  A factor here may be that the
release script overwrites the VERSION file, meaning that mismatches between git
tags and the VERSION file will be hidden:

Assuming that the VERSION file is still desired for e.g. users building from
tarballs instead of git clones, this suggests that perhaps the release script
should validate and require matching VERSION information instead of overwriting
the file ... ?

Apr 10 2016