Commits on Sep 12, 2011
  1. Merge pull request #57 from gstein/master

    russelldb committed Sep 12, 2011
    Fix the test suite when '' is invoked without a path prefix
  2. Merge pull request #58 from reiddraper/nmsglen-type-error

    russelldb committed Sep 12, 2011
    Fix TypeError in exception text by using len(nmsglen) instead of nmsglen
  3. Merge pull request #54 from gstein/simplify

    russelldb committed Sep 12, 2011
    Various simplifications to the (http) codebase
Commits on Sep 11, 2011
  1. Fix the test suite when invoked as "python". In this case,

    gstein committed Sep 11, 2011
    __file__ has no directory component, so .dirname() returns '' and adding
    it to '/' (or similar) will result in a reference to a file at
    th root of the filesystem (oops). Using os.path.join() properly handles
    this situation, and can increase portability.
    * riak/tests/
        use os.path.join() to properly deal with variant invocations that
        affect the __file__ value.
        use os.path.abspath(), os.pardir, and os.path.join() to correctly find
        the THANKS file.
Commits on Sep 10, 2011
  1. Align the .http_request() method of the RiakHttpTransport subclasses …

    gstein committed Sep 10, 2011
    the superclass' signature.
    * riak/transports/
          RiakHttpPoolTransport): default the HEADERS param to None, and then
        set it to an empty dict when the caller doesn't set it
Commits on Sep 9, 2011
  1. Merge pull request #51 from sorenh/master

    russelldb committed Sep 9, 2011
    Fix for issue #50
Commits on Sep 8, 2011
  1. change string format to 2.5

    Socrates Lee authored and gstein committed Sep 3, 2011
    (cherry picked from commit 80931c3)
  2. change to python 2.5 string

    unknown authored and gstein committed Sep 3, 2011
  3. Enable the test suite to run under earlier versions of Python, and when

    gstein committed Sep 8, 2011
    some dependencies (protobuf and urllib3) are missing. Adjust the existing
    SKIP_* tests to use the unittest "skip" mechanisms.
Commits on Sep 6, 2011
  1. Fold .httplib_request() directly into .http_request().

    gstein committed Sep 6, 2011
    * riak/transports/
      (RiakHttpTransport.http_request): adjust param names to URI and BODY to
        match the expections of the .httplib_request() method body. fold that
        method into http_request. alter header examinatino to "is None" so we
        don't (unnecessarily) fire on an empty dictionary.
      (RiakHttpTransport.httplib_request): folded into .http_request()
      (RiakHttpReuseTransport.httplib_request): renamed to .http_request()
      (RiakHttpPoolTransport.httplib_request): renamed to .http_request()
  2. Remove host/port parameters from various method signatures, and rely on

    gstein committed Sep 6, 2011
    self._host and self._port for the values.
    * riak/transports/
      ( remove host/port from .http_request() call
      (RiakHttpTransport.get, RiakHttpRequest.delete,
          RiakHttpRequest.get_keys, RiakHttpRequest.get_buckets,
          RiakHttpRequest.get_bucket_props, RiakHttpRequest.set_bucket_props,
          RiakHttpRequest.get_request, RiakHttpRequest.get_file,
          RiakHttpRequest.delete_file, RiakHttpRequest.post_request):
        remove host/port return values from build_rest_path() and avoid
        passing to .http_request()
      (RiakHttpTransport.put, RiakHttpTransport.store_file): remove host/port
        return values from build_rest_path(), and remove the host/port from
        from .do_put()
      (RiakHttpTransport.do_put): remove host/port from the signature, and
        avoid passing them to .http_request()
      (RiakHttpTransport.mapred): remove host/port localvars, and avoid
        passing to .http_request()
      (RiakHttpTransport.build_rest_path): only return the constructed path
      (RiakHttpTransport.http_request): move to an instance method, and use
        self._host and self._port rather than params (which are now eliminated
        from the func signature).
          RiakHttpReuseTransport.httplib_request): remove host/port from the
        signature and use self._host and self._port instead. Switch to an
        instance method to support this.
      (RiakHttpPoolTransport.httplib_request): maintain existing functionality
        by storing the pool in the class, but this seems wrong. otherwise, in
        the main: eliminate the host/port parameters.
Commits on Sep 2, 2011
Commits on Aug 31, 2011
  1. Relax some dependencies:

    gstein committed Aug 31, 2011
    * if something cannot be imported, then simply disable the transport.
    * add a future import to enable "with" statements in
Commits on Aug 19, 2011
  1. Ignore *.egg files

    slfritchie committed Aug 19, 2011
  2. Don't return the empty object (self) with siblings.

    bretthoerner authored and slfritchie committed Aug 8, 2011
    Also, update THANKS file.
Commits on Aug 5, 2011
  1. Restored Python 2.6 compatibility.

    roidrage committed Aug 5, 2011
    By way of the unittest2 package, so it needs to be installed to run
    the tests on Python 2.6.
Commits on Aug 4, 2011
  1. Bump version 1.3.0

    roidrage committed Aug 4, 2011
  2. Merge branch 'solr-search'

    roidrage committed Aug 4, 2011
  3. Merge branch 'luwak-support'

    roidrage committed Aug 4, 2011
Commits on Aug 3, 2011