Merge lp://qastaging/~vds/desktopcouch/desktopcouch_couchdb_0_7 into lp://qastaging/desktopcouch
Proposed by
Vincenzo Di Somma
Status: | Work in progress |
---|---|
Proposed branch: | lp://qastaging/~vds/desktopcouch/desktopcouch_couchdb_0_7 |
Merge into: | lp://qastaging/desktopcouch |
Diff against target: |
996 lines (+462/-178) 10 files modified
desktopcouch/contacts/testing/create.py (+1/-1) desktopcouch/contacts/tests/test_view.py (+80/-28) desktopcouch/local_files.py (+29/-14) desktopcouch/pair/tests/test_couchdb_io.py (+40/-16) desktopcouch/records/server.py (+23/-14) desktopcouch/records/server_base.py (+267/-91) desktopcouch/records/tests/test_server.py (+3/-2) desktopcouch/replication_services/ubuntuone.py (+10/-6) desktopcouch/tests/__init__.py (+7/-5) desktopcouch/tests/test_replication.py (+2/-1) |
To merge this branch: | bzr merge lp://qastaging/~vds/desktopcouch/desktopcouch_couchdb_0_7 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Chad Miller (community) | Approve | ||
Eric Casteleijn (community) | Approve | ||
Review via email:
|
Commit message
Remove dependencies from httplib and switch to the new python-couchdb lib.
Clean code conventions.
Description of the change
Remove dependencies from httplib and switch to the new python-couchdb lib. In order to test this branch you need the version of python-couchdb in the PYTHONPATH.
To post a comment you must log in.
Unmerged revisions
- 165. By vincenzo di somma <vds@lucid>
-
getting rid of deprecated method
- 164. By vincenzo di somma <vds@lucid>
-
some cleaning
- 163. By vincenzo di somma <vds@lucid>
-
removed all the httplib2 dependencies
- 162. By vincenzo di somma <vds@lucid>
-
new oauth class
- 161. By vincenzo di somma <vds@lucid>
-
new oauth class
- 160. By vincenzo di somma <vds@lucid>
-
removed most of the httplib2 dependencies
Awesome job, thanks for cleaning up/delinting as well!
Tests run, but I see one deprecation warning:
TestCreate create_ many_contacts ... /home/eric/ canonical/ desktopcouch/ r-vds/desktopco uch/contacts/ testing/ create. py:176: DeprecationWarning: Database.create is deprecated, please use Database.save instead [2010-04-13]
test_
Not sure if that's easy to fix, but if so, we might as well, so that migration to the next version will potentially be easier.