Continued yesterday’s assertions and installability tasks.
added functional tests for balance assertions
made balance assertions work when there’s no commodity symbol. This could cause previously valid hledger journals to no longer parse, because =
is no longer allowed in a non-double-quoted commodity symbol. I hope this will not bother anyone in real use (but I seem to remember it will..)
when checking balance assertions, account postings are now sorted first by date and then (for postings with the same date) by parse order. This means balance assertions are now generally insensitive to the order of your journal entries. I think ledger goes strictly by parse order, so you could potentially see different balance assertion results with it. Hopefully someone will update ledger to go by date also.
fixed a hledger-web compilation breakage from the recent assertions work.
resolved yesterday’s hledger-web/yesod/cabal install issue by requiring the very latest yesod-platform. I didn’t find the root cause, which bugs me slightly.
checked all packages (hledger{-lib,,-web}) support the latest dependencies, with the command-line packdeps.
checked installability of all packages with the new haskell platform, on mac and gnu/linux. On the latter, I had cabal install ./hledger -j
failing strangely (only with -j) with “cannot satisfy -package Cabal-1.14.0” for a while. cabal clean might be what fixed it.