lp:~statik/desktopcouch/add-contacts

Created by Elliot Murphy and last modified
Get this branch:
bzr branch lp:~statik/desktopcouch/add-contacts
Only Elliot Murphy can upload to this branch. If you are Elliot Murphy please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Elliot Murphy
Project:
desktopcouch
Status:
Merged

Recent revisions

36. By Elliot Murphy

Adding the contacts module.

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.

32. By dobey

Don't use DistUtilsExtra.auto as it's only in Karmic, and doesn't help here

31. By dobey

Remove the unused/invalid "utils" import from test_server

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.

28. By Ken VanDine

Include some missing files in the MANIFEST.in

27. By Elliot Murphy

clean up some import failures when ubuntuone-client is not installed.

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