lp:~cmiller/desktopcouch/fix-replication-getport-nouri

Created by Chad Miller and last modified
Get this branch:
bzr branch lp:~cmiller/desktopcouch/fix-replication-getport-nouri
Only Chad Miller can upload to this branch. If you are Chad Miller please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Chad Miller
Project:
desktopcouch
Status:
Merged

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.

132. By Elliot Murphy

Fixed the execute bit on bin/desktopcouch-stop

131. By Chad Miller

Update setup.py to have new version and include new file.

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)

126. By Manuel de la Peña

Add put_records_batch(), a way to send several records at once.

125. By Rick McBride

Include apport info in the source Manifest.

Fix a NameError in the apport collection code.

124. By Niels Kjøller Hansen

Use more Pythonic and cleaner kwargs.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:desktopcouch
This branch contains Public information 
Everyone can see this information.

Subscribers