Merge ~jocave/testflinger-cli:notify-me into testflinger-cli:master
Proposed by
Jonathan Cave
Status: | Work in progress |
---|---|
Proposed branch: | ~jocave/testflinger-cli:notify-me |
Merge into: | testflinger-cli:master |
Diff against target: |
122 lines (+38/-4) 3 files modified
snapcraft.yaml (+8/-0) testflinger-cli.wrapper (+5/-0) testflinger_cli/__init__.py (+25/-4) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Paul Larson | Approve | ||
Review via email: mp+402027@code.launchpad.net |
Description of the change
I often reserve a device to do some testing, but while the device provisions I start doing something else and forget about it!
This basically works like the undistract-me tool to popup a desktop notification and play a bell sound to tell you your device is ready for you to use.
To post a comment you must log in.
Neat! Have you tried this on something like a server without the desktop bits to see how it behaves? I know, for instance, we probably wouldn't add -n for our polling in Jenkins jobs or anything, just want to make sure it wouldn't crash or something in that case.
It's too bad that things like print("\a") don't work reliably, that would make a nice simple solution