Seeing something like the log below is noisy, and adds overhead (time costs add up) to CI builds when they call gitlog2version.sh a dozen times. This re-calling is intended more for development loops, when the git repo can actually change between two calls to make something; in stable-source (CI, packaging, end-user) builds it suffices to generate the file once and trust it (if exists):
=== Configured 'TESTCOMBO=NUT_USB_VARIANT=no;', 2 build variants (including this one) remaining to complete; trying to build...
Thu Jul 31 08:07:11 GMT 2025: Starting the parallel build attempt (quietly to build what we can) for 'all' ...
For parallel builds, '-j 8 -l 32.0' options would be used
SEMVER=2.8.3; TRUNK='master'; BASE='ea7da8e2b8f418aec15aeb3a91164cfb2a271d27'; DESC='v2.8.3-735+gda2c7d283' => TAG='v2.8.3' + SUFFIX='-735+gda2c7d283' => VER5='2.8.3.637.98' => DESC5='2.8.3.637.98-735+gda2c7d283' => VER50='2.8.3.637.98' => DESC50='2.8.3.637.98-735+gda2c7d283'
SEMVER=2.8.3; TRUNK='master'; BASE='ea7da8e2b8f418aec15aeb3a91164cfb2a271d27'; DESC='v2.8.3-735+gda2c7d283' => TAG='v2.8.3' + SUFFIX='-735+gda2c7d283' => VER5='2.8.3.637.98' => DESC5='2.8.3.637.98-735+gda2c7d283' => VER50='2.8.3.637.98' => DESC50='2.8.3.637.98-735+gda2c7d283'
SEMVER=2.8.3; TRUNK='master'; BASE='ea7da8e2b8f418aec15aeb3a91164cfb2a271d27'; DESC='v2.8.3-735+gda2c7d283' => TAG='v2.8.3' + SUFFIX='-735+gda2c7d283' => VER5='2.8.3.637.98' => DESC5='2.8.3.637.98-735+gda2c7d283' => VER50='2.8.3.637.98' => DESC50='2.8.3.637.98-735+gda2c7d283'
SEMVER=2.8.3; TRUNK='master'; BASE='ea7da8e2b8f418aec15aeb3a91164cfb2a271d27'; DESC='v2.8.3-735+gda2c7d283' => TAG='v2.8.3' + SUFFIX='-735+gda2c7d283' => VER5='2.8.3.637.98' => DESC5='2.8.3.637.98-735+gda2c7d283' => VER50='2.8.3.637.98' => DESC50='2.8.3.637.98-735+gda2c7d283'
SEMVER=2.8.3; TRUNK='master'; BASE='ea7da8e2b8f418aec15aeb3a91164cfb2a271d27'; DESC='v2.8.3-735+gda2c7d283' => TAG='v2.8.3' + SUFFIX='-735+gda2c7d283' => VER5='2.8.3.637.98' => DESC5='2.8.3.637.98-735+gda2c7d283' => VER50='2.8.3.637.98' => DESC50='2.8.3.637.98-735+gda2c7d283'
SEMVER=2.8.3; TRUNK='master'; BASE='ea7da8e2b8f418aec15aeb3a91164cfb2a271d27'; DESC='v2.8.3-735+gda2c7d283' => TAG='v2.8.3' + SUFFIX='-735+gda2c7d283' => VER5='2.8.3.637.98' => DESC5='2.8.3.637.98-735+gda2c7d283' => VER50='2.8.3.637.98' => DESC50='2.8.3.637.98-735+gda2c7d283'
SEMVER=2.8.3; TRUNK='master'; BASE='ea7da8e2b8f418aec15aeb3a91164cfb2a271d27'; DESC='v2.8.3-735+gda2c7d283' => TAG='v2.8.3' + SUFFIX='-735+gda2c7d283' => VER5='2.8.3.637.98' => DESC5='2.8.3.637.98-735+gda2c7d283' => VER50='2.8.3.637.98' => DESC50='2.8.3.637.98-735+gda2c7d283'
SEMVER=2.8.3; TRUNK='master'; BASE='ea7da8e2b8f418aec15aeb3a91164cfb2a271d27'; DESC='v2.8.3-735+gda2c7d283' => TAG='v2.8.3' + SUFFIX='-735+gda2c7d283' => VER5='2.8.3.637.98' => DESC5='2.8.3.637.98-735+gda2c7d283' => VER50='2.8.3.637.98' => DESC50='2.8.3.637.98-735+gda2c7d283'
SEMVER=2.8.3; TRUNK='master'; BASE='ea7da8e2b8f418aec15aeb3a91164cfb2a271d27'; DESC='v2.8.3-735+gda2c7d283' => TAG='v2.8.3' + SUFFIX='-735+gda2c7d283' => VER5='2.8.3.637.98' => DESC5='2.8.3.637.98-735+gda2c7d283' => VER50='2.8.3.637.98' => DESC50='2.8.3.637.98-735+gda2c7d283'
SEMVER=2.8.3; TRUNK='master'; BASE='ea7da8e2b8f418aec15aeb3a91164cfb2a271d27'; DESC='v2.8.3-735+gda2c7d283' => TAG='v2.8.3' + SUFFIX='-735+gda2c7d283' => VER5='2.8.3.637.98' => DESC5='2.8.3.637.98-735+gda2c7d283' => VER50='2.8.3.637.98' => DESC50='2.8.3.637.98-735+gda2c7d283'
Thu Jul 31 08:07:32 GMT 2025: SUCCESS
Thu Jul 31 08:07:32 GMT 2025: Starting a 'make check' for quick sanity test of the products built with the current compiler and standards
PASSED man-source sanity check (checked 168 files)
PASSED man-page sanity check (checked 0 files)
Making check in include
GENERATE-HEADER nut_version.h
SEMVER=2.8.3; TRUNK='master'; BASE='ea7da8e2b8f418aec15aeb3a91164cfb2a271d27'; DESC='v2.8.3-735+gda2c7d283' => TAG='v2.8.3' + SUFFIX='-735+gda2c7d283' => VER5='2.8.3.637.98' => DESC5='2.8.3.637.98-735+gda2c7d283' => VER50='2.8.3.637.98' => DESC50='2.8.3.637.98-735+gda2c7d283'
NUT_VERSION: "2.8.3.637.98-735+gda2c7d283" NUT_VERSION_IS_RELEASE:false NUT_VERSION_IS_PRERELEASE:false NUT_VERSION_SEMVER: "2.8.3"
GENERATE-HEADER nut_version.h did not change
Making check in common
Making check in clients
Making check in conf
Making check in drivers
Making check in tools
Making check in .
Making check in nut-scanner
GENERATE-HEADER nut_version.h
SEMVER=2.8.3; TRUNK='master'; BASE='ea7da8e2b8f418aec15aeb3a91164cfb2a271d27'; DESC='v2.8.3-735+gda2c7d283' => TAG='v2.8.3' + SUFFIX='-735+gda2c7d283' => VER5='2.8.3.637.98' => DESC5='2.8.3.637.98-735+gda2c7d283' => VER50='2.8.3.637.98' => DESC50='2.8.3.637.98-735+gda2c7d283'
NUT_VERSION: "2.8.3.637.98-735+gda2c7d283" NUT_VERSION_IS_RELEASE:false NUT_VERSION_IS_PRERELEASE:false NUT_VERSION_SEMVER: "2.8.3"
GENERATE-HEADER nut_version.h did not change
Making check in nutconf
GENERATE-HEADER nut_version.h
SEMVER=2.8.3; TRUNK='master'; BASE='ea7da8e2b8f418aec15aeb3a91164cfb2a271d27'; DESC='v2.8.3-735+gda2c7d283' => TAG='v2.8.3' + SUFFIX='-735+gda2c7d283' => VER5='2.8.3.637.98' => DESC5='2.8.3.637.98-735+gda2c7d283' => VER50='2.8.3.637.98' => DESC50='2.8.3.637.98-735+gda2c7d283'
NUT_VERSION: "2.8.3.637.98-735+gda2c7d283" NUT_VERSION_IS_RELEASE:false NUT_VERSION_IS_PRERELEASE:false NUT_VERSION_SEMVER: "2.8.3"
GENERATE-HEADER nut_version.h did not change
Making check in data
Seeing something like the log below is noisy, and adds overhead (time costs add up) to CI builds when they call
gitlog2version.sha dozen times. This re-calling is intended more for development loops, when the git repo can actually change between two calls tomakesomething; in stable-source (CI, packaging, end-user) builds it suffices to generate the file once and trust it (if exists):