Thread overview
[Issue 22212] dmd version has -dirty suffix on windows
Dec 27, 2023
Iain Buclaw
Dec 27, 2023
Dlang Bot
Dec 27, 2023
Dlang Bot
Jan 01, 2024
Dlang Bot
December 27, 2023
https://issues.dlang.org/show_bug.cgi?id=22212

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |r.sagitario@gmx.de

--- Comment #1 from Iain Buclaw <ibuclaw@gdcproject.org> ---
*** Issue 20620 has been marked as a duplicate of this issue. ***

--
December 27, 2023
https://issues.dlang.org/show_bug.cgi?id=22212

Dlang Bot <dlang-bot@dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull

--- Comment #2 from Dlang Bot <dlang-bot@dlang.rocks> ---
@ibuclaw created dlang/installer pull request #566 "Fix Issue 22212 - dmd version has -dirty suffix on windows" fixing this issue:

- Fix Issue 22212 - dmd version has -dirty suffix on windows

  Typically, git-clone probes the filesystem to see if it handles the
executable bit correctly and the `core.fileMode` variable is automatically set
as necessary. However when building dmd releases using vagrant box method,
git-clone is done on a Linux host (i.e a filesystem that handles the filemode
correctly), then scp'd to a Windows VM (i.e an environment that loses the
filemode). So when building Windows binaries, always ensure this variable is
set to `false`.

https://github.com/dlang/installer/pull/566

--
December 27, 2023
https://issues.dlang.org/show_bug.cgi?id=22212

Dlang Bot <dlang-bot@dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Dlang Bot <dlang-bot@dlang.rocks> ---
dlang/installer pull request #566 "Fix Issue 22212 - dmd version has -dirty suffix on windows" was merged into stable:

- 32bbc075f03fd9301519a8ec77ccfea1bcd35641 by Iain Buclaw:
  Fix Issue 22212 - dmd version has -dirty suffix on windows

  Typically, git-clone probes the filesystem to see if it handles the
executable bit correctly and the `core.fileMode` variable is automatically set
as necessary. However when building dmd releases using vagrant box method,
git-clone is done on a Linux host (i.e a filesystem that handles the filemode
correctly), then scp'd to a Windows VM (i.e an environment that loses the
filemode). So when building Windows binaries, always ensure this variable is
set to `false`.

https://github.com/dlang/installer/pull/566

--
January 01, 2024
https://issues.dlang.org/show_bug.cgi?id=22212

--- Comment #4 from Dlang Bot <dlang-bot@dlang.rocks> ---
dlang/installer pull request #567 "Merge stable" was merged into master:

- efe3deb3a4ad5851451cd7aa8c9fadabef5fdacf by Iain Buclaw:
  Fix Issue 22212 - dmd version has -dirty suffix on windows

  Typically, git-clone probes the filesystem to see if it handles the
executable bit correctly and the `core.fileMode` variable is automatically set
as necessary. However when building dmd releases using vagrant box method,
git-clone is done on a Linux host (i.e a filesystem that handles the filemode
correctly), then scp'd to a Windows VM (i.e an environment that loses the
filemode). So when building Windows binaries, always ensure this variable is
set to `false`.

https://github.com/dlang/installer/pull/567

--