about summary refs log tree commit homepage
path: root/lib/mogilefs.rb
DateCommit message (Collapse)
2012-02-28doc: update to not refer to MogileFS 2.55 specifically
It's more future-proof, this way.
2011-12-11misc. documentation improvements
100% RDoc coverage (not that it's an indicator of _good_ documentation, but we're getting there)
2011-12-10rename "Put" namespace to "NewFile"
This should make documentation easier
2011-12-08reorganize largefile support code
Putting this into the MogileFS::Put::* namespace will make it easier to document.
2011-12-07new_file gains a :largefile => :chunked option
This returns a new HTTPStream object that behaves like a writable IO object with the following methods: * write * print * printf * putc * puts * syswrite * << ..and also responds to IO.select (for writability)
2011-11-18mogilefs: documentation update
* re-document exception classes * latest upstream MogileFS is 2.55
2011-11-18make MogileFS.io= an accessor
In case somebody wants to use this to override the default class for copy_stream in Ruby. It's also easier to read, this way.
2011-11-12fix misnamed exceptions
PipelineError was misnamed should be recoverable in user code. MogileFS::Error should be raised for bugs (in our code or user's code).
2011-11-11Merge remote-tracking branch 'origin/pipeline'
* origin/pipeline: list_keys/each_key: better handling of verbose listings pipeline: make errors easier to debug by including the request initial pipeline API
2011-11-11auto-generate mogilefs/version from git
GIT-VERSION-GEN was ported from Bourne shell to Ruby.
2011-11-11initial pipeline API
This is useful for the "verbose" listing of keys since we make a lot of file_info calls here. This API feels very awkward, but I think it's unavoidable...
2011-11-10doc: misc updates
2011-11-10documentation/packaging updates
Trying to find a happy medium within Hoe while keeping my preference for gmake and forcing wrongdoc on readers: JavaScript and GUIs all suck :P
2011-11-10backend: more descriptive error for backends being unreachable
Each backend could have a different story to tell
2011-11-07avoid circular requires
Ruby 1.9.3 considers them harmful
2011-11-05redo IO.copy_stream usage
Avoid deepening stack depth and make it easier to migrate fully to 1.9 in the future (dropping 1.8 support).
2011-11-05make EmptyPathError more descriptive
2011-11-05rename httpfile => http_file
Should be easier to read this way
2011-01-12mogilefs-client 2.2.0 v2.2.0
= 2.2.0 * internal cleanups (no public API breakage) * refactor backend socket/connection handling for reliability There'll probably be more aggressive cleanups/refactoring in future releases if I have time.
2010-02-19bump VERSION to 3.0.0pre
The 3.x.x series will probably be incompatible with 2.x.x...
2009-11-20set encoding: binary for all files
We won't trust Ruby 1.9 String weirdness since data storage is locale-agnostic
2009-04-11mogilefs-client 2.1.0 v2.1.0
2009-03-02mogilefs-client 2.0.2 v2.0.2
2009-02-25mogilefs-client 2.0.1 v2.0.1
2008-12-23Remove NFS support
MogileFS 2.x upstream no longer supports it, and it's become a maintenance burden and NFS is a horrible thing anyways. Attempting to use this with servers that support NFS will result in MogileFS::UnsupportedPathError being raised.
2008-12-22Replace TCPSocket + timeout code with Socket + IO.select
This removes the dependency on unsafe methods used in the Timeout class. Charles makes some good points here: http://blog.headius.com/2008/02/rubys-threadraise-threadkill-timeoutrb.html And even matz agrees: http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/294446 Of course, I strongly dislike any unnecessary use of threads, and implementations using native threads to do timeouts makes me even more uncomfortable.
2008-12-10initial bigfile read support
Needs more tests, but it seems to work... I seem to have discovered a bug in mogtool which causes it to generate incorrect MD5 checksums when the --gzip flag is used (and --gzip actually just does zlib deflate, not something that gzip(1) can actually decrypt). So right now MD5 checksums are only verified on non-zlib-deflated files.
2008-10-15Start working on v2.0.0 entry and notes
2008-10-15Replace the last of the ad-hoc RuntimeError exceptions
The ArgumentErrors happen at initialization time, so I'll keep those as-is
2008-10-15Backend: convert socket/invalid response errors to exceptions
2008-10-15Raise MogileFS::ReadOnly error for readonly instances
Also easier to trap and deal with
2008-10-15create MogileFS::Error class to base our other errors off of
This will allow users to trap MogileFS::Error to trap errors specific to our library.
2008-10-02Version 1.3.1 v1.3.1
2008-09-18Version 1.3.0 v1.3.0
2008-03-21Import mogilefs-client converted to Hoe.
From p4 revision #3336 git-svn-id: http://seattlerb.rubyforge.org/svn/mogilefs-client/dev@376 d2e05cf2-00e0-46e5-a3de-bbee4d6b9404