[PATCH v3 0/2] notmuch hooks

Jameson Graef Rollins jrollins at finestructure.net
Wed Dec 7 14:13:13 PST 2011


On Wed, 07 Dec 2011 21:42:33 +0200, Jani Nikula <jani at nikula.org> wrote:
> I wonder, though, whether the samples should be created only when
> creating the database, or whenever the hooks directory does not exist?
> The latter, I guess. Otherwise existing notmuch users would hardly get
> the sample hooks.

I agree, the later would be better.  notmuch new should just create the
hooks directory (and example scripts) if they don't already exist.

I also think it's nice to have the scripts not executable to begin with,
and the hook runner only executes the script if they are executable.

jamie.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20111207/766102ae/attachment.pgp>


More information about the notmuch mailing list