unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* python cnotmuch -> notmuch
@ 2010-04-19 19:50 Sebastian Spaeth
  2010-04-22  0:38 ` Carl Worth
  0 siblings, 1 reply; 4+ messages in thread
From: Sebastian Spaeth @ 2010-04-19 19:50 UTC (permalink / raw)
  To: Notmuch list

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@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

^ permalink raw reply	[flat|nested] 4+ messages in thread
* Re: python cnotmuch -> notmuch
@ 2010-04-22 10:36 Sebastian Spaeth
  0 siblings, 0 replies; 4+ messages in thread
From: Sebastian Spaeth @ 2010-04-22 10:36 UTC (permalink / raw)
  To: Notmuch development list

[-- Attachment #1: Type: text/plain, Size: 79 bytes --]

My "reply-to-sender-only" works too well, resending this to the notmuch list.


[-- Attachment #2: Type: message/rfc822, Size: 893 bytes --]


Oh NOOO, my evil plan is disclosed!

Seriously, thanks for taking that in, I'm glad it is useful. I find the
python bindings incredibly useful for quick prototyping or scripting (4
lines of code to output all email addresses that were ever sent from my
colleagues and stuff like that).
 
> I went ahead with "bindings/python" yes.
Sounds good.

> python-notmuch might not be a crazy name.

As for debian pacakging, I had a hard time to get a package together at
all (the Ubuntu python packaging page was much more helpful than the
Debian one, I have to say), so I would appreciate the help of someone
more experienced  in packaging to help us out here. As for
"python-notmuch" this is what I would have proposed as well.

Sebastian

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-04-22 10:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-19 19:50 python cnotmuch -> notmuch Sebastian Spaeth
2010-04-22  0:38 ` Carl Worth
2010-04-22  1:28   ` Servilio Afre Puentes
  -- strict thread matches above, loose matches on Subject: below --
2010-04-22 10:36 Sebastian Spaeth

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).