lp:~cmiller/desktopcouch/record-expose-revid-bug445611

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

114. By Chad Miller

Change the test so we rely only on the guaranteed behavior of the
revision id.

113. By Chad Miller

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

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

108. By Chad Miller

Do not read from the keyring if we have a configuration file that has the information we need.

Move config file manipulation into execution-context code. Make all config access go though explicit context of execution.

Simplify config-value getting and setting.

Hard-code port for new configurations, since we are very unlikely to use a value other than zero.

107. By Chad Miller

Remove sharp-bang lines and remove execute bit.

106. By Chad Miller

There is a period between when couchdb has written its PID file and when it is really listening on a socket for connections. Our code assumes that writing its PID file is a signal that it's ready to work, but it is not. Now, we loop on looking for the socket, instead of interpreting missing as an error.

105. By Manuel de la Peña

Ensures that the method that test for the presence of the record does not just check if the field is present but ensures the value 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.

Subscribers