Commit Graph

10461 Commits

Author SHA1 Message Date
Simon Michael
8d31f21502 ;tools: make stack fixes 2022-01-06 08:23:57 -10:00
Simon Michael
0e5ae2baac ;doc: update changelogs 2022-01-06 06:42:34 -10:00
Simon Michael
56e015c409 ci: push, pull: clarify, robustify? commitlint step 2022-01-06 06:33:29 -10:00
Simon Michael
0a8835ada2 ci: win, mac: don't commitlint, let push/pull cover that 2022-01-06 06:33:25 -10:00
Simon Michael
8c6b6700bc ;doc: RELEASING: latest procedures 2022-01-06 06:32:55 -10:00
Simon Michael
d82210cea9 ;doc: update changelogs 2022-01-05 18:09:23 -10:00
Simon Michael
07e84fde42 ci: doc improvements 2022-01-05 09:11:01 -10:00
Simon Michael
9888bf043c ci: mac, windows: don't short circuit, update docs 2022-01-05 08:56:17 -10:00
Simon Michael
8a8503064b ;doc: RELEASING 2022-01-05 08:41:38 -10:00
Simon Michael
b71680dffd ;tools: release 2022-01-05 08:41:36 -10:00
Simon Michael
757c548c17 ;doc: update changelogs 2022-01-05 08:12:44 -10:00
Simon Michael
9265154491 ;doc: RELEASING: wording 2022-01-04 11:14:18 -10:00
Simon Michael
5ad7ef9dde ;doc: RELEASING: formatting 2022-01-04 11:05:51 -10:00
Simon Michael
cb091b26ca ;doc: RELEASING: glossary/process updates 2022-01-04 11:01:38 -10:00
Simon Michael
5a20913819 ;doc: RELEASING: formatting 2022-01-02 16:50:10 -10:00
Simon Michael
57ab0e4421 ;doc: RELEASING: formatting 2022-01-02 16:49:21 -10:00
Simon Michael
58bc3728b9 ;doc: RELEASING: glossary updates 2022-01-02 16:47:49 -10:00
Simon Michael
ebf4d09537 ;doc: RELEASING: glossary updates, test releases 2022-01-02 13:07:47 -10:00
Simon Michael
51fac9949f ;tools: changelog: doc 2022-01-01 16:07:02 -10:00
Simon Michael
40e984a798 ;tools: changelog: fix warnings 2022-01-01 15:56:19 -10:00
Simon Michael
ae30c5ac09 ;dev: make HLS work on tools/* 2022-01-01 15:55:59 -10:00
Simon Michael
d1bc3bbb32 ;doc: update changelogs 2022-01-01 15:55:08 -10:00
Simon Michael
0317f71c05 ;tools: changelog: move to tools/ 2022-01-01 08:25:16 -10:00
Simon Michael
326b2309bc ;doc: csv: tweak 2021-12-30 09:22:57 -10:00
Dmitry Astapov
ce54fb8ae9 ;roi: fixes #1791 (fix TWR when investment=0, several pnls per day) 2021-12-27 08:10:22 -10:00
Simon Michael
a36836e723 ;examples: multicurrency.journal 2021-12-22 15:38:48 -10:00
Simon Michael
737ab13284 journal: doc updates for aliases corrupting account names (#1788) 2021-12-22 15:14:37 -10:00
Simon Michael
713f7eab65 journal: doc updates for aliases corrupting account names (#1788) 2021-12-22 15:08:01 -10:00
Simon Michael
9c173bc18b journal: tests/docs for aliases corrupting account names (#1788) 2021-12-22 14:59:13 -10:00
Stephen Morgan
e9dd77e82b fix: Ensure head and tail are not called on empty account names. 2021-12-22 14:37:37 -10:00
Simon Michael
88f34063c7 ;dev: make functest-*: fix hardcoded stack 2021-12-21 12:18:57 -10:00
Simon Michael
cfee37ab36 ;doc: fix conversion & cost lists 2021-12-21 11:01:39 -10:00
Simon Michael
e92a266064 ;doc: update manuals 2021-12-21 10:55:05 -10:00
Simon Michael
d10f3df27b ;doc: fix conversion & cost depth 2021-12-21 10:54:47 -10:00
Simon Michael
4bf0d76a1f ;doc: update manuals 2021-12-21 10:53:19 -10:00
Simon Michael
82cd81c066 doc: new CONVERSION & COST section after #1554 2021-12-21 10:50:13 -10:00
Stephen Morgan
8eedbbbe87 imp: cost: Generate totally balanced conversion postings for amounts with costs.
Introduce --infer-equity option which will generate conversion postings.
--cost will override --infer-equity.

This means there will no longer be unbalanced transactions, but will be
offsetting conversion postings to balance things out. For example.

2000-01-01
  a   1 AAA @@ 2 BBB
  b  -2 BBB

When converting to cost, this is treated the same as before.
When used with --infer-equity, this is now treated as:

2000-01-01
  a                               1 AAA
  equity:conversion:AAA-BBB:AAA  -1 AAA
  equity:conversion:AAA-BBB:BBB   2 BBB
  b                              -2 BBB

There is a new account type, Conversion/V, which is a subtype of Equity/E.
The first account declared with this type, if any, is used as the base account
for inferred equity postings in conversion transactions, overriding the default
"equity:conversion".

API changes:

Costing has been changed to ConversionOp with three options:
NoConversionOp, ToCost, and InferEquity.
The first correspond to the previous NoCost and Cost options, while the
third corresponds to the --infer-equity flag.  This converts transactions with costs
(one or more transaction prices) to transactions with equity:conversion postings.
It is in ConversionOp because converting to cost with -B/--cost and inferring conversion
equity postings with --infer-equity are mutually exclusive.

Correspondingly, the cost_ record of ReportOpts has been changed to
conversionop_.

This also removes show_costs_ option in ReportOpts, as its functionality
has been replaced by the richer cost_ option.
2021-12-21 10:50:13 -10:00
Simon Michael
bf063f719d ;dev: simpler mac hie filename 2021-12-21 08:41:55 -10:00
Simon Michael
9a5e62345f ;dev: move hie.yaml out of the way, non m1 users probably don't want it 2021-12-19 17:19:51 -10:00
Simon Michael
5561eeb8a4 ;doc: fix two unlinked urls 2021-12-17 10:00:19 -10:00
Simon Michael
cfebbe79f3 ;dev: make: use ghc 8.10 till 9.x has arm binaries 2021-12-16 15:33:09 -10:00
Simon Michael
09009cbb1c ;tools: bump resolver in more places 2021-12-16 13:34:59 -10:00
Simon Michael
074606c7a7 ;tools: make hls use ghc 8.10 until 9.0 arm binaries 2021-12-16 13:28:08 -10:00
Simon Michael
2aa7fb9a09 stack: 810, 90 updates 2021-12-16 12:51:05 -10:00
Simon Michael
c23808a163 ;doc: queries: fix "rewriting accounts" links 2021-12-15 11:14:01 -10:00
Simon Michael
8759d26641 ;doc: RELEASING 2021-12-11 17:34:16 -10:00
Simon Michael
33ae2ebb6b ;doc: RELEASING 2021-12-11 17:32:47 -10:00
Simon Michael
fe8799b70b ;doc: RELEASING 2021-12-11 17:19:59 -10:00
Simon Michael
839ebc18a8 dev: make hackageupload: do it only from a release branch
To avoid mishaps like yesterday's upload of 1.24.99, this will now
only work from a branch named VERSION-branch or (possible future
naming) VERSION-release.

This means major releases from master are no longer allowed; a release
branch is always required,
2021-12-11 08:52:33 -10:00
Simon Michael
16124eba14 dev: move commitlint to tools, keeping bin/ for user tools 2021-12-10 16:52:19 -10:00