HomeFreeBSD

Add support for Pushbullet notifications

Description

Add support for Pushbullet notifications

This commit adds the zed_notify_pushbullet() function and hooks
it into zed_notify(), thereby integrating it with the existing
"notify" ZEDLETs. This enables ZED to push notifications to your
desktop computer and/or mobile device(s). It is configured with the
ZED_PUSHBULLET_ACCESS_TOKEN and ZED_PUSHBULLET_CHANNEL_TAG variables
in zed.rc.

https://www.pushbullet.com/

The Makefile install-data-local target has been replaced with
install-data-hook. With the "-local" target, there is no particular
guarantee of execution order. But with the zed.rc now potentially
containing sensitive information (i.e., the Pushbullet access token),
the recommended permissions have changed to 0600. The "-hook" target
is always executed after the main rule's work is done; thus, the
chmod will always take place after the zed.rc file has been installed.

https://www.gnu.org/software/automake/manual/automake.html#Extending

Signed-off-by: Chris Dunlap <cdunlap@llnl.gov>

Details

Provenance
Chris Dunlap <cdunlap@llnl.gov>Authored on Feb 27 2015, 12:26 AM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Apr 27 2015, 7:08 PM
Parents
rG20967ff1a4c2: Replace "email" ZEDLETs with "notify" ZEDLETs
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rGa0d065fa922d: Add support for Pushbullet notifications (authored by Chris Dunlap <cdunlap@llnl.gov>).Apr 27 2015, 7:08 PM