lp:~cmiller/desktopcouch/recorddict_more_dictly

Created by Chad Miller and last modified
Get this branch:
bzr branch lp:~cmiller/desktopcouch/recorddict_more_dictly
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

118. By Chad Miller

desktopcouch.record.RecordDict needs has_key to be more like the dict that we
emulate. This sucks because dict.has_key is going away in Py 3, but let's be
extra nice for another year or so.

117. By Chad Miller

Bump version number for release.

116. By Chad Miller

Fix spurious underscore that causes NameError when there is no key in
the keyring.

115. By Chad Miller

Bump version for release.

114. By Chad Miller

Fix new, incorrect comment on Record.record_revision.

113. By Chad Miller

Add a new attribute on Record class, so that users can get a record's
revision id without using ._dict or "_rev".

  n = r.record_revision # retreive revision. Will be None if just fabricated.
  r.record.revision = "foo" # raises AttributeError, as it is read-only.

112. By Chad Miller

Make the database generate its own record IDs at "put" time, rather than let couchdb try to generate one. Quoth the python-couchdb folks, """The underlying HTTP ``POST`` method is not idempotent, and an automatic retry due to a problem somewhere on the networking stack may cause multiple documents being created in the database.""" A known ID solves the problem of lack of state.

Add support for attached documents. On Records, there are new methods,

  .attach(str_or_file, name, content_type)

  .detach(name)

  .list_attachments() --- list of strings

  .attachment_data(name) --- (string_blob, content_type)

111. By Manuel de la Peña

Reverse broken logic in test of explicit record id sanity, and add a test that verifies it is correct.

110. By Stuart Langridge

Improve pairing tool reliability. Make pick_or_listen not be a global, which fixes a race condition in signals and initialization.

109. By Manuel de la Peña

Moved record_id to be a property rather than an attribute in order to be able to give a consistent behavior

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