Discussion:
retire the old (non-tabular) balance report layout ?
Simon Michael
2018-09-22 07:36:51 UTC
Permalink
Old, Ledger-style balance reports look like this:

$ hledger -f examples/sample.journal bal
$-1 assets
$1 bank:saving
$-2 cash
$2 expenses
$1 food
$1 supplies
$-2 income
$-1 gifts
$-1 salary
$1 liabilities:debts
--------------------
0

New, tabular balance reports look like this:

$ hledger -f examples/sample.journal bal -Y
Balance changes in 2008:

|| 2008
====================++======
assets:bank:saving || $1
assets:cash || $-2
expenses:food || $1
expenses:supplies || $1
income:gifts || $-1
income:salary || $-1
liabilities:debts || $1
--------------------++------
|| 0

How would y'all feel about dropping the first style entirely, in favour of the second ? (If no interval is specified, the column heading would be the full date span of the journal.)

It's giving up a bit of history. But these are two separate code paths, which is really costly to maintain, and I would dearly love to retire the old one.

The new one is missing a feature: eliding of boring parents. I would implement that, I guess.

Thoughts ?
--
You received this message because you are subscribed to the Google Groups "hledger" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hledger+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Simon Michael
2018-09-22 07:40:39 UTC
Permalink
PS the tabular reports default to flat mode, but can show tree mode as well, of course.
--
You received this message because you are subscribed to the Google Groups "hledger" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hledger+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Francesco Ariis
2018-09-22 08:30:42 UTC
Permalink
Post by Simon Michael
How would y'all feel about dropping the first style entirely, in favour
of the second ?
No problem to me, just advertise --tree in the release notes
-F
--
You received this message because you are subscribed to the Google Groups "hledger" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hledger+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Dmitry Astapov
2018-09-22 23:02:18 UTC
Permalink
I would be happy if old reports are retired
Post by Francesco Ariis
Post by Simon Michael
How would y'all feel about dropping the first style entirely, in favour
of the second ?
No problem to me, just advertise --tree in the release notes
-F
--
You received this message because you are subscribed to the Google Groups "hledger" group.
To unsubscribe from this group and stop receiving emails from it, send an
For more options, visit https://groups.google.com/d/optout.
--
D. Astapov
--
You received this message because you are subscribed to the Google Groups "hledger" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hledger+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Robert Nielsen
2018-09-27 00:59:52 UTC
Permalink
I have no problem with the old layout disappearing. If I understand things correctly, if I even needed the old version, I could just run the Ledger command.

Rob
--
You received this message because you are subscribed to the Google Groups "hledger" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hledger+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...