hledger/hledger-web/Hledger/Web
Simon Michael 1ef8f329c6 lib: simpler more robust version strings, with date/without patchlevel
We no longer rely on git tags and git describe output, since it's
hard to reliably select the correct tag eg for minor releases.
We might use them again in future for dev builds, but it requires
adding git describe --match support to githash. For now,

* Program name, OS and architecture are always shown.
* The package version is always shown.
* If there is git info at build time, the latest commit hash and commit date are shown.

Example outputs:
A homebrew binary, not built in git repo: hledger-ui 1.24, mac-aarch64
A CI release build, built in git repo:    hledger 1.24.1-g455b35293-20211210, mac-x86_64

API changes:

* new type synonyms ProgramName, PackageVersion, VersionString
* versionStringForProgname -> versionString with extra argument
* versionStringFor -> versionStringWith with extra argument
2021-12-10 12:42:40 -10:00
..
Handler cln: hlint: Clean up section related warnings. 2021-08-27 06:13:56 -10:00
Settings web: Conform layout to the rest of hledger-* packages 2018-06-24 14:18:06 +02:00
Widget lib!: Remove GenericSourcePos, and replace it with either SourcePos or 2021-09-20 08:38:33 -10:00
Application.hs ;web: tests: refactor, add a test for --forecast (#1390) 2020-11-13 16:40:33 -08:00
Foundation.hs fix: web: Toggle showing zero elements properly even when called with 2021-09-18 11:50:36 -10:00
Import.hs lib,cli,ui,web: Remove unnecessary CPP when dropping support for GHC 8.2. 2021-06-07 17:33:54 -10:00
Main.hs pkg!: Remove Hledger.Utils.UTF8IOCompat module. 2021-08-30 15:57:33 -10:00
Settings.hs cln: hlint: Clean up Maybe related hlint warnings. 2021-08-27 06:13:56 -10:00
Test.hs cln: tests: Remove test and tests, which are just aliases for testCase 2021-08-30 16:32:19 -10:00
WebOptions.hs lib: simpler more robust version strings, with date/without patchlevel 2021-12-10 12:42:40 -10:00