Notmuch scripts (again), now with more usenet

ccx at webprojekty.cz ccx at webprojekty.cz
Tue Jul 17 03:18:08 PDT 2012


On Sun, Jul 15, 2012 at 10:36:54AM -0600, David Bremner wrote:
> ccx at webprojekty.cz writes:
> 
> > I hope it's now in the form acceptable for inclusion to contrib.
> 
> Dear Jan;
> 
> Without looking too much at the details I think this is reasonable to
> include in contrib, as a set of examples if nothing else. Still, I'm
> curious about a few things. Are there actual users (other than the
> author)?  What would we do about bug reports? Will you follow the list,
> or would we explicitely tell people to contact you directly?

I might not always have time to read the entirety of the ML, so it would
be great if people CC me when posting there.

> I guess some of the python experts might want to discuss the coding
> style of notmuch-new.py. pylint goes ballistic, for whatever that is
> worth.

That's mainly because of tabs used for indentation, which used to be
considered a viable alternative, but is now considered obsolete. I
reformatted the code to conform to pep8 guidelines.

> For the shell stuff, I noticed lots of unquoted parameter expansion;
> also at some point you make a temporary directory using $$
> directly rather than using e.g. mktemp.

Zsh does not word-split parameter expansion by default, this is
intentional. The temporary directories are created in xdg cache dir,
which should not be susceptible to symlink attacks etc. and the pid
actually helps to correlate the directories to processes, eg. when you
want to autoclean after searches that got killed for some reason.

> What did you have in mind for a license? since there is no linking here,
> it does not have to be GPL3+, but some standard Free license is needed I
> think; since I'm also maintaining the Debian package, I don't want to
> have to remove your stuff before uploading to Debian.

You can consider it public domain. I guess I should add wtfpl text to my
repo. :-)

> d

Thanks very much for your rewiev.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20120717/d0cd0af7/attachment.pgp>


More information about the notmuch mailing list