digitalmars.D.bugs - [Issue 20826] New: CI breakage: create_dmd_release attempts to copy
- d-bugmail puremagic.com (29/29) May 12 2020 https://issues.dlang.org/show_bug.cgi?id=20826
https://issues.dlang.org/show_bug.cgi?id=20826 Issue ID: 20826 Summary: CI breakage: create_dmd_release attempts to copy the complete dmd repo. Product: D Version: D2 Hardware: x86 OS: Windows Status: NEW Severity: blocker Priority: P1 Component: installer Assignee: nobody puremagic.com Reporter: Bastiaan Veelo.net Currently the github dlang.installer (Build_Release) check is failing. This happens when create_dmd_release is copying the dmd sources to the release directory [1] with the line copyDirVersioned(cloneDir~"/dmd/src", releaseDir~"/dmd2/src/dmd"); This causes "git ls-files" to be executed, which _should_ list the versioned files in cloneDir~"/dmd/src". Somehow though, it erroneously lists all versioned files as seen from the root of cloneDir. As a result the copy fails, because the files in the root (such as ".azure-pipelines/lib.sh") do not exist in the dmd/src subdirectory. I suspect that "git ls-files" is having trouble with mixed directory separators (/ and \). Perhaps git has been updated, because the relevant lines in the installer have not changed in years. [1] https://github.com/dlang/installer/blob/b4b6697017b6c6942437d8fa8922366677a7edc0/create_dmd_release/create_dmd_release.d#L556 --
May 12 2020