Split desktopcouch in two: a records library that can be used on the server and a desktop application/library
Bug #510159 reported by
Eric Casteleijn
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
desktopcouch |
Fix Released
|
Medium
|
Eric Casteleijn | ||
desktopcouch (Ubuntu) |
Fix Released
|
Medium
|
Eric Casteleijn |
Bug Description
We've often talked about this, and really it should have been the case from the beginning, but we really should split desktop-couch in two: the records api which has no desktop dependencies and desktopcouch itself.
I think we should lift records/ and contacts/ out of desktop-couch (minus the desktop specific stuff in them, which is pretty minimal and isolated) and import them.
Related branches
lp://staging/~thisfred/desktopcouch/split-attempt-2
- dobey (community): Abstain
- Vincenzo Di Somma (community): Approve
- Manuel de la Peña (community): Approve
- Chad Miller (community): Approve
-
Diff: 4040 lines (+1093/-878)78 files modifiedbin/desktopcouch-pair (+1/-1)
desktopcouch/__init__.py (+1/-0)
desktopcouch/application/local_files.py (+67/-53)
desktopcouch/application/migration/__init__.py (+3/-3)
desktopcouch/application/migration/tests/test_migration.py (+6/-6)
desktopcouch/application/pair/couchdb_pairing/couchdb_io.py (+5/-5)
desktopcouch/application/pair/couchdb_pairing/dbus_io.py (+65/-40)
desktopcouch/application/pair/couchdb_pairing/network_io.py (+68/-58)
desktopcouch/application/pair/couchdb_pairing/ubuntuone_pairing.py (+1/-1)
desktopcouch/application/pair/tests/test_couchdb_io.py (+4/-4)
desktopcouch/application/pair/tests/test_network_io.py (+47/-125)
desktopcouch/application/pair/tests/test_ubuntuone_pairing.py (+2/-2)
desktopcouch/application/platform/__init__.py (+17/-9)
desktopcouch/application/platform/linux/ipc.py (+11/-5)
desktopcouch/application/platform/linux/keyring.py (+24/-19)
desktopcouch/application/replication.py (+48/-31)
desktopcouch/application/replication_services/ubuntuone.py (+20/-10)
desktopcouch/application/service.py (+34/-31)
desktopcouch/application/start_local_couchdb.py (+2/-2)
desktopcouch/application/stop_local_couchdb.py (+6/-2)
desktopcouch/application/tests/__init__.py (+53/-31)
desktopcouch/application/tests/test_local_files.py (+34/-19)
desktopcouch/application/tests/test_replication.py (+17/-10)
desktopcouch/application/tests/test_service.py (+20/-16)
desktopcouch/application/tests/test_start_local_couchdb.py (+7/-3)
desktopcouch/bookmarks/__init__.py (+0/-20)
desktopcouch/bookmarks/record.py (+9/-0)
desktopcouch/contacts/__init__.py (+0/-20)
desktopcouch/contacts/record.py (+9/-0)
desktopcouch/contacts/view.py (+9/-0)
desktopcouch/local_files.py (+9/-0)
desktopcouch/notes/__init__.py (+0/-19)
desktopcouch/notes/record.py (+9/-0)
desktopcouch/notes/tests/__init__.py (+0/-18)
desktopcouch/pair/__init__.py (+9/-0)
desktopcouch/pair/couchdb_pairing/__init__.py (+1/-0)
desktopcouch/pair/couchdb_pairing/couchdb_io.py (+10/-0)
desktopcouch/pair/couchdb_pairing/dbus_io.py (+10/-0)
desktopcouch/pair/couchdb_pairing/network_io.py (+10/-0)
desktopcouch/pair/couchdb_pairing/ubuntuone_pairing.py (+10/-0)
desktopcouch/records/__init__.py (+0/-23)
desktopcouch/records/doc/an_example_application.txt (+3/-3)
desktopcouch/records/doc/field_registry.txt (+1/-1)
desktopcouch/records/doc/records.txt (+1/-1)
desktopcouch/records/field_registry.py (+1/-1)
desktopcouch/records/server.py (+5/-4)
desktopcouch/records/server_base.py (+11/-6)
desktopcouch/records/tests/test_field_registry.py (+1/-1)
desktopcouch/records/tests/test_record.py (+4/-4)
desktopcouch/records/tests/test_server.py (+4/-4)
desktopcouch/recordtypes/__init__.py (+1/-0)
desktopcouch/recordtypes/bookmarks.py (+14/-6)
desktopcouch/recordtypes/contacts/__init__.py (+2/-2)
desktopcouch/recordtypes/contacts/testing/create.py (+23/-9)
desktopcouch/recordtypes/contacts/tests/__init__.py (+2/-3)
desktopcouch/recordtypes/contacts/tests/test_create.py (+15/-13)
desktopcouch/recordtypes/contacts/tests/test_record.py (+1/-1)
desktopcouch/recordtypes/contacts/tests/test_view.py (+220/-62)
desktopcouch/recordtypes/contacts/view.py (+1/-1)
desktopcouch/recordtypes/notes.py (+1/-1)
desktopcouch/recordtypes/tasks.py (+1/-1)
desktopcouch/recordtypes/tests/__init__.py (+1/-0)
desktopcouch/recordtypes/tests/test_bookmarks.py (+1/-2)
desktopcouch/recordtypes/tests/test_notes.py (+1/-1)
desktopcouch/recordtypes/tests/test_tasks.py (+1/-1)
desktopcouch/replication.py (+9/-0)
desktopcouch/replication_services/__init__.py (+10/-0)
desktopcouch/replication_services/example.py (+10/-0)
desktopcouch/replication_services/ubuntuone.py (+10/-0)
desktopcouch/service.py (+9/-0)
desktopcouch/start_local_couchdb.py (+16/-0)
desktopcouch/stop_local_couchdb.py (+15/-0)
desktopcouch/tasks/__init__.py (+0/-19)
desktopcouch/tasks/record.py (+9/-0)
desktopcouch/tests/__init__.py (+9/-0)
desktopcouch/util.py (+9/-0)
po/desktopcouch.pot (+0/-137)
runtests.py (+13/-8)
lp://staging/~cmiller/desktopcouch/code-split-changes-relative-path-to-configs
- dobey (community): Approve
- Eric Casteleijn (community): Approve
-
Diff: 95 lines (+24/-14)2 files modifieddesktopcouch/application/start_local_couchdb.py (+13/-14)
desktopcouch/application/tests/test_local_files.py (+11/-0)
lp://staging/~thisfred/desktopcouch/cut-gordian-knot
- Chad Miller (community): Approve
- Vincenzo Di Somma (community): Approve
-
Diff: 1052 lines (+229/-184)30 files modifiedbin/desktopcouch-pair (+2/-2)
desktopcouch/application/migration/__init__.py (+7/-7)
desktopcouch/application/migration/tests/test_migration.py (+11/-10)
desktopcouch/application/pair/couchdb_pairing/couchdb_io.py (+6/-6)
desktopcouch/application/pair/couchdb_pairing/ubuntuone_pairing.py (+2/-2)
desktopcouch/application/pair/tests/test_couchdb_io.py (+4/-4)
desktopcouch/application/platform/linux/__init__.py (+1/-1)
desktopcouch/application/platform/windows/__init__.py (+1/-1)
desktopcouch/application/replication_services/ubuntuone.py (+3/-3)
desktopcouch/application/server.py (+48/-50)
desktopcouch/application/service.py (+7/-12)
desktopcouch/application/start_local_couchdb.py (+2/-2)
desktopcouch/application/tests/test_replication.py (+4/-4)
desktopcouch/application/tests/test_start_local_couchdb.py (+3/-2)
desktopcouch/records/database.py (+40/-8)
desktopcouch/records/doc/records.txt (+2/-2)
desktopcouch/records/server.py (+9/-0)
desktopcouch/records/server_base.py (+9/-0)
desktopcouch/records/tests/__init__.py (+1/-2)
desktopcouch/records/tests/test_record.py (+3/-3)
desktopcouch/records/tests/test_server.py (+12/-13)
desktopcouch/recordtypes/contacts/__init__.py (+0/-1)
desktopcouch/recordtypes/contacts/testing/create.py (+2/-2)
desktopcouch/recordtypes/contacts/tests/test_record.py (+1/-1)
desktopcouch/recordtypes/contacts/tests/test_view.py (+2/-2)
desktopcouch/recordtypes/contacts/view.py (+42/-37)
desktopcouch/recordtypes/notes.py (+1/-0)
desktopcouch/recordtypes/tasks.py (+1/-1)
desktopcouch/recordtypes/tests/test_notes.py (+2/-5)
desktopcouch/recordtypes/tests/test_tasks.py (+1/-1)
lp://staging/~thisfred/desktopcouch/fix-setup
- Chad Miller (community): Approve
- Vincenzo Di Somma (community): Approve
-
Diff: 12 lines (+1/-1)1 file modifiedsetup.py (+1/-1)
Changed in desktopcouch: | |
status: | New → Triaged |
importance: | Undecided → Medium |
assignee: | nobody → Chad Miller (cmiller) |
Changed in desktopcouch: | |
milestone: | none → 1.0 |
Changed in desktopcouch: | |
assignee: | Chad Miller (cmiller) → Eric Casteleijn (thisfred) |
status: | Triaged → In Progress |
Changed in desktopcouch (Ubuntu): | |
status: | New → In Progress |
importance: | Undecided → Medium |
assignee: | nobody → Eric Casteleijn (thisfred) |
milestone: | none → natty-alpha-1 |
Changed in desktopcouch: | |
status: | In Progress → Fix Committed |
Changed in desktopcouch: | |
status: | Fix Committed → In Progress |
Changed in desktopcouch: | |
status: | In Progress → Fix Committed |
Changed in desktopcouch (Ubuntu): | |
milestone: | natty-alpha-1 → natty-alpha-2 |
Changed in desktopcouch: | |
status: | Fix Committed → Fix Released |
Changed in desktopcouch (Ubuntu): | |
status: | In Progress → Fix Released |
To post a comment you must log in.