Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Nov 05, 2013

  1. Bin Cui

    MB-9406: Check if input zip file exists or not

    Change-Id: I0863852c5f1297f3431dd868e8e34fc67aaec725
    Reviewed-on: http://review.couchbase.org/29855
    Reviewed-by: Pavel Paulau <pavel.paulau@gmail.com>
    Tested-by: Bin Cui <bin.cui@gmail.com>
    bcui6611 authored

Sep 19, 2012

  1. Bin Cui

    MB-6669: Use system provided random temp directory

    mkdtemp creates a temporary directory in secure manner.
    
    Change-Id: I962c5cdce4250e48c7a145f6e92a2678d4738364
    Reviewed-on: http://review.couchbase.org/20888
    Reviewed-by: Jens Alfke <jens@couchbase.com>
    Reviewed-by: Steve Yen <steve.yen@gmail.com>
    Tested-by: Bin Cui <bin.cui@gmail.com>
    bcui6611 authored Peter Wansch committed

Sep 15, 2012

  1. Bin Cui

    MB-6452: Use same extractall function as for python 2.4

    For python2.6 on Mac, zipfile.extractall() wrongly create parent
    directory as file. And it lealds to extractall failure. The ZipUtil
    implementation won't have such problems.
    
    Change-Id: I17a7e8dc5a664680ffbce58ba7cd3106c3a527b0
    Reviewed-on: http://review.couchbase.org/20880
    Reviewed-by: Jens Alfke <jens@couchbase.com>
    Tested-by: Farshid Ghods <farshid@couchbase.com>
    Reviewed-by: Farshid Ghods <farshid@couchbase.com>
    bcui6611 authored Farshid Ghods committed

Sep 13, 2012

  1. Bin Cui

    MB-6606: Implement extractall function for python 2.4

    ZipFile.extractall() only exists since python 2.6. For platforms with
    older python version installed, we have our own implementation to
    extract all zip content to a working directory.
    
    Change-Id: I67e3cd7bbd540e62d0088444e273788ff7360623
    Reviewed-on: http://review.couchbase.org/20765
    Tested-by: Bin Cui <bin.cui@gmail.com>
    Reviewed-by: Steve Yen <steve.yen@gmail.com>
    Reviewed-by: Farshid Ghods <farshid@couchbase.com>
    Tested-by: Farshid Ghods <farshid@couchbase.com>
    bcui6611 authored Farshid Ghods committed

Aug 30, 2012

  1. Bin Cui

    MB-6233: Retrieve couch_api_base from server

    For unconfigured setup, the couch_api_base value cannot be retrieved
    correctly by url: http://ip:port/pools/default. But it is avaible
    by using url: http://ip:port/pools/default/buckets/bucket_name
    Before saving any design docs, it is better to reset the couch_api_base
    value in couchbase client object.
    
    Change-Id: I432064afddf18c0bf10a2218fe595b86b4180288
    Reviewed-on: http://review.couchbase.org/20137
    Tested-by: Bin Cui <bin.cui@gmail.com>
    Reviewed-by: Pavel Paulau <pavel.paulau@gmail.com>
    bcui6611 authored
  2. Bin Cui

    MB-6411: Create zip working dir under system temp directory

    Instead of using the current working directory such as bin or
    /opt/couchbase/lib/python, use system temp directory.
    
    Change-Id: Ie2452df0581f5f3659d1deab856e7092037c68fb
    Reviewed-on: http://review.couchbase.org/20141
    Reviewed-by: Steve Yen <steve.yen@gmail.com>
    Tested-by: Bin Cui <bin.cui@gmail.com>
    bcui6611 authored

Aug 18, 2012

  1. Bin Cui

    CBD-514: Use a more meaningful function name

    Change-Id: Ib2056cc0aa8febce1099f432deec2f2c88aa461f
    Reviewed-on: http://review.couchbase.org/19819
    Reviewed-by: Steve Yen <steve.yen@gmail.com>
    Tested-by: Bin Cui <bin.cui@gmail.com>
    bcui6611 authored
  2. Bin Cui

    MB-6249: Don't set default for user/password/bucket

    User/password should be provided as arguments or retrieved from
    environment. And bucket name is always required.
    
    Change-Id: Ie446a626c07e9a441a1299f24d544ee9b4bdd7aa
    Reviewed-on: http://review.couchbase.org/19789
    Reviewed-by: Pavel Paulau <pavel.paulau@gmail.com>
    Reviewed-by: Steve Yen <steve.yen@gmail.com>
    Tested-by: Bin Cui <bin.cui@gmail.com>
    bcui6611 authored
  3. Bin Cui

    CBD-514: Avoid using temporary files

    Instead, extracting files to a temp location and upload files
    on temp directory. It will speed up the uploading process.
    
    Change-Id: I5298dc84ef4000a86ed6586bcab0073c2463fd5f
    Reviewed-on: http://review.couchbase.org/19788
    Reviewed-by: Steve Yen <steve.yen@gmail.com>
    Tested-by: Bin Cui <bin.cui@gmail.com>
    bcui6611 authored

Aug 15, 2012

  1. Bin Cui

    MB-6212: Check if bucket ram quota

    If specified ram quota exeeds available quota in the cluster,
    give out error message and exit
    
    Change-Id: I8cb43e5083fe03a835a12672f951f9bccc3877db
    Reviewed-on: http://review.couchbase.org/19661
    Tested-by: Bin Cui <bin.cui@gmail.com>
    Reviewed-by: Steve Yen <steve.yen@gmail.com>
    bcui6611 authored

Aug 01, 2012

  1. Bin Cui

    MB-6003: Load view docs after other docs

    Design docs should be uploaded and created after all other docs
    are uploaded.
    
    Change-Id: I3f922db6eebb24828efc6148187a63735b7a2bcf
    Reviewed-on: http://review.couchbase.org/19131
    Reviewed-by: Pavel Paulau <pavel.paulau@gmail.com>
    Tested-by: Bin Cui <bin.cui@gmail.com>
    bcui6611 authored
  2. Bin Cui

    CBD-465: Set script path to environment path

    On 64bit windows, py2exe doesn't support to bundle everything
    as oen executable. As result, .exe file may sit in different
    directory from support dlls and other pyd files.
    
    Change-Id: Idc09e8016b43725823f99e1113dffb72a1598b77
    Reviewed-on: http://review.couchbase.org/18981
    Reviewed-by: Pavel Paulau <pavel.paulau@gmail.com>
    Tested-by: Bin Cui <bin.cui@gmail.com>
    bcui6611 authored

Jul 09, 2012

  1. Bin Cui

    CBD-393: Rename docloader

    Change-Id: Iac3be61799c744be41021a35713c42270b929d44
    Reviewed-on: http://review.couchbase.org/17935
    Tested-by: Bin Cui <bin.cui@gmail.com>
    Reviewed-by: Bin Cui <bin.cui@gmail.com>
    bcui6611 authored
Something went wrong with that request. Please try again.