Harshavardhana
202f9e7646
Probe moves closer to mc, also brings in changes by avoiding it behave like an error interface{}
2015-08-07 00:53:37 -07:00
Harshavardhana
e6fd52f026
Rename ifFatal and ifError as Fatal, Error
2015-08-03 22:19:45 -07:00
Harshavardhana
e003a242f6
Handle errors better with new changes, changes across cp, mirror, mb
2015-08-03 21:13:29 -07:00
Harshavardhana
e7dab5f1cf
Migrating from iodine to probe
2015-08-03 11:04:34 -07:00
Harshavardhana
16fdb569c9
Add copy and cast limited tests
2015-07-27 15:25:34 -07:00
Harshavardhana
847ef58642
Let target directory be created if doesn't exist with prefix path
2015-07-26 13:40:27 -07:00
Harshavardhana
0f3e494de4
Check for url's when target path doesn't have bucket, error out quickly
2015-07-26 12:12:46 -07:00
Harshavardhana
4eb519fa6c
Autogenerate config, for the first time no more config generate
2015-07-26 00:24:08 -07:00
Harshavardhana
1afc92cb49
Add cast syntax check logic
...
-- TypeA for both cast and copy targetURL check shouldn't fail it it doesn't exist
such is a common occurrence of not having a target, instead we verify if it exists
is it a directory?
-- Rename all 'directory' references to folder
2015-07-24 14:43:47 -07:00
Anand Babu (AB) Periasamy
9dd27c5e57
cp url syntax checker and some fixes
2015-07-24 12:24:21 -07:00
Harshavardhana
2f253f68b6
Verify if mc config exists for cp and cast commands
2015-07-23 22:49:12 -07:00
Harshavardhana
f06456ddd1
Make copy look like cast in URL handling
2015-07-23 20:34:31 -07:00
Harshavardhana
0f23c1a3d7
Add proper errors
2015-07-23 17:38:53 -07:00
Harshavardhana
56a725ef18
Handle cases where prefix exists or not for both cast and cp
2015-07-22 23:22:19 -07:00
Harshavardhana
71ed556dd0
Remove unncessary stat() checks for TypeC in cp and cast - fixes #803
2015-07-22 20:53:21 -07:00
Anand Babu (AB) Periasamy
7c2f3fbe4e
do not stat on url prepration. disable force flag
2015-07-21 19:13:10 -07:00
Anand Babu (AB) Periasamy
9f5f1e9a53
syntax checker for cast command
2015-07-18 19:25:10 -07:00
Harshavardhana
f8eaa96b1d
Add force flag support to avoid over-writing destination
2015-07-16 22:39:48 -07:00
Harshavardhana
7e0fce66e7
Formally now sync supports file and directories mix-match
2015-07-16 20:04:46 -07:00
Anand Babu (AB) Periasamy
54183d783b
rewrite of sync url processing
2015-07-16 19:29:33 -07:00
Harshavardhana
25ada41480
Implement NewIodine() in a simpler way
2015-07-15 18:39:17 -07:00
Harshavardhana
8fa80fbf37
Revert "Add mc top level error handling without printing stack traces."
...
This reverts commit ab4f64b5e3 .
2015-07-15 17:25:42 -07:00
Harshavardhana
ab4f64b5e3
Add mc top level error handling without printing stack traces.
2015-07-15 16:53:28 -07:00
Anand Babu (AB) Periasamy
6dcd73551c
Session V2 implementation for copy and sync
2015-07-12 20:47:49 -07:00
Harshavardhana
01b10bd4b1
Simplify target2Client and sourc2Client usage - use url2Stat()
2015-06-23 16:49:23 -07:00
Harshavardhana
9b901bac21
Fix sync bug when in TypeA and TypeB sync style source doesn't exist
2015-06-22 15:57:02 -07:00
Harshavardhana
dbb35c185a
Code cleanup and readability for mc
2015-06-16 14:17:01 -07:00
Harshavardhana
c04acf4d50
Convert all errors.New and fmt.Errorf to typed errors
2015-06-13 21:36:42 -07:00
Harshavardhana
d52bbf6134
Move away from using pointers for cpURLs
2015-06-11 19:03:33 -07:00
Harshavardhana
9a06671ac7
Make channels bufferred upto 10000 for cp and sync to fill in during prepareURLs stage
2015-06-10 17:26:58 -07:00
Harshavardhana
168926fa06
All methods use now target2Client, source2Client, url2Client helpers
2015-06-09 10:37:48 -07:00
Harshavardhana
e53f009a9d
More prefix url fixes, all combinations work as intended
2015-06-08 11:47:28 -07:00
Harshavardhana
6c7dbcaf4e
More prefix url cleanup
2015-06-07 02:55:29 -07:00
Harshavardhana
b999e08610
Make fs also consistent with s3 output
2015-06-06 11:58:52 -07:00
Anand Babu (AB) Periasamy
7d7f6c6bb2
handle recursive prefix properly for cp and sync as well
2015-06-05 22:15:24 -07:00
Harshavardhana
4709af19ab
Handle prefixed recursive behavior and mimick filesystem behavior
2015-06-04 19:50:56 -07:00
Anand Babu (AB) Periasamy
69dbb658e1
removed copy-same-object check and some cleanup
2015-05-30 15:43:32 -07:00
Harshavardhana
df176c30a8
Fix a nil reference remove erroneous usage of url.Parse() use client.Parse(), unexport progress() method
2015-05-27 15:32:17 -07:00
Harshavardhana
edb8381400
Refactor debugging output, implement --json output currently only supported on 'ls'
2015-05-21 22:30:32 -07:00
Harshavardhana
1c899e5059
Fix stat URL sent back on Stat()
2015-05-20 19:40:30 -07:00
Harshavardhana
dcccafacbe
Simplify listing recursively into one function, diff now supports <filename> <directory> style
2015-05-20 02:44:15 -07:00
Harshavardhana
c8a60e3781
Change diff command properly to send messages over channels
2015-05-20 00:56:10 -07:00
Harshavardhana
f8fdfced8f
If target exists skip for both sync and cp
2015-05-19 19:23:40 -07:00
Harshavardhana
fc660f1350
Simplify GetObject, PutObject to not use md5sum for now.
2015-05-19 12:29:52 -07:00
Harshavardhana
082bb23a71
Implement our own url.Parse with minimal functionality
2015-05-18 22:40:32 -07:00
Harshavardhana
9f17f4ff83
Rename copy to cp
2015-05-18 20:56:22 -07:00
Anand Babu (AB) Periasamy
90d4b452a9
Copy rewrite
2015-05-15 23:08:39 -07:00
Harshavardhana
e4a77c7391
Change minio-io to minio
2015-05-11 16:24:26 -07:00
Harshavardhana
8ffd8d0f26
User folder instead of directories in documentation
2015-04-28 12:15:09 -07:00
Harshavardhana
744ed7dcd1
Bring old documentation back
2015-04-28 11:03:34 -07:00