-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added support for Pushover Hook for notifications #86
base: main
Are you sure you want to change the base?
Conversation
Thanks for taking the time to implement yet another monitoring hook! I'll have a look at this after the 1.9.0 release—which I'm currently trying to avoid scope creep on so that it's released sometime this century. 😄 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Initial review (not including tests). This looks like a great start! Most of my comments are on smaller stuff, so hopefully there shouldn't be too many changes. Thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tests look great! Thank you so much for doing them (and the docs too!). I bet the tests were easier to write this time around.
) | ||
|
||
|
||
def test_ping_monitor_start_state_backup_default_message_with_priority_high_declared_expire_and_retry_delared_success(): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This one too: IMO it's not just the success you care about but the fact that expire and retry are ignored.
Hi,
This PR aims to add support for Pushover notifications.
I've updated the documentation, list of supported integrations on borgmatic website homepage and have included various tests.
Pushover uses two keys. A user key and an application key. User keys are how you are authenticated to your Pushover account. Application keys are how Pushover knows which application to post the message to. Applications can be though of as threads, or topics.
I've included support for all of the API options that Pushover has.
Please let me know if there are any changes I should make.