Merge lp:~diegosarmentero/ubuntuone-client/ubuntuone-client-timer into lp:ubuntuone-client
| Status: | Merged | ||||
|---|---|---|---|---|---|
| Approved by: | Diego Sarmentero on 2012-09-27 | ||||
| Approved revision: | 1333 | ||||
| Merged at revision: | 1325 | ||||
| Proposed branch: | lp:~diegosarmentero/ubuntuone-client/ubuntuone-client-timer | ||||
| Merge into: | lp:ubuntuone-client | ||||
| Diff against target: |
492 lines (+121/-84) 9 files modified
tests/platform/sync_menu/test_linux.py (+32/-17) tests/status/test_aggregator.py (+15/-0) tests/syncdaemon/test_main.py (+0/-14) tests/syncdaemon/test_status_listener.py (+2/-2) ubuntuone/platform/sync_menu/common.py (+0/-10) ubuntuone/platform/sync_menu/linux.py (+38/-23) ubuntuone/status/aggregator.py (+29/-3) ubuntuone/syncdaemon/main.py (+3/-13) ubuntuone/syncdaemon/status_listener.py (+2/-2) |
||||
| To merge this branch: | bzr merge lp:~diegosarmentero/ubuntuone-client/ubuntuone-client-timer | ||||
| Related bugs: |
|
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Alejandro J. Cura (community) | 2012-09-20 | Approve on 2012-09-26 | |
| Mike McCracken (community) | Approve on 2012-09-26 | ||
|
Review via email:
|
|||
Commit Message
- Using a timer event that doesn't fire continuously if another update timer is in progress (LP: #1052922).
- 1322. By Diego Sarmentero on 2012-09-20
-
merge
- 1323. By Diego Sarmentero on 2012-09-20
-
adding logging
- 1324. By Diego Sarmentero on 2012-09-20
-
fixing test
- 1325. By Diego Sarmentero on 2012-09-20
-
adding test for register_listener
- 1326. By Diego Sarmentero on 2012-09-21
-
Improving timer
- 1327. By Diego Sarmentero on 2012-09-21
-
merge
- 1328. By Diego Sarmentero on 2012-09-21
-
Timer delay improved
- 1329. By Diego Sarmentero on 2012-09-25
-
raise error when the object is not callable
- 1330. By Diego Sarmentero on 2012-09-25
-
tests fixed
| Mike McCracken (mikemc) wrote : | # |
OK. looks good - tests pass for me on linux, and there are no new tests to run on darwin or windows.
(I have a branch that'll add tests for windows and darwin)
| Mike McCracken (mikemc) wrote : | # |
I should've added - I couldn't IRL test this because I don't have Q running yet, and IRL on darwin dies because of the bug that my other branch fixes...
| Mike McCracken (mikemc) wrote : | # |
I just noticed this - this branch removes the method "start_timer" from the UbuntuOneSyncMe
The test in test_linux.py tests the dummy for start_timer, so it also needs to be updated.
Don't worry about fixing the same issue in common.py, my branch will do that.
- 1331. By Diego Sarmentero on 2012-09-26
-
removing start_timer from dummy
- 1332. By Diego Sarmentero on 2012-09-26
-
adding missing update_transfers for dummy and test
| Alejandro J. Cura (alecu) wrote : | # |
A few quick fixes needed:
The name of test_dummy_
The docstring in test_register_
"listeners_
This docstring is wrong: """Create the sync menu and run the loop.""". It should be """Create the sync menu and register the progress listener."""
- 1333. By Diego Sarmentero on 2012-09-26
-
fixing naming and docstring problems


This branch is wrong: it keeps using cpu while syncdaemon is idle.