Commit Graph
102 Commits
Author SHA1 Message Date
Harshavardhana e4b122ee9d A parial fix for #496, strip down objectPrefixes during List() 2015-04-22 13:58:48 -07:00
Harshavardhana 7ec954a78b Fix a crash on windows when source is malformed 2015-04-22 13:20:02 -07:00
Harshavardhana 957ab79328 Fix a typo, pushing it in 2015-04-22 11:59:56 -07:00
Harshavardhana 3af75c8aba Make default client type as Filesystem 2015-04-22 11:53:27 -07:00
Harshavardhana 24ba355be7 Merge pull request #493 from harshavardhana/pr_out_fix_error_path_variable_on_windows 2015-04-22 11:27:03 -07:00
Harshavardhana 60ec7d2713 Fix error path variable on Windows 2015-04-22 11:24:36 -07:00
Harshavardhana dc200a62fc Disallow `bucket` creation with uppercase letters 2015-04-22 01:22:22 -07:00
Harshavardhana 0eaf7ec5b4 Handle errors properly, also remove need for normalizing path on windows 2015-04-22 00:17:01 -07:00
Harshavardhana e3c1b8eabc Fix ListCmd() MakeBucketCmd() for multi target 2015-04-21 16:29:33 -07:00
Anand Babu (AB) Periasamy 5a7b8da98d replace net/url parser with simple filepath parsing 2015-04-21 16:05:16 -07:00
Harshavardhana b42d3a3af7 Implement simple authkey and console tests 2015-04-21 01:14:28 -07:00
Harshavardhana 6adb5e5217 Move getHostConfig() outside of getNewClient(), waiting on new qConfig to simplify this further 2015-04-21 01:14:28 -07:00
Harshavardhana d7e4be17b0 Windows fixes for Get(), GetObjectMetadata() and List() 2015-04-20 18:04:17 -07:00
Harshavardhana ccd63ab302 Add filesystem Windows support, also cannot reproduce #281 anymore - fixes #281 2015-04-20 16:15:21 -07:00
Frederick F. Kautz IV 33869c524a Renaming StatBucket to Stat 2015-04-20 12:47:11 -07:00
Harshavardhana a4c1d26ccb Implement fsClient tests - fixes #433 2015-04-20 02:34:06 -07:00
Harshavardhana e728cd9857 Add 'isValidRetry()' to retry for only network level errors 2015-04-19 22:46:00 -07:00
Harshavardhana 51032e9773 Fix incomplete progressBar problem, we should proactively .Finish() progressbar - fixes #452
Previously wouldn't flush out remaining data, it would work for Object Storage
Get()/Put() due to invariable delays and overhead.
2015-04-19 21:40:48 -07:00
Harshavardhana 8bc587b8cf Now clients only take URLs - fixes #425
- Interface change, takes only minimal arguments
 - Passing URLs all the way down
 - Bucket and Object awareness only at per client level
2015-04-19 19:39:02 -07:00
Frederick F. Kautz IV 445508c1b0 Adding more tests 2015-04-18 19:00:12 -07:00
Harshavardhana 8606a7db9b Move major url handling into client as part of #425 2015-04-18 17:29:01 -07:00
Harshavardhana 4b50a2bac3 Error messages simplified now with reason - fixes #286 2015-04-18 16:46:26 -07:00
Harshavardhana e58844ead5 Make all lexical paths file:///<path> ../<path> <path>/../../<path - behave similar - fixes #419
./mc ls, ./mc mb, ./mc cp supported and overall code simplification
2015-04-18 14:24:33 -07:00
Harshavardhana 1f9136ffc5 Print proper errors message received on the wire from any Object Storage 2015-04-17 20:54:24 -07:00
Frederick F. Kautz IV 1daee3e076 Adding more mocks 2015-04-17 20:04:54 -07:00
Harshavardhana 5d1ec28e9d Bring MultiPartUpload interface stubs 2015-04-16 23:44:47 -07:00
Harshavardhana 378314a3a7 Move retry to try() 2015-04-16 20:52:30 -07:00
Harshavardhana 1f230fb2ce Now newReq() doesn't panic inside, returns err properly - use iodine 2015-04-16 20:17:18 -07:00
Anand Babu (AB) Periasamy 90f853a00f Modern Copy to Mini Copy 2015-04-16 20:13:52 -07:00
Harshavardhana f6463dec1f Implement GetPartial() for fsClient, and renamed files _unix.go as we bring in windows specific support 2015-04-16 17:36:42 -07:00
Harshavardhana 31e873faf6 Implment recursive upload and download - fixes #372 #373
- currently only supports single target
2015-04-16 02:05:00 -07:00
Harshavardhana 97511ca6b8 Enhance GetObjectMetadata() to return ETag as well, precursor to "recursive" cp 2015-04-16 00:51:53 -07:00
Harshavardhana 473013dd17 Support PutBucket() for fsClient to do subdirectories 2015-04-14 22:30:15 -07:00
Frederick F. Kautz IV dbcf66a5e8 Fix for list objects permissions should be in walk itself, not after walk. Fixes #364. 2015-04-14 14:16:49 -07:00
Frederick F. Kautz IV b5cf534915 fs driver ignores directories and files it has no access to 2015-04-14 14:01:03 -07:00
Frederick F. Kautz IV 33c939f8b4 Merge pull request #356 from fkautz/pr_out_renaming_statobject_to_getobjectmetadata 2015-04-13 11:44:46 -07:00
Frederick F. Kautz IV c9b01650fd Renaming StatObject to GetObjectMetadata 2015-04-13 11:44:39 -07:00
Harshavardhana 539b073147 StatBucket() should honor http.StatusMovedPermanently returned by S3 2015-04-13 04:13:39 -07:00
Harshavardhana 35a3af3d38 Implement blockingWriter for fsClient just like s3 2015-04-13 04:12:38 -07:00
Harshavardhana 8b811f6ac9 Update license headers to Modern Copy (C) 2015-04-12 16:00:50 -07:00
Harshavardhana 93c9011861 Separate out Put() operation for readablity, rename functions SourceReader and TargetWriters 2015-04-12 15:53:26 -07:00
Frederick F. Kautz IV 20c83f53ce Fix build 2015-04-12 11:35:39 -07:00
Frederick F. Kautz IV c479b3833f s3 put writer now blocks on close 2015-04-12 11:26:05 -07:00
Frederick F. Kautz IV 5528ebdf71 Minor cleanup from refactoring 2015-04-11 21:32:25 -07:00
Frederick F. Kautz IV 7550571ece Refactoring copy and put to work with writers instead of readers 2015-04-11 21:30:24 -07:00
Harshavardhana aa0c4ac256 Merge pull request #336 from harshavardhana/pr_out_all_commands_now_work_with_fs_client_fixes_290
All commands now work with fs client - fixes #290
2015-04-11 20:55:41 -07:00
Harshavardhana 3914036db4 All commands now work with fs client - fixes #290 2015-04-11 20:53:53 -07:00
Anand Babu (AB) Periasamy e49cb08c5e rfc compliant user-agent 2015-04-11 20:38:46 -07:00
Anand Babu (AB) Periasamy e7a2699ab2 minio client becomes modern copy 2015-04-11 17:11:38 -07:00
Harshavardhana afca8b620a Move from file to fs and finish ListObjects() - add test stubs 2015-04-11 17:02:35 -07:00