hledger/hledger
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
..
app cli: fix a build failure with ghc 9.0 (#1503) 2021-03-12 06:59:43 -08:00
bench ;review, tag all error calls with an easier to find PARTIAL: comment (#1312) 2020-08-05 16:08:33 -07:00
embeddedfiles Remove more reference to old man page stuff 2021-03-13 18:03:11 +08:00
Hledger lib: simpler more robust version strings, with date/without patchlevel 2021-12-10 12:42:40 -10:00
shell-completion imp: prices: use --infer-market-prices instead of --costs 2021-09-18 12:12:31 -10:00
test fix: bal: --declared now respects not:ACCT (fix #1783) 2021-12-09 12:58:22 -10:00
.date.m4 ;doc: update manuals 2021-12-01 17:16:04 -10:00
.ghci tools: .ghci for each package, sets shorter prompt 2016-04-15 16:06:45 -07:00
.version ;pkg: bump version to 1.24.99 2021-12-01 22:16:37 -10:00
.version.m4 ;pkg: bump version to 1.24.99 2021-12-01 22:16:37 -10:00
CHANGES.md ;doc: changelogs: 1.24.1 2021-12-09 14:52:23 -10:00
dir-entry.texi ;fix: doc: info: avoid directory paths in directory metadata (#1594) 2021-07-14 09:07:56 -10:00
hledger.1 ;doc: update manuals 2021-12-09 14:03:58 -10:00
hledger.cabal pkg: progress towards supporting GHC 9.2 and newer libs (#1774) 2021-12-06 12:32:50 -10:00
hledger.info ;doc: update manuals 2021-12-09 14:03:58 -10:00
hledger.m4.md ;doc: csv: note hyphenated field names, fix formatting 2021-12-08 09:55:06 -10:00
hledger.txt ;doc: update manuals 2021-12-09 14:03:58 -10:00
LICENSE packagegeddon.. split off web/chart/vty, move hledger to a subdir 2010-09-09 22:54:34 +00:00
package.yaml pkg: progress towards supporting GHC 9.2 and newer libs (#1774) 2021-12-06 12:32:50 -10:00
README.md ;doc: more tweaks to package readmes, hackage descriptions 2020-03-22 10:49:02 -07:00
Setup.hs Revert "remove Setup.hs files again, fixing a yesod devel warning" 2014-05-24 13:39:09 -07:00

hledger

The command-line interface for the hledger accounting system. Its basic function is to read a plain text file describing financial transactions and produce useful reports.

See also: the project README and home page.