lp:~mandel/desktopcouch/batch_update

Created by Manuel de la Peña and last modified
Get this branch:
bzr branch lp:~mandel/desktopcouch/batch_update
Only Manuel de la Peña can upload to this branch. If you are Manuel de la Peña please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Manuel de la Peña
Project:
desktopcouch
Status:
Merged

Recent revisions

120. By Manuel de la Peña

Merged with current trunk

119. By Manuel de la Peña

Merged with trunk

118. By Manuel de la Peña

Added method to perform a batch update of documents using the smaller amount of requests possible.

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.

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.