Fix "srcid" on Windows

Windows BIND releases produced by GitLab CI are built from Git
repositories, not from release tarballs, which means the "srcid" file is
not present in the top source directory when MSBuild is invoked.  This
causes the Git commit hash for such builds to be set to "unset_id".
Enable win32utils/Configure to try determining the commit hash for a
build by invoking Git on the build host if the "srcid" file is not
present (which is what its Unix counterpart does).
78 jobs for !3364 with michal/fix-srcid-on-windows in 8 seconds (queued for 32 seconds)
detached
Status Job ID Name Coverage
  Precheck
canceled #820262
amd64 linux
autoreconf

00:00:08

canceled #820264
amd64 linux
clang-format

00:00:06

canceled #820265
amd64 linux
coccinelle

00:00:06

canceled #820263
amd64 linux
misc

00:00:07

 
  Build
canceled #820281
amd64 linux
clang:asan

canceled #820285
amd64 linux
clang:buster:amd64

canceled #820287
amd64 libvirt
clang:freebsd11.3:amd64

canceled #820288
amd64 libvirt
clang:freebsd12.1:amd64

canceled #820289
amd64 libvirt
clang:openbsd6.6:amd64

canceled #820283
amd64 linux
clang:tsan

canceled #820266
amd64 linux
gcc:alpine3.11:amd64

canceled #820280
amd64 linux
gcc:asan

canceled #820279
amd64 linux
gcc:bionic:amd64

canceled #820271
amd64 linux
gcc:buster:amd64

canceled #820267
amd64 linux
gcc:centos6:amd64

canceled #820268
amd64 linux
gcc:centos7:amd64

canceled #820269
amd64 linux
gcc:centos8:amd64

canceled #820277
amd64 linux
gcc:fedora31:amd64

canceled #820284
amd64 linux
gcc:mutexatomics

canceled #820273
amd64 linux
gcc:out-of-tree

canceled #820286
amd64 linux
gcc:pkcs11

canceled #820272
amd64 linux
gcc:sid:amd64

canceled #820274
arm64 linux
gcc:sid:arm64

canceled #820275
i386 linux
gcc:sid:i386

canceled #820270
amd64 linux
gcc:stretch:amd64

canceled #820282
amd64 linux
gcc:tsan

canceled #820276
amd64 linux
gcc:tumbleweed:amd64

canceled #820278
amd64 linux
gcc:xenial:amd64

canceled #820290
amd64 windows
msvc:windows:amd64

 
  Unit
canceled #820305
amd64 linux
unit:clang:asan

canceled #820309
amd64 linux
unit:clang:buster:amd64

canceled #820311
amd64 libvirt
unit:clang:freebsd11.3:amd64

canceled #820312
amd64 libvirt
unit:clang:freebsd12.1:amd64

canceled #820307
amd64 linux allowed to fail
unit:clang:tsan

canceled #820291
amd64 linux
unit:gcc:alpine3.11:amd64

canceled #820304
amd64 linux
unit:gcc:asan

canceled #820303
amd64 linux
unit:gcc:bionic:amd64

canceled #820296
amd64 linux
unit:gcc:buster:amd64

canceled #820292
amd64 linux
unit:gcc:centos6:amd64

canceled #820293
amd64 linux
unit:gcc:centos7:amd64

canceled #820294
amd64 linux
unit:gcc:centos8:amd64

canceled #820301
amd64 linux
unit:gcc:fedora31:amd64

canceled #820308
amd64 linux
unit:gcc:mutexatomics

canceled #820310
amd64 linux
unit:gcc:pkcs11

canceled #820297
amd64 linux
unit:gcc:sid:amd64

canceled #820298
arm64 linux
unit:gcc:sid:arm64

canceled #820299
i386 linux
unit:gcc:sid:i386

canceled #820295
amd64 linux
unit:gcc:stretch:amd64

canceled #820306
amd64 linux allowed to fail
unit:gcc:tsan

canceled #820300
amd64 linux
unit:gcc:tumbleweed:amd64

canceled #820302
amd64 linux
unit:gcc:xenial:amd64

 
  System
canceled #820327
amd64 linux
system:clang:asan

canceled #820331
amd64 linux
system:clang:buster:amd64

canceled #820333
amd64 libvirt
system:clang:freebsd11.3:amd64

canceled #820334
amd64 libvirt
system:clang:freebsd12.1:amd64

canceled #820329
amd64 linux allowed to fail
system:clang:tsan

canceled #820313
amd64 linux
system:gcc:alpine3.11:amd64

canceled #820326
amd64 linux
system:gcc:asan

canceled #820325
amd64 linux
system:gcc:bionic:amd64

canceled #820318
amd64 linux
system:gcc:buster:amd64

canceled #820314
amd64 linux
system:gcc:centos6:amd64

canceled #820315
amd64 linux
system:gcc:centos7:amd64

canceled #820316
amd64 linux
system:gcc:centos8:amd64

canceled #820323
amd64 linux
system:gcc:fedora31:amd64

canceled #820330
amd64 linux
system:gcc:mutexatomics

canceled #820332
amd64 linux
system:gcc:pkcs11

canceled #820319
amd64 linux
system:gcc:sid:amd64

canceled #820320
arm64 linux
system:gcc:sid:arm64

canceled #820321
i386 linux
system:gcc:sid:i386

canceled #820317
amd64 linux
system:gcc:stretch:amd64

canceled #820328
amd64 linux allowed to fail
system:gcc:tsan

canceled #820322
amd64 linux
system:gcc:tumbleweed:amd64

canceled #820324
amd64 linux
system:gcc:xenial:amd64

 
  Docs
canceled #820335
amd64 linux
docs

 
  Postcheck
canceled #820339
amd64 linux
cppcheck

canceled #820336
amd64 linux
flake8

canceled #820337
amd64 linux
pylint

canceled #820338
amd64 linux
scan-build