You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As shub deploy is often not finishing fast enough, I tend to run it, switch tasks and forget about it. So it would be good for me if it showed a desktop notification when finishing. The idea is taken from gbp-buildpackage which uses https://pypi.org/project/notify2/ (the code is at https://github.com/agx/git-buildpackage/blob/master/gbp/notifications.py , it's GPL-2+ but it's really trivial and so doesn't need to be copied). I can implement it in my free time, though it's better if someone points me at the file where it should be called.
The text was updated successfully, but these errors were encountered:
Sounds like a nice feature. Regarding where to put it, my guess it's probably here and here, which are the functions called for "regular" deploys and image-based deploys respectively.
In cases where you want a notification once a command finishes, it can be trivial to achieve without modifying the actual command by using a command-line program to send the notification right after the command finishes.
As
shub deploy
is often not finishing fast enough, I tend to run it, switch tasks and forget about it. So it would be good for me if it showed a desktop notification when finishing. The idea is taken fromgbp-buildpackage
which uses https://pypi.org/project/notify2/ (the code is at https://github.com/agx/git-buildpackage/blob/master/gbp/notifications.py , it's GPL-2+ but it's really trivial and so doesn't need to be copied). I can implement it in my free time, though it's better if someone points me at the file where it should be called.The text was updated successfully, but these errors were encountered: