Commit Graph
44 Commits
Author SHA1 Message Date
Harshavardhana 25e5ea2574 Move to server package for probe 2015-08-10 19:49:57 -07:00
Harshavardhana c97c2a77b5 Move testing into its own <package>_test, add probe.NewError() new changes 2015-08-08 11:16:36 -07:00
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 e7dab5f1cf Migrating from iodine to probe 2015-08-03 11:04:34 -07:00
Harshavardhana 88bef1c60a Fix a config corruption bug when config.json has wrong json format, would lead to overwriting the previous config.json 2015-07-29 23:14:48 -07:00
Harshavardhana 5af70f5e49 Rename product to new convention 2015-07-24 18:23:12 -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
Harshavardhana f06456ddd1 Make copy look like cast in URL handling 2015-07-23 20:34:31 -07:00
Harshavardhana 56a725ef18 Handle cases where prefix exists or not for both cast and cp 2015-07-22 23:22:19 -07:00
Anand Babu (AB) Periasamy 69e27e8bbc improved cast 2015-07-21 18:34:11 -07:00
Anand Babu (AB) Periasamy 9f5f1e9a53 syntax checker for cast command 2015-07-18 19:25:10 -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
Harshavardhana 01b10bd4b1 Simplify target2Client and sourc2Client usage - use url2Stat() 2015-06-23 16:49:23 -07:00
Harshavardhana c04acf4d50 Convert all errors.New and fmt.Errorf to typed errors 2015-06-13 21:36:42 -07:00
Harshavardhana 4ddf93baa5 Make sure the AppVersion set is a proper formatted time string 2015-06-11 20:40:58 -07:00
Anand Babu (AB) Periasamy 9aaa614ff5 fixed syncronization bug in put targets function 2015-06-09 20:40:27 -07:00
Harshavardhana e76ac3978c Sync command now works 2015-06-09 11:41:26 -07:00
Harshavardhana 95f61bd6d4 Update all tests with new changes 2015-06-09 11:08:01 -07:00
Harshavardhana 168926fa06 All methods use now target2Client, source2Client, url2Client helpers 2015-06-09 10:37:48 -07:00
Anand Babu (AB) Periasamy 9b10c3fb68 Sync command 2015-06-08 22:58:28 -07:00
Harshavardhana 112adec910 Move everything from uint64 to int64 2015-06-03 22:22:03 -07:00
Anand Babu (AB) Periasamy d57fdd909f remove retry capability 2015-05-30 16:53:34 -07:00
Anand Babu (AB) Periasamy 69dbb658e1 removed copy-same-object check and some cleanup 2015-05-30 15:43:32 -07:00
Harshavardhana 947b2b8d67 Add barMsg to carry Error() method to purge erroneous size upon cp error 2015-05-25 12:41:57 -07:00
Harshavardhana edb8381400 Refactor debugging output, implement --json output currently only supported on 'ls' 2015-05-21 22:30:32 -07:00
Harshavardhana c8a60e3781 Change diff command properly to send messages over channels 2015-05-20 00:56:10 -07:00
Anand Babu (AB) Periasamy 726780c79d diff command for mc 2015-05-19 18:57:21 -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 9e508f0dfe Add windows related path handling, now recursive cp, sync works properly 2015-05-18 17:38:30 -07:00
Harshavardhana 78317836ec Use AddUserAgent function and make appropriate changes in mc 2015-05-18 16:54:00 -07:00
Harshavardhana 8a8fd82853 Remove dependency on url.Parse() use client.Parse implementation 2015-05-18 16:51:04 -07:00
Harshavardhana ff3d9fa815 Convert writers to Blocking readers 2015-05-17 02:30:19 -07:00
Anand Babu (AB) Periasamy 8823cec39d support string type natively within URLType 2015-05-16 13:01:14 -07:00
Anand Babu (AB) Periasamy 90d4b452a9 Copy rewrite 2015-05-15 23:08:39 -07:00
Harshavardhana cd93bfd251 Migrate mc s3 client code to objecstorage-go library, now all requests from mc are signature v4 authenticated 2015-05-13 19:05:31 -07:00
Harshavardhana e4a77c7391 Change minio-io to minio 2015-05-11 16:24:26 -07:00
Harshavardhana 1c4351979a Combine Get() and GetPartial to be GetObject() with offset and length parameters
- GetObject(0, 0) does a full download on the object
 - GetObject(n, m) does a partial download on the object at offset n upto length m
2015-05-11 15:02:45 -07:00
Harshavardhana 78a9f175e5 Revert "Remove MD5 requirement for ETag" - apparently we need it :(
This reverts commit 7103a9433b.
2015-05-08 15:00:41 -07:00
Harshavardhana 7103a9433b Remove MD5 requirement for ETag 2015-05-08 13:28:31 -07:00
Harshavardhana 607d86e5c3 Add few more tests 2015-05-02 14:04:29 -07:00