lp:~cmiller/desktopcouch/fix-replication-getport-nouri
- Get this branch:
- bzr branch lp:~cmiller/desktopcouch/fix-replication-getport-nouri
Branch merges
- Eric Casteleijn (community): Needs Fixing
- Stuart Langridge (community): Approve
-
Diff: 12 lines (+1/-1)1 file modifieddesktopcouch/pair/couchdb_pairing/couchdb_io.py (+1/-1)
Branch information
Recent revisions
- 133. By Chad Miller
-
Include the local uri in the replication call to CouchDatabase, because
we want direct access to the port, instead of discovering the port
through a DBus call to ourselves.Note, this should have worked anyway. Replication runs in a different
thread than the DBus service. Maybe the thread is not detached enough (?)
or DBus methods are not thread-safe and it is impossible to act as a
client in one thread while answering as a service in another thread.
It's a mystery. - 130. By Chad Miller
-
Even though we explained how to get the Desktopcuch listening port in docs ("use DBus"), we still exposed a python function that would get the port directly. Python programmers seemed to use that instead.
The problem is that the DBus call starts the service, which has other supporting ancillary functions included, like replication, and soon, compaction.
So now, make the mis-used get_port method do what we want, and make a new private function that does the low-level work.
- 129. By Chad Miller
-
Add a simple way for any language to get the communications port, by executing a program.
- 128. By Chad Miller
-
Make it clear that a owner of a record will get their data mutated when they call put_record, and that the result is safe to put again, with no need to fetch it from the server.
- 127. By Manuel de la Peña
-
Make list-like MergableList objects behave more like lists by adding pop() and remove() methods. (LP: #519873)
- 125. By Rick McBride
-
Include apport info in the source Manifest.
Fix a NameError in the apport collection code.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:desktopcouch