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
Simon Michael
0c6575ee8a
ci: more consistent workflow names
2021-12-10 10:40:40 -10:00
Simon Michael
e9594a93d4
ci: linux-x64: drop "static" from artifact/binary names
2021-12-09 16:00:59 -10:00
Simon Michael
91780ceb9a
ci: linux-x64: try ghc 8.10.4 -> 9.0.1
2021-12-09 15:58:47 -10:00
Simon Michael
9e24cca793
ci: rename linux workflows, branches
...
workflow linux-static-x64.yml is now linux-x64.yml
and its branch ci-linux-static is now ci-linux-x64
workflow linux-static-arm32v7.yml is now linux-arm32v7.yml
and its branch ci-linux-static-arm32 is now ci-linux-arm32v7
2021-12-09 15:38:26 -10:00
Simon Michael
1a646cd092
;doc: changelogs: 1.24.1
2021-12-09 14:52:23 -10:00
Simon Michael
f111274f25
;doc: update changelogs
2021-12-09 14:25:42 -10:00
Simon Michael
e532b7be49
;doc: update manuals
2021-12-09 14:03:58 -10:00
Simon Michael
43d935efda
fix: ui: declared accounts respect not:ACCT (another #1783 fix)
2021-12-09 13:45:57 -10:00
Simon Michael
d1a0d37bd1
fix: bal: --declared now respects not:ACCT ( fix #1783 )
2021-12-09 12:58:22 -10:00
Simon Michael
25598a231f
lib: clarify filterQuery, add filterQueryOrNotQuery ( #1783 )
2021-12-09 12:57:26 -10:00
Simon Michael
46cc60779d
;dev: make throughput: output tweak
2021-12-09 12:24:19 -10:00
Simon Michael
6b3d040fdf
cln: ui: drop unused pragma
2021-12-09 12:23:55 -10:00
Simon Michael
08b72ae9f7
dev: bal: note yet another --declared issue
2021-12-08 18:21:32 -10:00
Simon Michael
2e79e53f12
;dev: bal: note possible --declared issue
2021-12-08 18:14:23 -10:00
Simon Michael
900e2167fc
fix: bal: better fix for treeLeaves, fixing func tests ( #1782 )
2021-12-08 18:14:08 -10:00
Simon Michael
2bb309b073
fix: ui: don't show root account, respect not:ACCT ( fix #1782 )
2021-12-08 17:17:57 -10:00
Simon Michael
0d83bdf6d7
cln: csv: small rename
2021-12-08 16:57:53 -10:00
Simon Michael
bb249115ba
dev: make ghci[d]-ui uses ghc 8.10 to avoid 9.0 failures
2021-12-08 16:57:42 -10:00
Simon Michael
b0763677b1
;doc: more LEDGER_FILE platform notes
2021-12-08 16:57:33 -10:00
Simon Michael
e76cb1ae8c
;doc: csv: note hyphenated field names, fix formatting
2021-12-08 09:55:06 -10:00
Simon Michael
050e92f3f3
;doc: update links
2021-12-08 09:54:25 -10:00
Simon Michael
9c1c7aca83
;doc: csv: mention disabling of digit group marks in csv output ( #1771 )
2021-12-06 15:23:35 -10:00
Stephen Morgan
c4004fca28
imp: csv: Do not display thousands separators when outputting csv.
2021-12-06 15:17:46 -10:00
Simon Michael
76b5c5f2ac
;doc: update manuals
2021-12-06 15:04:17 -10:00
Simon Michael
763d171108
;doc: update CLI usage texts
2021-12-06 15:04:07 -10:00
Simon Michael
4d6f1ed0bf
;doc: bal: update tidy description, example
2021-12-06 15:03:40 -10:00
Simon Michael
ca44e092fd
;doc: update manuals
2021-12-06 14:50:49 -10:00
Simon Michael
5c597750fb
;doc: update CLI usage texts
2021-12-06 14:50:43 -10:00
Simon Michael
872bce55ef
;doc: bal: mention tidy's disabling of totals/averages ( #1773 , #1775 )
2021-12-06 14:49:59 -10:00
Stephen Morgan
29ee0c331f
imp: csv: Ignore --row-totals with tidy csv output.
2021-12-06 14:43:43 -10:00
Stephen Morgan
fb0472e0e9
imp: csv: Handle --layout=tidy with the legacy balance report.
...
Note that this gives output compatible with the multi balance report,
which means it is different from the csv with the legacy balance report.
This means tools only need to be able to handle one tidy csv format.
2021-12-06 13:49:01 -10:00
Stephen Morgan
71646f993c
imp: csv: Include the start and end dates of intervals, as well as
...
string representation of the period, in tidy csv output, and never
include row totals or averages.
2021-12-06 13:49:01 -10:00
Simon Michael
35c1c9b6a2
pkg: progress towards supporting GHC 9.2 and newer libs ( #1774 )
...
hledger-lib builds, hledger's deps don't (shakespeare).
2021-12-06 12:32:50 -10:00
Simon Michael
642102e291
;doc: update manuals
2021-12-05 16:34:01 -10:00
Simon Michael
ca0d9e2a0e
;doc: update CLI usage texts
2021-12-05 16:34:01 -10:00
Simon Michael
c250be1bb9
;doc: bal: document tidy; commodity -> data layout ( #1768 )
2021-12-05 16:33:56 -10:00
Stephen Morgan
e42120da26
;test: Rename commodity-column.test to layout.test, and replace
...
--commodity-column with --layout=bare in tests.
2021-12-05 16:06:44 -10:00
Stephen Morgan
7ccf7430d0
imp: csv: Allow for generating tidy csv with --layout=tidy.
...
This puts every date in a separate row, which is more suitable for
many graphing programs.
2021-12-05 16:06:44 -10:00
Stephen Morgan
3884f90cc6
lib!: Rename CommodityLayout to Layout and rename constructors.
...
Their scope is more than just commodities.
2021-12-05 16:06:44 -10:00
Simon Michael
6ce70351fd
;doc: cli, bal: improve table layout in non-html docs
2021-12-05 12:27:20 -10:00
Simon Michael
e5b924c390
;doc: update manuals
2021-12-05 12:25:49 -10:00
Simon Michael
ee9894f59e
;doc: update CLI usage texts
2021-12-05 12:25:44 -10:00
Simon Michael
08f95d051e
;doc: update manuals
2021-12-05 11:23:18 -10:00
Simon Michael
7b9cad6cdc
;doc: update CLI usage texts
2021-12-05 11:23:11 -10:00
Simon Michael
76f8ed1514
;doc: cli, bal: clarify output formats, layouts more
2021-12-05 11:23:00 -10:00
Simon Michael
2a58331024
;doc: update manuals
2021-12-05 10:56:41 -10:00
Simon Michael
fdc373f45c
;doc: update CLI usage texts
2021-12-05 10:56:38 -10:00
Simon Michael
371539e085
;doc: bal: clarify --layout a little
2021-12-05 10:56:17 -10:00
Simon Michael
1ba25f9714
;doc: cli: document which commands support which output formats
2021-12-05 10:24:24 -10:00