lp:~cmiller/desktopcouch/lp530322
- Get this branch:
- bzr branch lp:~cmiller/desktopcouch/lp530322
Branch merges
- dobey (community): Approve
- Eric Casteleijn (community): Approve
-
Diff: 20 lines (+6/-2)1 file modifieddesktopcouch/application/local_files.py (+6/-2)
Related bugs
Bug #530322: desktopcouch-service crashed with OSError in __init__() | Medium | Fix Released |
Related blueprints
Branch information
Recent revisions
- 268. By Chad Miller
-
Change creation of the Database object to EAFP. LBYL is impossible with HTTP and no locking. If create-flag is set, then go do it and swallow an exception about it already existing. (LP: #707321)
In addition, simplify that code so it makes fewer round-trips to the server.
- 265. By Chad Miller
-
Use urllib2, which seperates reading response code from reading content, instead of httplib2, which doesn't. httplib(2) insists that the Content-Length header match the actual length, and Ubuntu One's middleware may change the content in transit. (LP: #711208)
- 264. By Chad Miller
-
When running plugin code in initializing the desktopcouch service, do not call any functions that require that the service be running and answering DBus method calls. In particular, we already know the port couchdb is listening on, so do not ask for that via DBus client call, but explicity pass it into the plugin function calls. (LP: #706939)
- 263. By Chad Miller
-
Ah HTTP error (say, from proxy server) may not return JSON document so we can't depend on being able to decode one. Catch and log those errors.
python-couchdb prepends its own "/" in requests, so our use of them can cause errors when talking to remote hosts.
- 260. By Chad Miller
-
Official python-couchdb replicate() function returns only one value, instead of two that our hack used to use. (LP: #705448)
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:desktopcouch