2012-12-29 12:35:41 +01:00
|
|
|
Todo
|
|
|
|
* Check logging in various parts
|
2012-12-31 17:40:34 +01:00
|
|
|
* Make logging controllable with flags (mostly done)
|
2012-12-29 12:35:41 +01:00
|
|
|
* progress meter would be nice! Do this by wrapping the Reader with a progress bar
|
|
|
|
* Do bandwidth limit by wrapping the Reader too
|
|
|
|
* 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-12-31 17:40:34 +01:00
|
|
|
* -timeout: Make all timeouts be settable with command line parameters
|
2012-12-29 12:35:41 +01:00
|
|
|
* Check the locking in swift module!
|
|
|
|
* Windows paths? Do we need to translate / and \?
|
|
|
|
* Make a fs.Errorf and count errors and log them at a different level
|
2012-12-31 17:40:34 +01:00
|
|
|
* add -modify-window flag - fs should keep knowledge of resolution
|
|
|
|
* add check command to compare local MD5SUMs with remote
|
2012-12-29 12:35:41 +01:00
|
|
|
|
2012-12-23 18:46:03 +01:00
|
|
|
Ideas
|
2012-12-29 12:35:41 +01:00
|
|
|
* optimise remote copy container to another container using remote
|
|
|
|
copy if local is same as remote
|
2012-12-23 18:46:03 +01:00
|
|
|
* Allow subpaths container:/sub/path
|
|
|
|
* stats
|
2012-12-29 12:35:41 +01:00
|
|
|
* look at auth from env in s3 module - add to swift?
|
2012-11-29 23:13:58 +01:00
|
|
|
|
|
|
|
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
|
|
|
|
|
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-29 12:35:41 +01:00
|
|
|
* Can't purge a local filesystem because it leaves the directories behind
|
|
|
|
|
|
|
|
s3
|
|
|
|
--
|
|
|
|
|
|
|
|
Can maybe set last modified?
|
|
|
|
|
|
|
|
https://forums.aws.amazon.com/message.jspa?messageID=214062
|
2012-12-01 11:53:48 +01:00
|
|
|
|
2012-12-29 12:35:41 +01:00
|
|
|
Otherwise can set metadata
|
2012-12-01 11:53:48 +01:00
|
|
|
|
2012-12-29 12:35:41 +01:00
|
|
|
Returns etag and last modified in bucket list
|