Commit Graph
63 Commits
Author SHA1 Message Date
Harshavardhana 33dbf0e16c Return proper err back from Put() through response
This still doesn't fix the issue of progress bar completion, since there are no
Closers() involved for progress bar and multiwriter. A Write() wouldn't fail
for a 403 if the. So io.CopyN has no way to reply back proper error.
2015-04-23 16:02:24 -07:00
Harshavardhana 45951e3f13 Ignore signRequest for Get() and GetPartial() if accesskeys are empty, missed from previous commit 2015-04-23 14:27:57 -07:00
Harshavardhana c120a5853d Now bucket creation requires a simple CannedACLs to start with
$ ./mc mb <acl_type> <target>
2015-04-23 14:22:48 -07:00
Harshavardhana 4e53814cc3 Add bucket ACL support 2015-04-23 12:10:51 -07:00
Anand Babu (AB) Periasamy 16e8cec82a field specific color theme 2015-04-23 01:02:17 -07:00
Harshavardhana e4b122ee9d A parial fix for #496, strip down objectPrefixes during List() 2015-04-22 13:58:48 -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 6adb5e5217 Move getHostConfig() outside of getNewClient(), waiting on new qConfig to simplify this further 2015-04-21 01:14:28 -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 e728cd9857 Add 'isValidRetry()' to retry for only network level errors 2015-04-19 22:46:00 -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
Harshavardhana 4b50a2bac3 Error messages simplified now with reason - fixes #286 2015-04-18 16:46:26 -07:00
Harshavardhana 1f9136ffc5 Print proper errors message received on the wire from any Object Storage 2015-04-17 20:54:24 -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 97511ca6b8 Enhance GetObjectMetadata() to return ETag as well, precursor to "recursive" cp 2015-04-16 00:51:53 -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 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 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
Harshavardhana a812c862e1 Build fix 2015-04-10 17:33:59 -07:00
Harshavardhana 51bb8f199b Add file client 2015-04-10 17:06:41 -07:00
Frederick F. Kautz IV 3fa6695142 Fix build break 2015-04-09 23:38:28 -07:00
Frederick F. Kautz IV a7b082a676 Minor cleanup of pkg/client code 2015-04-09 23:34:20 -07:00
Frederick F. Kautz IV e55ff6a337 Updating s3 timestamp, works with RFC3339 2015-04-09 20:19:35 -07:00
Frederick F. Kautz IV 4f4e472856 Removing more unused functions and variables 2015-04-08 23:21:05 -07:00
Harshavardhana 6e9fe6dc56 mc client interface now provides typed errors 2015-04-08 22:21:01 -07:00
Frederick F. Kautz IV bf3182ac6b Running goimports 2015-04-08 21:01:18 -07:00
Harshavardhana 8ea467294f iodine deps now coming in from minio-io/pkg/iodine 2015-04-08 18:19:51 -07:00
Harshavardhana abd2bd729b Update documentation 2015-04-08 17:02:50 -07:00
Harshavardhana bb1324148f Revert "Get rid of client interface and move s3 back into a struct"
This reverts commit 4a2facfa7b.
2015-04-08 16:18:20 -07:00
Harshavardhana 4a2facfa7b Get rid of client interface and move s3 back into a struct 2015-04-08 16:06:25 -07:00
Harshavardhana 5dd77e770f Fix typo 2015-04-08 13:58:25 -07:00
Harshavardhana e279da678f Cleanup s3 client, iodize it as well 2015-04-08 13:56:20 -07:00
Frederick F. Kautz IV 4fb394c982 go files now conform to gimports 2015-04-06 12:56:10 -07:00
Harshavardhana f2c6faec66 Length of items to be zero in ListObjects is a valid case 2015-04-05 23:46:17 -07:00
Anand Babu (AB) Periasamy d7a12dcef4 Simplify ListObject API 2015-04-05 01:29:13 -07:00