python cnotmuch -> notmuch

Sebastian Spaeth Sebastian at SSpaeth.de
Mon Apr 19 12:50:13 PDT 2010


I believe that Carl pursues an evil plan of converting unsuspicious
mercurial users to git. At least that is what I suspect when he asked
whether it would make sense to get my cnotmuch python bindings into the notmuch
repo. :-)

Well, here it is, I converted my good old bitbucket hg repo to git, so
he can merge it (but thanks to the good old hg-git plugin I did not even
had to leave mercurial once, so the evil part of his plan failed
miserably :-))

http://github.com/spaetz/python-notmuch
respectively: git at github.com:spaetz/python-notmuch.git

Carl, I did not update the .hgignore to be .gitignore yet. I recommend
to just ignore *.pyc and the docs/html dir (just have a look at
.hgignore). As for the directory to stick this in, I don't care. Does
"bindings/python" make sense? Also, I have a debian dir to produce a
.deb package, not sure what to do with that.

I took the opportunity to change the semantics and did away with the "c"
in cnotmuch. Carl felt comfortable to just name it 'notmuch' and I am
happy to oblige. So rather than the ugly 

"from cnotmuch.notmuch import Database" 

this works not simply with 

"import notmuch" or "from notmuch import Database".

I'll still need to think about how I should handle the transition on the
python package page, but fortunately the current user base of cnotmuch
is still not too big :-).

Sorry for the long blurb, I know I should not distract Carl from merging
David's patches... :-)

Sebastian


More information about the notmuch mailing list