Merge lp:~nataliabidart/ubuntuone-client/send-status-changed-when-quitting into lp:ubuntuone-client
Status: | Merged |
---|---|
Approved by: | Natalia Bidart |
Approved revision: | 811 |
Merged at revision: | 811 |
Proposed branch: | lp:~nataliabidart/ubuntuone-client/send-status-changed-when-quitting |
Merge into: | lp:ubuntuone-client |
Diff against target: |
287 lines (+117/-14) 6 files modified
docs/states_manager.svg (+82/-11) tests/syncdaemon/test_main.py (+11/-0) tests/syncdaemon/test_states.py (+14/-3) ubuntuone/syncdaemon/event_queue.py (+1/-0) ubuntuone/syncdaemon/main.py (+1/-0) ubuntuone/syncdaemon/states.py (+8/-0) |
To merge this branch: | bzr merge lp:~nataliabidart/ubuntuone-client/send-status-changed-when-quitting |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Alejandro J. Cura (community) | Approve | ||
Guillermo Gonzalez | Approve | ||
Review via email: mp+46666@code.launchpad.net |
Commit message
Syncdaemon now sends a StatusChanged with a QUIT state when quitting (LP: #704599).
Description of the change
To test IRL, in this branch, run:
u1sdtool -q; PYTHONPATH=. ./bin/ubuntuone
and then, from another terminal, run:
u1sdtool -q
You should get this in the log file:
2011-01-18 16:36:23,073 - ubuntuone.
2011-01-18 16:36:23,073 - ubuntuone.
2011-01-18 16:36:23,074 - ubuntuone.
2011-01-18 16:36:23,074 - ubuntuone.
2011-01-18 16:36:23,074 - ubuntuone.
+1
As discussed on IRC, the name should be different. something a bit more state-like.