Add validation of tarball builds
authorPaul Bauer <paul.bauer.q@gmail.com>
Wed, 9 Oct 2019 13:16:58 +0000 (15:16 +0200)
committerPaul Bauer <paul.bauer.q@gmail.com>
Fri, 1 Nov 2019 07:38:52 +0000 (08:38 +0100)
commit988c773acd759dbebc9f2a1c1ebca460a4e6f305
treeb218d25b1dc6a0cd9a16ea50f0fc7b898768eb98
parent0701a648f2804ec49af440ad7873a4529b0e36f4
Add validation of tarball builds

Allows validation of GROMACS builds against a file stored in the
release tarball to give users an indication if the source they are using
is actually unmodified from the release version.

This only applies to builds from tarballs, as the git version checking
already does all of this for us.

Hash can be generated by the new cmake target checksum-files, and applies
for files in src/ and python_packaging/, if they are included in
a whitelist defined in the script.

Refs #2128

Change-Id: Ia3bc41c0d0566993166f567409510cf9c9ec2020
12 files changed:
admin/builds/source-package.py
admin/createFileHash.py [new file with mode: 0644]
cmake/VersionInfo.cmake.cmakein
cmake/gmxVersionInfo.cmake
docs/install-guide/index.rst
docs/release-notes/2020/major/miscellaneous.rst
src/gromacs/CMakeLists.txt
src/gromacs/utility/baseversion-gen.cpp.cmakein
src/gromacs/utility/baseversion.cpp
src/gromacs/utility/baseversion.h
src/gromacs/utility/baseversion_gen.h
src/gromacs/utility/binaryinformation.cpp