lp://qastaging/~james-w/desktopcouch/context-for-tests
- Get this branch:
- bzr branch lp://qastaging/~james-w/desktopcouch/context-for-tests
Branch merges
- Nicola Larosa (community): Approve
- Eric Casteleijn (community): Approve
-
Diff: 134 lines (+54/-47)1 file modifieddesktopcouch/local_files.py (+54/-47)
Related bugs
Bug #525486: Please allow starting a local couchdb without oauth | Wishlist | Fix Released |
|
Bug #530899: Using a non-default context tramples on my user couch via gnome-keyring | Undecided | Fix Released |
|
Related blueprints
Branch information
Recent revisions
- 122. By James Westby
-
Add with_auth and with_keyring arguments to Context.
If with_auth is False then a couch started in the created context won't
require or accept credentials. This makes it not really a desktopcouch,
but the facilities for starting and stopping couchdb with a restricted
configuration can be hugely useful to other projects to use in e.g. test
suites.If with_keyring is False then the credentials won't be read from or stored
to gnome-keyring, so that if it is a non-default context (e.g. in a testsuite)
it doesn't intefere with the user's desktopcouch, as gnome-keyring is the
only global object that Context interacts with. - 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
- 120. By Stuart Langridge
-
Allow execute_view to take a dict of additional parameters, such as { "descending": True }, which can be passed on to the underlying view, thus allowing extra params to be passed onto the CouchDB request.
- 119. By Stuart Langridge
-
Allow generation of full HTML API documentation, with "epydoc --config=
data/epydoc. conf". - 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. - 116. By Chad Miller
-
Fix spurious underscore that causes NameError when there is no key in
the keyring. - 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.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp://qastaging/desktopcouch