Skip to content
Commits on Dec 22, 2015
  1. @mnunberg

    PYCBC-317: Undocument ViewIterator.rows_returned

    This rather confusing attribute isn't very useful
    
    Change-Id: Id5c556a59f964a20e53d4541949a933a706867df
    Reviewed-on: http://review.couchbase.org/58015
    Reviewed-by: Volker Mische <volker.mische@gmail.com>
    Tested-by: Mark Nunberg <mark.nunberg@couchbase.com>
    mnunberg committed with mnunberg Dec 21, 2015
Commits on Dec 9, 2015
  1. @mnunberg

    travis: Temporary hack to work around bad testresources version

    1.0.0 is broken for now
    
    Change-Id: I3ee3f302f4860df47ddc12ecf3b55785c8c06dab
    Reviewed-on: http://review.couchbase.org/57603
    Reviewed-by: Volker Mische <volker.mische@gmail.com>
    Tested-by: Mark Nunberg <mark.nunberg@couchbase.com>
    mnunberg committed with mnunberg Dec 8, 2015
  2. @mnunberg

    Update travis to 'Container' infrastructure

    Change-Id: Icd6e957141593f536b4c00db375b52ff598d310c
    Reviewed-on: http://review.couchbase.org/57602
    Reviewed-by: Volker Mische <volker.mische@gmail.com>
    Tested-by: Mark Nunberg <mark.nunberg@couchbase.com>
    mnunberg committed with mnunberg Dec 8, 2015
  3. @mnunberg

    couchbase_version: Warn and generate dummy version for bad tag

    For some reason, this happens with Travis builds
    
    Change-Id: Ie8dd82a3a5aa6c0557cb974ca0b0a644ab017958
    Reviewed-on: http://review.couchbase.org/57601
    Reviewed-by: Volker Mische <volker.mische@gmail.com>
    Tested-by: Mark Nunberg <mark.nunberg@couchbase.com>
    mnunberg committed with mnunberg Dec 8, 2015
Commits on Dec 8, 2015
  1. @mnunberg

    Allow 'N1QLRequest.execute()' to return itself

    This allows for more idiomatic access such as execute().meta[...]
    
    Change-Id: I1728af5f64227dbb0288185bfa5abad7af1cdb42
    Reviewed-on: http://review.couchbase.org/57525
    Reviewed-by: Volker Mische <volker.mische@gmail.com>
    Tested-by: Mark Nunberg <mark.nunberg@couchbase.com>
    mnunberg committed with mnunberg Dec 7, 2015
  2. @mnunberg

    Add N1QLRequest.meta property

    This allows easy access to query metadata without exposing the guts of
    the 'raw' object.
    
    Change-Id: I8dc0c5795ddd2105f6ff3311a7b9367ac5739443
    Reviewed-on: http://review.couchbase.org/57524
    Reviewed-by: Volker Mische <volker.mische@gmail.com>
    Tested-by: Mark Nunberg <mark.nunberg@couchbase.com>
    mnunberg committed with mnunberg Dec 7, 2015
  3. @mnunberg

    PYCBC-311: Raise exception on view meta access before iteration

    Change-Id: Ieb4dd93e4f057b5d8fb69a439c1a37073c816675
    Reviewed-on: http://review.couchbase.org/57523
    Reviewed-by: Volker Mische <volker.mische@gmail.com>
    Tested-by: Mark Nunberg <mark.nunberg@couchbase.com>
    mnunberg committed with mnunberg Nov 25, 2015
Commits on Nov 24, 2015
  1. @mnunberg

    PYCBC-310: remove 'experimental' from n1ql and geo

    These features are stable from Couchbase 4.0
    
    Change-Id: I72b3ac7a6a85fbf601b602422e1e77f57060369f
    Reviewed-on: http://review.couchbase.org/57200
    Tested-by: Mark Nunberg <mark.nunberg@couchbase.com>
    Reviewed-by: Volker Mische <volker.mische@gmail.com>
    mnunberg committed with mnunberg Nov 23, 2015
  2. @mnunberg

    PYCBC-308: Add tests to check for behavior when now rows are returned

    This adds some newer smaller n1ql test cases. Depends on a newer mock
    
    Change-Id: If66b760d56f0487782afe806e26568a7f995610a
    Reviewed-on: http://review.couchbase.org/57075
    Tested-by: Mark Nunberg <mark.nunberg@couchbase.com>
    Reviewed-by: Volker Mische <volker.mische@gmail.com>
    mnunberg committed with mnunberg Nov 10, 2015
  3. @mnunberg

    Allow fallback mode to run tests with simple filenames

    Because we allow multiple implementations using the same test cases, our
    test setup is a bit funny looking.
    
    This commit allows the tests to run as a standalone test - using the
    default of the sync couchbase module
    
    Change-Id: I4c18e0f2b08729e9c97936a7c3d340b1918037a7
    Reviewed-on: http://review.couchbase.org/57074
    Tested-by: Mark Nunberg <mark.nunberg@couchbase.com>
    Reviewed-by: Volker Mische <volker.mische@gmail.com>
    mnunberg committed with mnunberg Nov 10, 2015
  4. @mnunberg

    removed unused imports from base test

    Change-Id: Ib0f0e0854680cf73f403ab463c76c9e96f0fb6f8
    Reviewed-on: http://review.couchbase.org/57073
    Tested-by: Mark Nunberg <mark.nunberg@couchbase.com>
    Reviewed-by: Volker Mische <volker.mische@gmail.com>
    mnunberg committed with mnunberg Nov 10, 2015
  5. @mnunberg

    PYCBC-309: Document placeholders as being native values

    And that they should not be already-serialized JSON values or weird
    string constructions.
    
    Change-Id: I608fe53c31436ef8836089dbc3b81646c9d3cbf9
    Reviewed-on: http://review.couchbase.org/57201
    Tested-by: Mark Nunberg <mark.nunberg@couchbase.com>
    Reviewed-by: Volker Mische <volker.mische@gmail.com>
    mnunberg committed with mnunberg Nov 23, 2015
Commits on Nov 12, 2015
  1. @mnunberg

    Reactor conversion encoding functions

    Rather than passing discreet objects with funky semantics, these new
    functions return their result in a newly defined pycbc_pybuffer type.
    
    Change-Id: I0a52249aa7aa13a41853ff40941032bdd4fbfaba
    Reviewed-on: http://review.couchbase.org/55572
    Reviewed-by: Dave Rigby <daver@couchbase.com>
    Reviewed-by: Volker Mische <volker.mische@gmail.com>
    Tested-by: Mark Nunberg <mark.nunberg@couchbase.com>
    mnunberg committed with mnunberg Jul 6, 2015
Commits on Oct 30, 2015
  1. @mnunberg

    PYCBC-296: Fix constant truncation

    Make constants be PY_LONG_LONG rather than 'long'. Also force format
    flags as lcb_U32 before converting to long.
    
    Change-Id: I894ffd48762dd42e9fc9a92444cb3d3545f0dd6b
    Reviewed-on: http://review.couchbase.org/56538
    Tested-by: Mark Nunberg <mark.nunberg@couchbase.com>
    Reviewed-by: Volker Mische <volker.mische@gmail.com>
    mnunberg committed with mnunberg Oct 29, 2015
Commits on Oct 29, 2015
  1. @mnunberg

    Document some additional properties

    Change-Id: If2c03ba423c7f13e39a12bf17951a62bac5c4029
    Reviewed-on: http://review.couchbase.org/56496
    Reviewed-by: Dave Rigby <daver@couchbase.com>
    Reviewed-by: Volker Mische <volker.mische@gmail.com>
    Tested-by: Mark Nunberg <mark.nunberg@couchbase.com>
    mnunberg committed with mnunberg Oct 28, 2015
  2. @mnunberg

    PYCBC-307: Add n1ql timeout properties

    This adds n1ql timeout properties on both a per-query and global level.
    
    Change-Id: I88c8efd2039ca8e5875e2779329f258025ecf086
    Reviewed-on: http://review.couchbase.org/56495
    Reviewed-by: Dave Rigby <daver@couchbase.com>
    Reviewed-by: Volker Mische <volker.mische@gmail.com>
    Tested-by: Mark Nunberg <mark.nunberg@couchbase.com>
    mnunberg committed with mnunberg Oct 28, 2015
  3. @mnunberg

    Additional view/n1ql documentation fixes

    This makes the n1ql methods first class citizens in terms of
    documentations. More examples have been added.
    
    The 'itercls' kwarg has been undocumented and made non-discreet, as this
    is an internal parameter as far as the API is concerned at the sync
    bucket level.
    
    The consistent_with* properties on the N1QLQuery class have been
    undocumented as they do not work in Couchbase 4.0 (they might work in a
    later release, so they have not been removed).
    
    Change-Id: I999521cbd88909dd9622e32f35d42582f5331d7f
    Reviewed-on: http://review.couchbase.org/56411
    Reviewed-by: Dave Rigby <daver@couchbase.com>
    Reviewed-by: Volker Mische <volker.mische@gmail.com>
    Tested-by: Mark Nunberg <mark.nunberg@couchbase.com>
    mnunberg committed with mnunberg Oct 26, 2015
  4. @mnunberg

    PYCBC-305: Add is_ssl property to determine SSL connection state

    Change-Id: I2a331796699fe711bceb765b8a87223270ca09e4
    Reviewed-on: http://review.couchbase.org/56394
    Tested-by: Mark Nunberg <mark.nunberg@couchbase.com>
    Reviewed-by: Dave Rigby <daver@couchbase.com>
    Reviewed-by: Volker Mische <volker.mische@gmail.com>
    mnunberg committed with mnunberg Oct 23, 2015
Commits on Oct 28, 2015
  1. @mnunberg

    PYCBC-300: Result.__repr__ should indicate properties in proper case

    This is per normal Python convention of showing the fields as-is within
    the output of __repr__.
    
    Change-Id: Ia7d4ad0763fa36f7f66be9d43833ec68b522b5c9
    Reviewed-on: http://review.couchbase.org/56412
    Reviewed-by: Dave Rigby <daver@couchbase.com>
    Reviewed-by: Volker Mische <volker.mische@gmail.com>
    Tested-by: Mark Nunberg <mark.nunberg@couchbase.com>
    mnunberg committed with mnunberg Oct 26, 2015
  2. @mnunberg

    Fix PYCBC-295 test for Py3

    Fake transcoder was returning a str value when it should be returning a
    bytes value. This is not an issue in Py2 where str==byte.
    
    Change-Id: I97adb4beac2676a12196f7e978c990c39e6bfa90
    Reviewed-on: http://review.couchbase.org/56459
    Tested-by: Mark Nunberg <mark.nunberg@couchbase.com>
    Reviewed-by: Dave Rigby <daver@couchbase.com>
    Reviewed-by: Volker Mische <volker.mische@gmail.com>
    mnunberg committed with mnunberg Oct 27, 2015
  3. @mnunberg

    Return with proper exception set on pipeline violation

    This was missed in some other tests, but I just got a crash for this.
    
    Change-Id: Ib1cad45822ec2c3bc792a189d5a782447d07c2af
    Reviewed-on: http://review.couchbase.org/56458
    Tested-by: Mark Nunberg <mark.nunberg@couchbase.com>
    Reviewed-by: Dave Rigby <daver@couchbase.com>
    Reviewed-by: Volker Mische <volker.mische@gmail.com>
    mnunberg committed with mnunberg Oct 27, 2015
Commits on Oct 27, 2015
  1. @mnunberg

    Move previous requirements.txt to dev_requirements

    This SDK has no external dependencies.
    
    Change-Id: Ia0f3258aa3b0c612ab312741ab70184547014302
    Reviewed-on: http://review.couchbase.org/56393
    Reviewed-by: Dave Rigby <daver@couchbase.com>
    Reviewed-by: Volker Mische <volker.mische@gmail.com>
    Tested-by: Mark Nunberg <mark.nunberg@couchbase.com>
    mnunberg committed with mnunberg Oct 16, 2015
  2. @mnunberg

    PYCBC-306: Twisted/N1QL fixes

    Since batched objects collect and buffer their rows, the __iter__ should
    just return the iterator over the buffer (the __rows itself is already a
    list, not an iterator).
    
    This also fixes the broken n1qlQueryEx which would try to use view
    queries instead.
    
    Change-Id: Id3767113d0d1535d34b292e1aead1a4fc3c765c5
    Reviewed-on: http://review.couchbase.org/56402
    Reviewed-by: Dave Rigby <daver@couchbase.com>
    Reviewed-by: Volker Mische <volker.mische@gmail.com>
    Tested-by: Mark Nunberg <mark.nunberg@couchbase.com>
    mnunberg committed with mnunberg Oct 26, 2015
  3. @mnunberg

    Don't use assertDictEqual

    This is unavailable on older versions of Python and breaks our Travis
    testing.
    
    Change-Id: I4dac3427d1fef361f3a8b7950a57f67b3728012b
    Reviewed-on: http://review.couchbase.org/56401
    Reviewed-by: Dave Rigby <daver@couchbase.com>
    Reviewed-by: Volker Mische <volker.mische@gmail.com>
    Tested-by: Mark Nunberg <mark.nunberg@couchbase.com>
    mnunberg committed with mnunberg Oct 26, 2015
Commits on Oct 16, 2015
  1. @mnunberg

    PYCBC-302, PYCBC-303: Add additional Item functionality

    * Ensure only Item instances are added via ItemOptionDict.add()
    * Allow convenience method to create and add a new item
    
    Change-Id: I30401e6d8e0bee879e9c418df2b9d8991444289c
    Reviewed-on: http://review.couchbase.org/56163
    Tested-by: Mark Nunberg <mark.nunberg@couchbase.com>
    Reviewed-by: Volker Mische <volker.mische@gmail.com>
    mnunberg committed with mnunberg Oct 15, 2015
  2. @mnunberg

    connstr: default scheme should not have '://'

    Since this is appended to the scheme at the encoding level anyway
    
    Change-Id: Ida9d4042f946d71ecf298a705293f2bf893e24fe
    Reviewed-on: http://review.couchbase.org/56162
    Tested-by: Mark Nunberg <mark.nunberg@couchbase.com>
    Reviewed-by: Volker Mische <volker.mische@gmail.com>
    mnunberg committed with mnunberg Sep 30, 2015
Commits on Sep 3, 2015
  1. @mnunberg

    PYCBC-291: Add keystats

    Change-Id: I9412346238c4fa289e57fb8a061dc6e015ba4e73
    Reviewed-on: http://review.couchbase.org/54228
    Reviewed-by: Dave Rigby <daver@couchbase.com>
    Reviewed-by: Subhashni Balakrishnan <b.subhashni@gmail.com>
    Tested-by: Mark Nunberg <mark.nunberg@couchbase.com>
    mnunberg committed with mnunberg Aug 7, 2015
Commits on Sep 1, 2015
  1. @mnunberg

    Allow using lcb's prepared statements

    Change-Id: Ib76eda1a64b4765e9ef53491970c0f9f6e2802f7
    Reviewed-on: http://review.couchbase.org/54863
    Reviewed-by: Dave Rigby <daver@couchbase.com>
    Reviewed-by: Subhashni Balakrishnan <b.subhashni@gmail.com>
    Tested-by: Mark Nunberg <mark.nunberg@couchbase.com>
    mnunberg committed with mnunberg Aug 26, 2015
  2. @mnunberg

    PYCBC-295: Ignore legacy flags if common flags are being used.

    Change-Id: Ia8288c766bc4fdeb2e29298b16c4ff7a171556c4
    Reviewed-on: http://review.couchbase.org/54925
    Reviewed-by: Subhashni Balakrishnan <b.subhashni@gmail.com>
    Tested-by: Mark Nunberg <mark.nunberg@couchbase.com>
    mnunberg committed with mnunberg Aug 31, 2015
Commits on Aug 17, 2015
  1. @mnunberg

    PYCBC-294: Free mutinfo before result

    Otherwise we risk accessing zero'd memory
    
    Change-Id: I57b92169e4baf51746541eb7ba44cc6326bbe6a0
    Reviewed-on: http://review.couchbase.org/54500
    Reviewed-by: Dave Rigby <daver@couchbase.com>
    Reviewed-by: Subhashni Balakrishnan <b.subhashni@gmail.com>
    Tested-by: Mark Nunberg <mark.nunberg@couchbase.com>
    mnunberg committed with mnunberg Aug 17, 2015
Commits on Aug 10, 2015
  1. @mnunberg

    PYCBC-293: Fix FMT_XXX_MASK to be unsigned

    Change-Id: Ia0e74078c9797711cae68ded034eeeb5eeeb0eb0
    Reviewed-on: http://review.couchbase.org/54229
    Reviewed-by: Dave Rigby <daver@couchbase.com>
    Tested-by: Mark Nunberg <mark.nunberg@couchbase.com>
    mnunberg committed with mnunberg Aug 7, 2015
Commits on Aug 3, 2015
  1. @mnunberg

    Add scan_vector support

    This adds two new `N1QLQuery` methods, `consistent_with_ops` which
    ensures consistency with one or more mutations, and
    `consistent_with_all` which ensures consistency with all mutations
    previously performed by the bucket. An `_add_scanvec` internal method is
    also added to allow specifying the low-level mutation information.
    
    Change-Id: I2504afbfb3af1c524c50a54b5c6ab77ae2e5cadd
    Reviewed-on: http://review.couchbase.org/52746
    Reviewed-by: Dave Rigby <daver@couchbase.com>
    Reviewed-by: Subhashni Balakrishnan <b.subhashni@gmail.com>
    Tested-by: Mark Nunberg <mark.nunberg@couchbase.com>
    mnunberg committed with mnunberg Jul 1, 2015
  2. @mnunberg

    Allow retrieval of mutation info

    This adds an `OperationResult` level property, `_mutinfo` which returns
    the scan vector. This also adds a `Bucket`-level `_mutinfo()` method
    which returns the mutation info cached within the library.
    
    Change-Id: I194611dfe4d108d1400a9855c6a92dfc9906fdb7
    Reviewed-on: http://review.couchbase.org/52745
    Reviewed-by: Dave Rigby <daver@couchbase.com>
    Reviewed-by: Subhashni Balakrishnan <b.subhashni@gmail.com>
    Tested-by: Mark Nunberg <mark.nunberg@couchbase.com>
    mnunberg committed with mnunberg Jul 1, 2015
  3. @mnunberg

    PYCBC-290: Cancel n1ql request when object is destroyed

    This depends on CCBC-619
    
    Change-Id: I9604f7a50df6dd810c56eb6085794f27dd5b2f1f
    Reviewed-on: http://review.couchbase.org/52744
    Reviewed-by: Dave Rigby <daver@couchbase.com>
    Reviewed-by: Subhashni Balakrishnan <b.subhashni@gmail.com>
    Tested-by: Mark Nunberg <mark.nunberg@couchbase.com>
    mnunberg committed with mnunberg Jun 29, 2015
  4. @mnunberg

    N1QLRequest._fetch: Handle case when no rows are returned, but not done

    This can happen if another concurrent iterator receives results and
    breaks out. In this case, simply return an empty list.
    
    Change-Id: I05fcba16ab16d78be8b631881ad744def543923c
    Reviewed-on: http://review.couchbase.org/52743
    Reviewed-by: Dave Rigby <daver@couchbase.com>
    Reviewed-by: Subhashni Balakrishnan <b.subhashni@gmail.com>
    Tested-by: Mark Nunberg <mark.nunberg@couchbase.com>
    mnunberg committed with mnunberg Jun 19, 2015
Something went wrong with that request. Please try again.