ANN: hledger 0.3 released

I'm pleased to announce another hledger release. Happy new year, all! hledger is a partial haskell clone of John Wiegley's "ledger" text-based accounting tool. It generates transaction & balance reports from a plain text ledger file, and demonstrates a functional implementation of ledger. For more information, see hledger's home page: http://joyful.com/hledger News for 0.3 ------------ Fixes: * count timelog sessions on the day they end, like ledger, for now * when options are repeated, use the last instead of the first * builds with ghc 6.10 as well as 6.8 * runs much faster than 0.2:: $ bench hledger-0.2 hledger ledger || hledger-0.2 | hledger | ledger ==================================++=============+=========+======= -f 2008.ledger -s balance || 2.59 | 0.26 | 0.11 -f 10000entries.ledger -s balance || 566.68 | 2.72 | 0.96 Features: * a simple ui for interactive report browsing: hledger ui * accept smart dates everywhere (YYYYMMDD, Y/M/D, Y, M/D, D, jan, today, last week etc.) * --period/-p flag accepting period expressions like "in 2008", "weekly from last month".. * -W/-M/-Y convenience flags to summarise register weekly, monthly, yearly * --depth and -E flags also affect summarised register reports (including depth=0) * --display/-d flag supporting date predicates (like "d<[DATE]", "d>=[DATE]") * !include directive to include additional ledger files * !account directive to set a default parent account * Added support for reading historical prices from files * timelog and ledger entries can be intermixed in one file * modifier and periodic entries can appear anywhere (but are still ignored) * help and readme improvements Contributors: * Simon Michael * Nick Ingolia * Tim Docker * Corey O'Connor & the vty team Stats: * Known errors: 1 * Tests: 58 * Lines of non-test code: 2123 Installation ------------ hledger requires GHC. It is known to build with 6.8 and 6.10. If you have cabal-install, do:: cabal update cabal install hledger Otherwise, unpack the latest tarball from http://hackage.haskell.org/cgi-bin/hackage-scripts/package/hledger and do:: runhaskell Setup.hs configure runhaskell Setup.hs build sudo runhaskell Setup.hs install This will complain about any missing libraries, which you can download and install manually from hackage.haskell.org. (The Build-Depends: in hledger.cabal has the full package list.) To get the latest development code do:: darcs get http://joyful.com/repos/hledger

I was interested in actually using this "for real", but unfortunately it seems like you have a dependency on the unix package. Would it be possible to use something portable (specifically to windows) instead? From: Simon Michael Sent: Saturday, January 17, 2009 11:42 PM To: hledger@googlegroups.com ; haskell-cafe@haskell.org Subject: [Haskell-cafe] ANN: hledger 0.3 released I'm pleased to announce another hledger release. Happy new year, all! hledger is a partial haskell clone of John Wiegley's "ledger" text-based accounting tool. It generates transaction & balance reports from a plain text ledger file, and demonstrates a functional implementation of ledger. For more information, see hledger's home page: http://joyful.com/hledger News for 0.3 ------------ Fixes: * count timelog sessions on the day they end, like ledger, for now * when options are repeated, use the last instead of the first * builds with ghc 6.10 as well as 6.8 * runs much faster than 0.2:: $ bench hledger-0.2 hledger ledger || hledger-0.2 | hledger | ledger ==================================++=============+=========+======= -f 2008.ledger -s balance || 2.59 | 0.26 | 0.11 -f 10000entries.ledger -s balance || 566.68 | 2.72 | 0.96 Features: * a simple ui for interactive report browsing: hledger ui * accept smart dates everywhere (YYYYMMDD, Y/M/D, Y, M/D, D, jan, today, last week etc.) * --period/-p flag accepting period expressions like "in 2008", "weekly from last month".. * -W/-M/-Y convenience flags to summarise register weekly, monthly, yearly * --depth and -E flags also affect summarised register reports (including depth=0) * --display/-d flag supporting date predicates (like "d<[DATE]", "d>=[DATE]") * !include directive to include additional ledger files * !account directive to set a default parent account * Added support for reading historical prices from files * timelog and ledger entries can be intermixed in one file * modifier and periodic entries can appear anywhere (but are still ignored) * help and readme improvements Contributors: * Simon Michael * Nick Ingolia * Tim Docker * Corey O'Connor & the vty team Stats: * Known errors: 1 * Tests: 58 * Lines of non-test code: 2123 Installation ------------ hledger requires GHC. It is known to build with 6.8 and 6.10. If you have cabal-install, do:: cabal update cabal install hledger Otherwise, unpack the latest tarball from http://hackage.haskell.org/cgi-bin/hackage-scripts/package/hledger and do:: runhaskell Setup.hs configure runhaskell Setup.hs build sudo runhaskell Setup.hs install This will complain about any missing libraries, which you can download and install manually from hackage.haskell.org. (The Build-Depends: in hledger.cabal has the full package list.) To get the latest development code do:: darcs get http://joyful.com/repos/hledger -------------------------------------------------------------------------------- _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

On 1/18/09 9:39 AM, Sebastian Sylvan wrote:
I was interested in actually using this "for real", but unfortunately it seems like you have a dependency on the unix package. Would it be possible to use something portable (specifically to windows) instead?
Darn, thanks for the heads up. I guess we need to make the vty requirement (and ui command) optional. (I thought vty was cross-platform. :/)

Yeah looks like it depends on unix. Also, looks like the terminfo package
isn't cross-platform either.
Perhaps we need a better tool to mark packages which are platform-specific,
so people don't accidentally use them, especially if they're a few levels
away in the dependency graph.
--------------------------------------------------
From: "Simon Michael"
On 1/18/09 9:39 AM, Sebastian Sylvan wrote:
I was interested in actually using this "for real", but unfortunately it seems like you have a dependency on the unix package. Would it be possible to use something portable (specifically to windows) instead?
Darn, thanks for the heads up. I guess we need to make the vty requirement (and ui command) optional. (I thought vty was cross-platform. :/)

I've pushed a patch which should omit the vty dependency and ui command on windows. Sebastian, could you darcs get the latest code from http://joyful.com/repos/hledger and see if cabal configure and build works for you on windows ?

The cabal file still includes the vty dependency, but simply removing it
made it compile.
--------------------------------------------------
From: "Simon Michael"
I've pushed a patch which should omit the vty dependency and ui command on windows. Sebastian, could you darcs get the latest code from http://joyful.com/repos/hledger and see if cabal configure and build works for you on windows ?
participants (2)
-
Sebastian Sylvan
-
Simon Michael