It is noisy enough to discourage conversation a little, but the
notifications are also useful, probably won't be this active all the
time, and two lists seems overkill, so keep going...
I'm working on reports which my accountant can recognise. Here's my
latest balance sheet script, for anyone interested. I'd like to see
what other folk are using.
#!/bin/sh
# balancesheet [extraoptions]
echo Balance sheet as of `date`
echo totals include sub-accounts
echo
ledger -nE
* add a --verbose/-v flag, use it to show more test-running detail
* includes 43 tests
Contributors:
* Simon Michael
* Tim Docker
That was very interesting, thanks for posting.
compatibility with 2.x. How many people do you think were really
using valexprs before, when they were so utterly cryptic?
For myself: maybe twice, when I really needed something enough to drop
my immediate train of thought and go digging in the manual.
John, thanks very much for taking the time to write this up. As you
know this is one the areas I've burned the most cycles trying to make
it 100% compatible and robust. Knowledge of this recipe should help
considerably in my next crack at it.
I think you may have seen this, but
John Wiegley wrote:
Martin Blais pointed out to me a while back that some of Ledger's
naming choices are at odds with standard accounting terminology, most
pointedly my use of the word transaction.
Therefore, today I checked in the following global name change in 3.0:
To better follow
Mark Carter wrote:
I have played around with various accounting packages, including my
home-brewed effort. I am currently using MS Money 2004 on Parallels on
OS X. I am rethinking my approach. I haven't been able to get ledger
or hledger to compile on OS X.
Hey Mark.. thanks for the feedback,
Love it! Thanks for sharing.
Hey John,
this is not a completely clean test, since I also have those libs
installed from source, but I double-clicked the ledger icon on osx
leopard and was rewarded with ledger's interactive prompt in a terminal
window, where I could run multiple queries against my ledger file. Very
Cool, thanks John. On what schedule does the git mirror update ? Also
http://joyful.com/repos/darcs-export-git is an easier to build version
of git-darcs-import, in case you ever need to do this again.
full patterns period expressions
* new stats command reports some ledger statistics
* many dev/doc/deployment infrastructure improvements
* move website into darcs repo, update home page
* move issue tracker to google code
Release stats:
* Contributors: Simon Michael
* Days since last
- time tracking using timelog format
- use of ledger-mode in emacs (eg for tab-completion of account names)
Good luck!
PS I opened http://code.google.com/p/hledger/issues/detail?id=2
Andreas Reuleaux wrote:
Thanks for your fast reply, Simon, however: nope...
reule...@atom(~)$ cabal install hledger --constraint=base = 4
Resolving dependencies...
cabal: constraints conflict: top level constraint base =4 however
base-4.0.0.0 was excluded because of the top level
Andreas, I released 0.6.1 - when you get a chance, please cabal update and
cabal install again and let me know how it goes.
Best - Simon
PS also, I'd be interested to know your cabal --version. I believe
current cabal would have selected hledger 0.5.1 instead, at least
cabal 0.6.2 does that for me.
Ledger files which illustrate real-world usage are useful for
documentation, demos, tests and bug reports. But we usually hesitate
to share our real financial data. And constructing equivalent sample
ledgers is tedious. ledger and hledger come with some sample ledgers,
but they are
Hurrah!
I have also been looking at your tests, and plan to use your .test file format. I think you call these baseline tests,
while I want to call them something like func. tests or shell tests or command-line tests or.. ? They seem like
something useful outside of *ledger development.
Looks great! I look forward to the audio/video version! It will be a good intro
to *ledger.
Thought so. I think generating a new translation dictionary each time is safer.
A big milestone - congrats John!
I have been running ledger via a /usr/local/bin/ledger symlink to the source tree, without ever running make install. I
think I just noticed that you need to make install for ledger to show the latest command-line help, which is valuable.
Couldn't you also express the job info as an account ?
2010/02/04 Corporation X non-job item
blah:blah:corporation x
2010/02/04 Corporation X
blah:blah:corporation x:job:842
Roman C. has cleverly added hledger to the list of topics for this
weekend's ZuriHac. I will be working remotely at least on sunday
(PDT), and available to support where possible. You are invited to
join us! Some ideas -
- add Chart or google charts to the web ui
- smarter add/convert
On 4/2/10 9:45 AM, Martin Michlmayr wrote:
2010-04-02 Test
Assets:Broker 10 DE0002635307 @ 10
Assets:Bank
Hi Martin.. when do you use a commodity symbol like that ? It can probably be dealt with, but it quite collides with the
desire to write say USD10 as an equivalent
I have the same issue (your second use case). I was thinking the thing to do is have a close-out transaction at the end
of the year, that zeroes out all accounts (that you have opening balances for in the next year). And when reporting, you
may have to remember to exclude that close-out txn.
I see, thanks.
http://en.wikipedia.org/wiki/International_Securities_Identification_Number was
informative.
--
To unsubscribe, reply using remove me as the subject.
It sounds like hledger deviates from ledger here. I'll make sure the next release treats a single tab as equivalent to
two spaces. Thanks!
--
To unsubscribe, reply using remove me as the subject.
G'day John,
FYI with emacs 23.1.50.1 on ubuntu lucid, doing byte-compile-file on
today's ledger.el, I get:
In ledger--iterate-dispatch:
ledger.el:177:14:Warning: reference to free variable `callback'
ledger.el:179:36:Warning: reference to free variable `current-year'
ledger.el:182:32:Error:
Did you make a fix ? I haven't found it in master or next branch..
John Wiegley jwieg...@gmail.com writes:
Try now.
On May 12, 2010, at 3:07 PM, Simon Michael wrote:
ledger.el:177:14:Warning: reference to free variable `callback'
ledger.el:179:36:Warning: reference to free variable `current
My makefile has been getting spruced up lately and is starting to get ideas of its own.. here's the gist of it, in case
others find it useful: https://gist.github.com/a657be8d86ab40b194d4
-Simon
Nice, John.
On every bug tracker I visit, I first want a list of all issues, all statuses.
This seems to do the trick here:
Oh, or maybe
http://newartisans.com/bugzilla/buglist.cgi?cmdtype=runnamednamedcmd=all+issues
will work, too.
Martin, I had the same confusion (see http://hledger.org/MANUAL.html#actual-and-effective-dates). FYI
http://books.google.com/books?id=4V8pZmpwmBYClpg=PP1dq=analysis%20patternspg=PA98#v=onepageqf=false gives alternate
terminology: charge date (when the charge is made) and booked date (when the
I keep my data files in darcs (the simplest vcs I know). It helps me see what's recently changed and also to track down
the cause when some error disrupts my reconciled balances. Committing is a bit tedious, I do it infrequently and use
unison to sync my working directory between home and road
On 7/6/10 12:42 PM, John Wiegley wrote:
On Jul 5, 2010, at 12:20 PM, Martin Michlmayr wrote:
* Simon Michaelsi...@joyful.com [2010-06-15 23:46]:
Martin, I had the same confusion (see
http://hledger.org/MANUAL.html#actual-and-effective-dates).
Yeah, I'd say that example is wrong.
On 7/6/10 4:24 PM, Simon Michael wrote:
In other words, I interpreted actual and effective differently when I learned
ledger, so now I'm used to appending
=BOOKDATE, and the idea of prepending BOOKDATE= seems bizarre. :) I'll try to
get my head around that before suggesting
anything.
Well
On 7/7/10 2:25 AM, Martin Michlmayr wrote:
This is because actual date is ambiguous as you can argue both ways:
effective is ambiguous too! As I tried to show.
But actual and effective have become line noise with random meaning to me now. I thought of identifying them by
which is earliest!
Here's my latest attempt at documenting this, now harmonised with John's usage.
How did I do ?
# Actual/effective dates
Real-life transactions sometimes have two (or more) dates of interest.
For example, you might buy a movie ticket on friday with a debit or credit
card, and the
On 7/11/10 8:28 PM, John Wiegley wrote:
Sounds great to me! May I borrow some of your wording for the 3.0 manual?
Absolutely.
Thanks for the feedback Zack. Your .ledger files should continue to work just
fine if you want to keep them as is.
John has always used .dat and I've used .ledger for a few years. However as I documented and learned more about
bookkeeping I came to feel it was worth refining the terminology
How careful are you folks about changing past journal data, eg to clean up the
account tree ?
I heard one person who tries to append only.
But as my chart of accounts evolves, I want to rename/split/merge accounts in old transactions too, otherwise my reports
become cluttered.
But that
On 8/1/10 3:23 PM, John Wiegley wrote:
For a long time I've had a feature request for account definitions:
account NAME
kind...
commodity $
strict
Interesting. It would be nice if this could define valid account names as well, when desired, to catch mispelings.
Keeping it
On 8/4/10 2:31 PM, Omari Norman wrote:
2010/08/04 TSP Share Purchase
Assets:TSP 10.3297 C
Assets:TSP $-104.38
Then Ledger would compute a price per share on its own (which
necessarily differed just a tiny fraction from the published value.)
However
Looks like some nice speedups there!
I've released hledger 0.13, with readline editing and tab completion
from Judah Jacobson, more ledger compatibility, a more robust and
installable web interface, bugfixes, and a much-deliberated package
split.
Docs and mac and 64-bit linux binaries are at http://hledger.org , and
of
hledger allows it:
http://hledger.org/MANUAL.html#default-commodity
I guess ledger 2.x did ?
On 12/14/10 9:45 AM, Gabriel Kerneis wrote:
I use MYDATE=BANKDATE for several reasons:
- it looks more logical to append the bankdate (which I'll always learn
*after* I write the transaction) rather than prepending it,
- it is also more logical to read the dates (left to right) from the
That's a nice clarification, but I don't follow why the choice of accrual
or cash basis determines which side each date logically belongs on ?
For me it seems more logical to have a fixed ACCRUALDATE=CASHDATE ordering,
so that in the common case they are also ordered chronologically. You don't
Awesome!
Watch or listen live at http://live.twit.tv , starting within the next half
hour (9.30 am PST, wednesday Jan 26th.)
Join the in-show chat, send questions at irc://irc.twit.tv/#twitlive (also available via Popout Chat link below the
live video.)
FLOSS Weekly page:
I also keep a multi-person house ledger and had trouble setting it up. John's suggestion to add metadata tags is
probably best, but here's how I do it using accounts:
; Alice buys household groceries
1/1 market
expenses:food:groceries $10
equity:alice
; Alice and Bob go for groceries
On 2/3/11 11:08 AM, Kolomona wrote:
I haven't tried other utilities yet. BoA also exports to QIF and CSV.
I may just try to write my own utility to parse the data. First I must
read more about the ledger file format.
Don't forget you can convert CSV with csv2ledger, hledger convert, or ledger
On 2/27/11 9:34 AM, tazz_ben wrote:
So, from what I can tell, ledger does two things that seem strange to
me; (please correct me if I'm just not understanding what it's doing),
Hi Ben.. thanks for this feedback. I think most of us here have researched accounting/bookkeeping more or less but
Thanks for the examples, they are interesting. I haven't yet seen the balanced transactions that could unbalance the
accounting equation in the simple arithmetic sense, ie allowing all signs. I see how an accounting program could catch
and disallow balances of unusual/unexpected sign in accounts
..because -e is exclusive. I sometimes wish it wasn't (and sometimes like that
is it.)
https://gist.github.com/931584 (ignore the pseudo shell test syntax)
shows a bug in my version of ledger, 3.0.0-20100615. I knew I should
test with the latest before reporting this. But building ledger takes
entirely too long on my macbook, for this kind of side quest. John, is
there a
PS I looked around the {README,INSTALL,ac,conf,Make}* files a bit for
clues. Perhaps I configured with debug turned on some time in the
past ? So next I'll try make distclean acprep update configure
make. Also because so far all attempts to build today's head end
with:
CXXLD ledger
Are these bugs ?
1. Both ledger (20100615) and hledger show the zero balances of a and
b in this balance report - I expected them to be elided by default:
2010/1/1
a 16$ @@ 10€
b -10€
2010/1/2
a -16$
b 10€ @@ 16$
$$$ ledger -f - balance
0 a
I'm on master, as always. I'll try again in a while. Thanks John.
patterns with spaces if quoted, like command line
* web: make edit form more cross-browser compatible, fixing it in
firefox (#38)
* web: move hidden add/edit/import forms below main content to help
text-mode browsers a bit (#33)
Release contributors: Simon Michael, Dmitry Astapov, Eric Kow
Hi Matthew.. nice feedback.
On 5/19/11 8:43 PM, Matthew S. Harris wrote:
- The included documentation doesn't match the current version of the
code. I've learned about some commands by browsing report.cc or
scanning old postings on the group, but I can tell that there is a lot
more there that I
Hi all!
#ledger residents know I did a little work on a new site for ledger, after the FLOSS Weekly show and encouragement from
John. I never announced it here as I intended to do a little more. Well, better announced than perfect, so here it is:
http://ledger-cli.org
Goals:
- be the new,
On 5/21/11 7:07 AM, John Wiegley wrote:
This is great, Simon!! Thanks so much.
Glad to help John. When you get a chance, can you replace the old site (https://github.com/jwiegley/ledger/wiki) with a
forwarding link. There has been one edit since I forked it, which I'll incorporate. Also we
Good point. I'd rather have it removed or hidden for the moment - John,
could you take care of that ?
For similar reasons, could you replace the old ledger wiki with a
redirect to the new site while you're at it ? Or possibly I have access
- don't have my login right now - if so I can do it, just
Hi all..
due to popular demand on #ledger today, it looks like we need an easy
way for users to contribute docs (or at least, examples) through the
web. We discussed the github wiki, and alternatives, and the reasons for
the present setup, which you can see at https://gist.github.com/1017309
.
Hi Rich, thanks for persisting and giving excellent feedback. I used your https://github.com/jwiegley/ledger/issues/32
to update the Downloads section of the home page just now. I kept it simple as I don't want to spend time maintaining
this; I did add 2.6/3.0 indicators so people know what to
I've tracked my personal ledgers in darcs for a long time. Currently I commit
rather infrequently though. I forget and/or find it a bit tedious. For syncing
the files between locations where I work (home machine, netbook) I use unison
and xxdiff for the merging.
On 9/21/11 3:47 PM, Craig Earls wrote:
Any suggestions for going about this project in a different way will
be gladly entertained.
PS, and feel free to pull anything useful from the hledger.org docs.
On 9/24/11 6:53 AM, Craig Earls wrote:
Those are great suggestions. I have already fixed the outdated
reference to the old list. Can anyone tell me if the IRC channel is
still alive? If you have some examples of how to produce said PL and
Yikes! #ledger is generally the most alive part.
A nice clarification. I also always vaguely thought they'd show up in regular
register and balance reports.
word' patterns
* web: hide old title and search form when adding/editing
* web: adjust --help to indicate command-line arguments are not expected
* web: don't bother running cli unit tests at startup
Stats:
- Release contributors: Simon Michael
- 30 days, 100 commits, 4 end-user
I intended to attempt this (I see hledger doesn't currently) by keeping all top-level comments (and blank lines)
preceding a transaction together with it. And also saving any final comment lines in the journal. Wouldn't this kind of
work ?
There are some non-emacs suggestions at
http://hledger.org/MANUAL.html#timelog-reporting .
At http://ledger-cli.org - Documentation - Ledger 3.0 - man page
(http://ledger-cli.org/3.0/doc/ledger.1.html), searching for options
often failed (at least in Chrome) because hyphens were being rendered as
minus; . This is now fixed, so you can search for -B, -V, -X etc. Also
note the index link
Hey all,
I have confused myself a great deal with -B/-V/-X, as a user and implementor. I
have been studying http://ledger-cli.org/3.0/doc/ledger.1.html and
https://groups.google.com/forum/#!topic/ledger-cli/9oa47zA-qqM/discussion,
thinking, and getting a bit clearer. What do you think of the
Thanks Craig! Could you briefly summarize the changes compared to what's on
ledger-cli.org (current next branch) ?
Happy new year all. hledger and hledger-web 0.17 are released. Not quite as
planned, this release mainly fixes bugs and updates dependencies. Also the
hledger-vty and hledger-chart packages have been demoted to unmaintained
extras for now to save time.
hledger is a library, command-line tool,
On 2/19/12 5:39 PM, Zack Williams wrote:
1. I tend to have a lot of files generated elsewhere and converted
from OFX/CSV. If you moved money from a checking account to savings,
and are also auto-converting both accounts with a OFX/CSV - Ledger
tool, you'd end up with two nearly identical
Hi all,
I'm gathering usage data to help steer hledger and other projects, and with
John's approval I am surveying ledger users as well. Responding to these is a
great cheap way to help these projects - each survey has 10 questions and
should take 1 to 5 minutes of your time.
If you use or
=0Au47MrJax8HpdG9ZZ1M1TXkwQk9VWU5PWEdvVmwyTGc#gid=3
(ledger)
On Feb 23, 2012, at 10:38 AM, Simon Michael wrote:
I'm gathering usage data to help steer hledger and other projects, and with
John's approval I am surveying ledger users as well. Responding to these is a
great cheap way to help
By the way, the contact info field was always intended to be displayed publicly
and I can't selectively hide it easily. If you'd like me to change what you
entered there just contact me directly.
-Simon
On Feb 23, 2012, at 1:04 PM, Simon Michael wrote:
And another pair of links, again
:25 PM, Simon Michael wrote:
By the way, the contact info field was always intended to be displayed
publicly and I can't selectively hide it easily. If you'd like me to change
what you entered there just contact me directly.
-Simon
On Feb 23, 2012, at 1:04 PM, Simon Michael wrote
I just want to say that's a terrific, well written and useful write-up. Thanks for breaking it up into easily digestible
chunks.
On 3/3/12 9:13 AM, Craig Earls wrote:
The latest version of the docs are now in John's 'next', but they are not
showing up on ledger-cli. This confusion is
my responsibility. I submitted a big documentation patch and mixed in 12-13
bug fix patches as well, which made it
impossible for John
Interesting, let me mull that over a little.
As site hoster I'd need to keep two up-to-date repo copies since SITE refers to NEXT/docs/* (and you could imagine it
referring to code too, eg for generated API docs.).
Contributors would benefit from needing to know about one repo instead of two,
I too have been using actual (first) date as the bank date, and documenting it that way. I switched to doing it this way
when you convinced me that was how you always did it, last time this came up. Or that's what I thought you said. :)
I'll probably continue using first (default) date as bank
On 3/6/12 2:42 AM, John Wiegley wrote:
Make sure to pass --python to acprep builds to get this support. It is not on
by default for 3.0, but it will be for 3.1 onwards.
Boo! -1 for tantalising us with carrots. If this is working, it'd be much better to have it it the coming release so
people
On 3/8/12 3:56 PM, David Whitmarsh wrote:
On Wed, Mar 7, 2012 at 11:37, Simon Michaelsi...@joyful.com wrote:
It's this word probably I don't like. For years we have been hearing
people in #ledger trying to do this or that thing recommended by the docs
which turn out to require a different
On 3/9/12 4:56 AM, Doug Philips wrote:
I'm sorry to say that I've been unable to follow all the responses to
this as closely as I would have liked, and perhaps I missed some, was
there any decision taken re: the various branch suggestions, etc?
Thanks Doug. Current status is good:
- we have
On 3/9/12 7:16 PM, John Wiegley wrote:
That type of moving I've done many times. If you're amenable, I already know
the git-fu. It will basically be just like having two repos in a single
repository: they will just be differentiated by branch name rather than by
clone URL.
If you feel it's
Awesome docs, John!
I think https://github.com/jwiegley/ledger/commits/next/doc/ledger3.texi will
show when they land on the site.
(Thanks Craig!)
Excellent!
I'm trying out some site cleanups at http://ledger-cli.org/new/ ,
following our chat John W. The single big page has been broken up and
docs have been simplified. No major content changes or styling yet. If
you like the direction I'll commit this.
That was a great tour of Ledger's architecture, John, thanks for writing it up. It's also a nice guide for other
implementors of Ledger-likes, and for documentors.
The strict testing of layering at link time is pretty neat. hledger's layering emerged as needed to avoid GHC import
cycle errors.
On 4/10/12 5:51 AM, Doug Philips wrote:
More specifically, I just started (this calendar year) as treasurer
for a local non-profit club, and the previous treasurer used Excel
sheets to track everything, but it was only for one account.
However, the members are used to a treasurer's report where
I've been wanting this for a long time, too. Some hledger commands now use a template for overall layout, eg see the
part inside [lt| ... |] at http://joyful.com/darcsden/simon/hledger/browse/hledger/Hledger/Cli/Incomestatement.hs#L-21 .
In future, it will be possible for the user to use a
On 5/30/12 9:17 AM, Tim Crews wrote:
Any feedback?
This is excellent work Tim. Until more help shows up maybe you could pick just a small subset of the API to polish, so
you can get to the segfault/terminal issues and then some fun and motivating demo ?
trace
Release contributors: Simon Michael, Clint Adams
Release stats: 30 days, 27 commits, 6 end-user fixes, 2 end-user features
since last release
Project stats: 225 unit functional tests, 7879 lines of code including
hledger-web, 19 committers
Best - Simon
After catching up on october mails, I just want to say:
Really heroic sustained work by Craig Earls, and all his helpers! And
3.0 release noises! This is very exciting.
The manual is quite a beast, but it appears well under control.
If not already done, it would be great to clearly highlight
1 - 100 of 309 matches
Mail list logo