Skip to content

Tags

Tags

dev-dev

Toggle dev-dev's commit message
feat(build): a build that is not the tagged release says so

Every build reported the bare release number: a local build of dev and
v0.9.5 itself both said "0.9.5" in the page footer, --version, the console
page, REST /radio/info and the reporters. Only the GitHub package file
names carried +dev.<date>.<sha>.

wfwebVersion() (include/buildinfo.h) is now the release number only when
HEAD is the commit tagged v<WFWEB_VERSION>, or CI runs on a v* tag. Any
other build is <version>+dev.<short sha> locally and
<version>+dev.<date>.<sha> from GitHub, the string its package is named
with. Without git (a source tarball) the bare version stands.

tools/build-id.sh holds the rules; WFWEB_BUILD_ID in the environment
("release", or an id) overrides the detection. build.yml hands every
build job the meta job's id, docker.yml passes it as a build argument (the
context has no .git), pages.yml calls master a release (Pages publishes
before the tag exists). tools/build-static.sh puts the same string in the
Standalone footer.

buildid.pri (wfweb.pro, launcher.pro) writes wfweb_build.h into the build
directory when qmake runs and again on every make, touching it only when
the id changed; src/buildinfo.cpp alone includes it, so a commit
recompiles one file. It replaces the GITSHORT -D, which went stale until
main.cpp happened to recompile. Windows has no shell under nmake: the same
rules in qmake, at qmake time (run on Linux with the platform test
flipped, not on Windows).

WFWEB_VERSION stays the bare number for the /models ETag (else every dev
commit re-downloads the CW model) and the WSJT-X heartbeat, whose revision
field now carries the commit. The console page's version comes from
servermain, so consolestatus.cpp still links alone for its unit test.

tests/test_build_id.py: tagged and untagged commits, other tags, the
override, no git, a tarball inside another repository, the header left
alone when nothing changed, and REST version == the --version banner. With
WFWEB_BUILD_ID set, as in CI, the binary must match it: a v* tag run fails
if its binary is not the plain version. Checked by hand on the real
v0.9.5 tag (annotated) in a throwaway worktree.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

v0.9.2

Toggle v0.9.2's commit message
wfweb v0.9.2

v0.9.1

Toggle v0.9.1's commit message
wfweb v0.9.1

v0.9.0

Toggle v0.9.0's commit message
wfweb v0.9.0

dev-fix/memory-caps-guard

Toggle dev-fix/memory-caps-guard's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Merge pull request #106 from adecarolis/dev

Scope/waterfall rework, CW prosigns and auto-tune, phone portrait pass

dev-fix/ic7600-mainsub

Toggle dev-fix/ic7600-mainsub's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Merge pull request #106 from adecarolis/dev

Scope/waterfall rework, CW prosigns and auto-tune, phone portrait pass

dev-feat/appimage

Toggle dev-feat/appimage's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Merge pull request #106 from adecarolis/dev

Scope/waterfall rework, CW prosigns and auto-tune, phone portrait pass