2012-12-23 18:46:03 +01:00
|
|
|
Ideas
|
|
|
|
* remote copy container to another container
|
|
|
|
* check local is same as remote
|
|
|
|
* syncup/syncdown (like rsync with delete)
|
|
|
|
* use container: /path/syntax like rsync?
|
|
|
|
* Allow subpaths container:/sub/path
|
|
|
|
* allow local/local too
|
|
|
|
* progress reports
|
|
|
|
* stats
|
|
|
|
* Add bandwidth limit?
|
|
|
|
|
2012-11-18 18:32:31 +01:00
|
|
|
make 100% compatible with swift.py?
|
|
|
|
|
|
|
|
Make Env vars compatible with st?
|
|
|
|
|
|
|
|
Get and put the metadata in the libray (x-object-meta-mtime) when getting and putting a file?
|
|
|
|
|
|
|
|
This also puts meta-mtime
|
|
|
|
https://github.com/gholt/swiftly
|
|
|
|
|
|
|
|
As an integer, but it does parse it as a float
|
|
|
|
subargs.append('x-object-meta-mtime:%d' % getmtime(options.input_))
|
2012-11-20 23:40:48 +01:00
|
|
|
|
|
|
|
Need an iterate all objects routine... Could use a channel
|
|
|
|
- could just be a flag to Objects()
|
|
|
|
|
|
|
|
FIXME progress meter would be nice! Do this by wrapping the Reader with a progress bar
|
|
|
|
|
2012-11-28 11:47:35 +01:00
|
|
|
Do bandwidth limit by wrapping the Reader too
|
2012-11-29 23:13:58 +01:00
|
|
|
Maybe using https://jra-go.googlecode.com/hg/linkio/ which will work for multiple
|
|
|
|
uploads or downloads.
|
|
|
|
* code.google.com/p/mxk/go1/flowcontrol - only does one flow at once
|
|
|
|
Or maybe put into swift library.
|
2012-11-28 11:47:35 +01:00
|
|
|
|
2012-11-29 00:40:09 +01:00
|
|
|
Windows paths? Do we need to translate / and \?
|
|
|
|
|
2012-11-29 23:13:58 +01:00
|
|
|
Make swift timeouts be settable with command line parameters
|
|
|
|
|
|
|
|
Make a wrapper in connection which
|
|
|
|
* measures bandwidth and reports it
|
|
|
|
* limits bandwidth using Reader and Writer
|
|
|
|
* for a pool of all individual connectinos
|
|
|
|
* does timeouts by setting a limit, seeing whether io has happened
|
|
|
|
and resetting it if it has
|
|
|
|
|
|
|
|
Check the locking in swift module!
|
2012-12-01 09:18:58 +01:00
|
|
|
|
|
|
|
Need to make directory objects otherwise can't upload an empty directory
|
|
|
|
* Or could upload empty directories only?
|
2012-12-01 11:53:48 +01:00
|
|
|
|
|
|
|
Make a fs.Errorf and count errors and log them at a different level
|
|
|
|
|