lp:~statik/desktopcouch/add-contacts
- Get this branch:
- bzr branch lp:~statik/desktopcouch/add-contacts
Branch merges
- Eric Casteleijn (community): Approve
- Diff: None lines
Branch information
Recent revisions
- 35. By Chad Miller
-
Use subprocess.Popen and ourselves to the wait()ing, since subprocess.call() is buggy. There's still an EINTR bug in subprocess, though.
Occasionally stop couchdb in tests, so we exercise the automatic starting code. This will lead to spurious errors because of the aforementioned subprocess bug, but it's the right thing to do.
Abstract away some of the linuxisms and complain if we're run on an unsupported OS.
Fix a race condition in the process-testing code.
Replace the TestCase module with one that doesn't complain of dirty twisted reactors.
Add a means of stopping the desktop couchdb daemon.
Add an additional check that a found PID and process named correctly is indeed a process that this user started, so we don't try to talk to other local users' desktop couchdbs.
- 34. By Chad Miller
-
Get the port at function-call time, instead of storing a port at
start-time and giving that back. The info can be stale, the old
way. - 33. By Elliot Murphy
-
Don't create a view per record-type; instead, call the standard return-
all-records- keyed-by- record- type and use slice notation on the viewresults to only get back the records with that type, which does the same thing but more elegantly. - 30. By Chad Miller
-
Use simpler code and more complex exception catching.
Also, change the name of a function tested to be what actually exists in the code.
- 29. By Rick Spencer
-
There are two changes here:
Change 1 you probably care about. I refactored server.py by renaming server.
get_records_ and_type to server.get_records. Also modified the function to take a record type param if desired to only create records of that type and optionally create a view name "get_"+ record_type. Change 2 changed couchwidget to use the modified records api.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:desktopcouch