lp:~cmiller/desktopcouch/couchdb-polutes-its-ini

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

130. By Chad Miller

Provide a way for old-style bookmarks to be noticed and updated. Try
to parse it the same way as we will later, and if we can't, then make
a new INI file.

129. By Chad Miller

When the HTTP status of is not success=200, also raise the body of the
result so that it is easier to debug.

128. By Chad Miller

We need to mutate the bookmarks file when couchdb starts, to add the port
number couchdb is listening on. This means we have to know the password.

The only place that the password is guaranteed to be correct between runs
of desktopcouch, without having a new INI file generated and shiny-new, is
the bookmark file itself. Why? Couchdb may, at its bewildering discretion,
mutate its INI file so that the password is hashed and useless to us.
Thus, we can't use the INI file as the source, and it's already in the
bookmarks file.

So, we need to parse the bookmarks file to get the info to update the
bookmarks file. If we're going to do that already when updating the port,
we might as well use the same mechanism when fabricating a new password
when there is no INI file we can use.

127. By Chad Miller

Use a context instead of a given PID as parameter to stop_couchdb().

126. By Chad Miller

Use the new unified function to shut down couchdb.

125. By Chad Miller

Use a context to shut down, if provided. If none given, use the
default context.

124. By Chad Miller

Add an easily-parsable container of credential information, because we
will have the resulting file be the only reliable source of existing
credentials, soon.

123. By Chad Miller

On init of CouchDatabase, do not fail if the server does not support
teh _changes interface (as UbuntuOne server does not).

122. By Chad Miller

Remove dumb shutdown method in desktopcouch module. Move smart shutdown
out of dedicated program to a function.

121. By Eric Casteleijn

backported safer update_fields method from server code in a backwards compatible way, fixed tests so they run in lucid (testtools changed so that setUp has to call super's setUp, and same for tearDown), did pedantic cleanup in files I touched

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