Permalink
Commits on Aug 7, 2012
  1. new defaults & better validation for create_bucket

    ramQuotaMB is now set to 100 by default
    authType is set to sasl by default
    Several asserts were added for better error
    catching and reporting on invalid combinations
    or values. Additionally, server-side validation
    is now being done to check for port duplicates,
    name taken, and similar checks.
    
    Change-Id: I188a81303ee018d7e858bac4c0566c493a93dddf
    Reviewed-on: http://review.couchbase.org/19287
    Reviewed-by: Volker Mische <volker.mische@gmail.com>
    Tested-by: Benjamin Young <benjamin@couchbase.com>
    BigBlueHat committed with BigBlueHat Aug 4, 2012
  2. including version.py to make pypi distribs work

    version.py looks up the version number from
    either RELEASE-VERSION or git--whichever is
    available--but it has to be on hand to do
    the work.
    
    Change-Id: I9d43155ca6fe0b69e2449d2a4bcb44e269368803
    Reviewed-on: http://review.couchbase.org/19325
    Tested-by: Matt Ingenthron <matt@couchbase.com>
    Reviewed-by: Matt Ingenthron <matt@couchbase.com>
    BigBlueHat committed with ingenthr Aug 7, 2012
Commits on Aug 6, 2012
  1. removed simplejson as we only support 2.6+

    Change-Id: I7c1d8ce0d0cd9f0bb6b8544f9a6c554be6612fc7
    Reviewed-on: http://review.couchbase.org/19286
    Reviewed-by: Volker Mische <volker.mische@gmail.com>
    Tested-by: Benjamin Young <benjamin@couchbase.com>
    BigBlueHat committed with BigBlueHat Aug 3, 2012
  2. removed copy/pasted uuid.py in favor of PyPI usage

    Change-Id: If960937f9d1a941af84a1ae5079be8c738e07ec0
    Reviewed-on: http://review.couchbase.org/19285
    Reviewed-by: Volker Mische <volker.mische@gmail.com>
    Tested-by: Benjamin Young <benjamin@couchbase.com>
    BigBlueHat committed with BigBlueHat Aug 3, 2012
  3. fixed travis status image

    Change-Id: Iaa794550d3197e69bd378e16dd99336f8cfc4580
    Reviewed-on: http://review.couchbase.org/19284
    Reviewed-by: Volker Mische <volker.mische@gmail.com>
    Tested-by: Benjamin Young <benjamin@couchbase.com>
    BigBlueHat committed with BigBlueHat Aug 3, 2012
  4. make sure a version is always returned by pep386adapt

    Change-Id: I5a746392e745a63ee04121efe15c6bc113a516d8
    Reviewed-on: http://review.couchbase.org/19254
    Reviewed-by: Pavel Paulau <pavel.paulau@gmail.com>
    Reviewed-by: Volker Mische <volker.mische@gmail.com>
    Reviewed-by: Benjamin Young <benjamin@couchbase.com>
    Tested-by: Benjamin Young <benjamin@couchbase.com>
    BigBlueHat committed with BigBlueHat Aug 3, 2012
Commits on Aug 2, 2012
  1. adding limits.d addition for travis

    Change-Id: Ibfb1257cc18da2e362ee045ee5b970806f9b835d
    Reviewed-on: http://review.couchbase.org/19233
    Tested-by: Benjamin Young <benjamin@couchbase.com>
    Reviewed-by: Benjamin Young <benjamin@couchbase.com>
    BigBlueHat committed with BigBlueHat Aug 2, 2012
  2. adding /opt/couchbase/bin/ to .travis.yml cp*ctl

    Explict path of cbepctl and cbflushctl.
    
    Change-Id: I7b56cbe565db4c5da6ffc78daaa9f5ebbc5b5582
    Reviewed-on: http://review.couchbase.org/19232
    Reviewed-by: Benjamin Young <benjamin@couchbase.com>
    Tested-by: Benjamin Young <benjamin@couchbase.com>
    BigBlueHat committed with BigBlueHat Aug 1, 2012
  3. shutting off the always-on memcached at travis

    Change-Id: I47bffcc63caf0878d146cb54ec2392c77191d393
    Reviewed-on: http://review.couchbase.org/19231
    Reviewed-by: Benjamin Young <benjamin@couchbase.com>
    Tested-by: Benjamin Young <benjamin@couchbase.com>
    BigBlueHat committed with BigBlueHat Aug 1, 2012
  4. return 0.0.0 for unfindable versions

    Rather than just die completely if the source is found
    via a method that did not include a RELEASE-VERSION and
    was not creatived via a git checkout (namely, Travis-CI),
    we at least give some version number back so things keep
    going.
    
    Change-Id: I6a43dcb1f7cecf19f0a867a7a112042983e36067
    Reviewed-on: http://review.couchbase.org/19230
    Reviewed-by: Benjamin Young <benjamin@couchbase.com>
    Tested-by: Benjamin Young <benjamin@couchbase.com>
    BigBlueHat committed with BigBlueHat Aug 1, 2012
  5. adding latest build for 32-bit Ubuntu for travis

    Change-Id: If9ec54e2e27f04950b6aa2696371c818e9b9edb3
    Reviewed-on: http://review.couchbase.org/19229
    Reviewed-by: Benjamin Young <benjamin@couchbase.com>
    Tested-by: Benjamin Young <benjamin@couchbase.com>
    BigBlueHat committed with BigBlueHat Jul 31, 2012
  6. adding cbflushctl/cbepctl to travis setup

    Change-Id: I49c6217c2aa414f5fd1bb623a2ce5cebfd16fdd6
    Reviewed-on: http://review.couchbase.org/19228
    Reviewed-by: Benjamin Young <benjamin@couchbase.com>
    Tested-by: Benjamin Young <benjamin@couchbase.com>
    BigBlueHat committed with BigBlueHat Jul 31, 2012
  7. switching travis to use python setup.py nosetests

    Change-Id: Ia7ce77275effec38f069f9a7c838a3cf9b227b5d
    Reviewed-on: http://review.couchbase.org/19227
    Reviewed-by: Benjamin Young <benjamin@couchbase.com>
    Tested-by: Benjamin Young <benjamin@couchbase.com>
    BigBlueHat committed with BigBlueHat Jul 31, 2012
  8. added 1.8.1-pre-release test builds

    Also added requests to pip install list
    
    Change-Id: Ic8b405e28a03e6b5615f1651fd46081c79f7bf9e
    Reviewed-on: http://review.couchbase.org/19226
    Reviewed-by: Benjamin Young <benjamin@couchbase.com>
    Tested-by: Benjamin Young <benjamin@couchbase.com>
    BigBlueHat committed with BigBlueHat Jun 14, 2012
  9. removing deleted design doc from ddocs list

    The delete_design_doc in tearDown was throwing an
    error since the doc was already gone. This just
    avoids that situation and keeps the test passing.
    
    Change-Id: I3b7044f4888e69dc8dc9372558a7305e3d122f65
    Reviewed-on: http://review.couchbase.org/19224
    Reviewed-by: Pavel Paulau <pavel.paulau@gmail.com>
    Tested-by: Benjamin Young <benjamin@couchbase.com>
    BigBlueHat committed with BigBlueHat Aug 2, 2012
  10. removing unimplemented getMulti-temporarily

    getMulti has been available, but unimplemented. Removing it
    to prevent errors, confusion, and frustraition. Will put it
    back in the future.
    
    Change-Id: Ia8b7260c19d2e06475b391ff7970120334b9fbd5
    Reviewed-on: http://review.couchbase.org/19169
    Reviewed-by: Pavel Paulau <pavel.paulau@gmail.com>
    Tested-by: Benjamin Young <benjamin@couchbase.com>
    Reviewed-by: Benjamin Young <benjamin@couchbase.com>
    BigBlueHat committed with BigBlueHat Aug 1, 2012
  11. fixed setup.py version calculation

    Previously this was fully dependent on git describe which
    meant setup.py had to be run from a source checkout rather
    than a source tar ball--which effects pypi distribution as
    well as couchbase.com distribution.
    
    This new method uses git describe if available, otherwise it
    references a RELEASE-VERSION document stored in the .tar.gz
    created by sdist (which happens prior to PyPI uploading).
    
    Change-Id: Ic0bb430532e6e279acb6c1ce6b32a4271c850bd3
    Reviewed-on: http://review.couchbase.org/19168
    Reviewed-by: Pavel Paulau <pavel.paulau@gmail.com>
    Reviewed-by: Volker Mische <volker.mische@gmail.com>
    Tested-by: Benjamin Young <benjamin@couchbase.com>
    BigBlueHat committed with BigBlueHat Aug 1, 2012
  12. added returning of set status

    Needs to be there to avoid doing a .get() to make
    sure the key was set.
    
    Change-Id: I0296a9cece21ddf78f169e4fa71ee4c8d23c5df2
    Reviewed-on: http://review.couchbase.org/19167
    Reviewed-by: Pavel Paulau <pavel.paulau@gmail.com>
    Reviewed-by: Volker Mische <volker.mische@gmail.com>
    Tested-by: Benjamin Young <benjamin@couchbase.com>
    BigBlueHat committed with BigBlueHat Aug 1, 2012
Commits on Jul 31, 2012
  1. updated README text about testing & needing flush

    Change-Id: I2cb0bf84b9e2d2d9747ff2a3776888006c3c8c59
    Reviewed-on: http://review.couchbase.org/19110
    Reviewed-by: Benjamin Young <benjamin@couchbase.com>
    Tested-by: Benjamin Young <benjamin@couchbase.com>
    BigBlueHat committed with BigBlueHat Jul 31, 2012
  2. pep8 the README code

    Change-Id: I24dcdbf17d9a6fab5d54608342b6c279426a6199
    Reviewed-on: http://review.couchbase.org/19096
    Tested-by: Benjamin Young <benjamin@couchbase.com>
    Reviewed-by: Benjamin Young <benjamin@couchbase.com>
    BigBlueHat committed with BigBlueHat Jul 31, 2012
  3. conditional syntax changes per pep8

    if cond != None is now if cond is not None
    if cond == None is now if cond is None
    
    Change-Id: I1cfcc6df32ad09d09461512ada993f91d2568cb4
    Reviewed-on: http://review.couchbase.org/19090
    Reviewed-by: Pavel Paulau <pavel.paulau@gmail.com>
    Tested-by: Benjamin Young <benjamin@couchbase.com>
    BigBlueHat committed with BigBlueHat Jul 31, 2012
  4. big whitespace-focused pep8 update

    pep8.py 1.3.3 shows a lot more than 1.1 >_<
    
    Change-Id: I05959084efe1970e1bdd0185583ea681aa115766
    Reviewed-on: http://review.couchbase.org/19089
    Reviewed-by: Volker Mische <volker.mische@gmail.com>
    Tested-by: Benjamin Young <benjamin@couchbase.com>
    BigBlueHat committed with BigBlueHat Jul 31, 2012
  5. added test of other Readme example

    Also made Couchbase class more accessible for imports:
      from couchbase import Couchbase
    Updated the example code to use this, rather than the
    deprecated Server class.
    
    Change-Id: Ice336c8f823d5d40f5961aa8f07151ec73d65d99
    Reviewed-on: http://review.couchbase.org/19085
    Reviewed-by: Volker Mische <volker.mische@gmail.com>
    Reviewed-by: Pavel Paulau <pavel.paulau@gmail.com>
    Tested-by: Benjamin Young <benjamin@couchbase.com>
    Reviewed-by: Benjamin Young <benjamin@couchbase.com>
    BigBlueHat committed with BigBlueHat Jul 30, 2012
  6. flush event error handling does contain a vbucket

    Change-Id: I11260857d82acd8b13ca6ab279e9b5439169a019
    Reviewed-on: http://review.couchbase.org/19088
    Reviewed-by: Volker Mische <volker.mische@gmail.com>
    Tested-by: Benjamin Young <benjamin@couchbase.com>
    BigBlueHat committed with BigBlueHat Jul 31, 2012
  7. memcached buckets do not have diskUsed stats

    Change-Id: Ideb38c4bebb9279bf849089e04d3218279057a5f
    Reviewed-on: http://review.couchbase.org/19087
    Reviewed-by: Volker Mische <volker.mische@gmail.com>
    Tested-by: Benjamin Young <benjamin@couchbase.com>
    BigBlueHat committed with BigBlueHat Jul 30, 2012
  8. added warmup state as valid HTTP API state

    Previously the list of available nodes was limited
    to ones marked healthy. 2.0 introduces a warmup
    state in which the server can still respond to HTTP
    requests, and as such, we need to keep those in the
    list of available nodes.
    
    Change-Id: I569bcd748055afd0f79716b1d41687abf6c725b0
    Reviewed-on: http://review.couchbase.org/19086
    Reviewed-by: Volker Mische <volker.mische@gmail.com>
    Tested-by: Benjamin Young <benjamin@couchbase.com>
    BigBlueHat committed with BigBlueHat Jul 30, 2012
  9. added tests for examples in the readme

    Testing the old/current ones first, then will update.
    Plan to keep the old ones around to check backwards
    compatibility...at least for now.
    
    Change-Id: I5c78f942cf35f9fa86668faf563d04e29913559e
    Reviewed-on: http://review.couchbase.org/19084
    Reviewed-by: Volker Mische <volker.mische@gmail.com>
    Tested-by: Benjamin Young <benjamin@couchbase.com>
    BigBlueHat committed with BigBlueHat Jul 26, 2012
  10. pep8 setup.py

    Change-Id: I5808835d4a46bd02face2411fa2b64bbbf6ea059
    Reviewed-on: http://review.couchbase.org/18879
    Reviewed-by: Benjamin Young <benjamin@couchbase.com>
    Tested-by: Benjamin Young <benjamin@couchbase.com>
    BigBlueHat committed with BigBlueHat Jul 25, 2012
Commits on Jul 30, 2012
  1. module renamed :s/couchbase-python/couchbase

    The -python implied that we are a pure Python SDK. We still
    are for the time being, but not for much longer. This is
    our first major release to PyPI, so figured we should get
    the name correct right off.
    
    Change-Id: I28554f13ef7139e56087409ac4d6dfcc27b8618f
    Reviewed-on: http://review.couchbase.org/18878
    Reviewed-by: Pavel Paulau <pavel.paulau@gmail.com>
    Reviewed-by: Volker Mische <volker.mische@gmail.com>
    Tested-by: Benjamin Young <benjamin@couchbase.com>
    BigBlueHat committed with BigBlueHat Jul 25, 2012
  2. finished up pep8 event.py

    Seems I missed changing the other code to reference
    the is_set rather than isSet method. Somethings cannot
    be seen in a single patch in Gerrit...
    
    Change-Id: Ibbb07c06e98854907570111d4c407cafa11f7365
    Reviewed-on: http://review.couchbase.org/18877
    Reviewed-by: Pavel Paulau <pavel.paulau@gmail.com>
    Reviewed-by: Volker Mische <volker.mische@gmail.com>
    Tested-by: Benjamin Young <benjamin@couchbase.com>
    BigBlueHat committed with BigBlueHat Jul 25, 2012
Commits on Jul 25, 2012
  1. pep8 event.py

    Change-Id: Ie08c08a18c051be78536b86a6579c456401a414d
    Reviewed-on: http://review.couchbase.org/18813
    Reviewed-by: Volker Mische <volker.mische@gmail.com>
    Tested-by: Benjamin Young <benjamin@couchbase.com>
    BigBlueHat committed with BigBlueHat Jul 25, 2012
  2. removed warning catcher in favor of with

    Other things break 2.4 compatibility, so
    there was no need to keep this thing.
    
    Change-Id: I264b3e9e729dc397150292655157dd4d737bd70a
    Reviewed-on: http://review.couchbase.org/18433
    Reviewed-by: Volker Mische <volker.mische@gmail.com>
    Tested-by: Benjamin Young <benjamin@couchbase.com>
    BigBlueHat committed with BigBlueHat Jul 17, 2012
  3. simplifying Bucket var names

    WARNING: Bucket.bucket_name is now Bucket.name
    
    Change-Id: If63d472c652c02f3faa502a1f9cee0d9c1c2e5d1
    Reviewed-on: http://review.couchbase.org/18432
    Reviewed-by: Volker Mische <volker.mische@gmail.com>
    Reviewed-by: Pavel Paulau <pavel.paulau@gmail.com>
    Tested-by: Benjamin Young <benjamin@couchbase.com>
    BigBlueHat committed with BigBlueHat Jul 17, 2012
  4. refactored client memcached bucket tests

    Also added @nottest and @attr in the right places
    
    Change-Id: Ic3f5e110d904d307cd20ba7c69b4169516a880f4
    Reviewed-on: http://review.couchbase.org/18431
    Reviewed-by: Volker Mische <volker.mische@gmail.com>
    Tested-by: Benjamin Young <benjamin@couchbase.com>
    BigBlueHat committed with BigBlueHat Jul 17, 2012
  5. fixed memcached bucket access via CouchbaseClient

    This patch fixes CouchbaseClient object initiation
    primarily. It previously did not work with memcached
    buckets. It also changes the internal self.bucket
    attribute to be an object rather than just the name,
    so that we have more power, with fewer trips to the
    server.
    
    Change-Id: I446bae3158bdd6f644c5898d7cf9a6b73c879e4b
    Reviewed-on: http://review.couchbase.org/18430
    Reviewed-by: Volker Mische <volker.mische@gmail.com>
    Tested-by: Benjamin Young <benjamin@couchbase.com>
    BigBlueHat committed with BigBlueHat Jul 17, 2012