Harshavardhana
b4c70f1a95
Do not attempt Stat() for destination fixes copy to objectstorage bug
2015-04-24 14:02:29 -07:00
Harshavardhana
04fc519ce2
Merge GetObjectMetadata() into Stat(), now Stat() returns properly using FileType
...
FileType is going to be used to differentiate between directory, file/bucket, object respectively
2015-04-24 11:16:27 -07:00
Harshavardhana
4e05b59298
Implement access command
2015-04-24 02:09:27 -07:00
Harshavardhana
518fa8a2cf
Add buckets to have same coloring as directories
2015-04-23 22:44:05 -07:00
Anand Babu (AB) Periasamy
c09ce54090
console enhancements, consistent error message and janitor duty
2015-04-23 21:25:10 -07:00
Harshavardhana
9f97409362
Migrate fully to List() with channel everywhere, deprecate old List() API
2015-04-23 20:36:44 -07:00
Frederick F. Kautz IV
59356a443b
Merge pull request #511 from fkautz/pr_out_fixing_panic
2015-04-23 19:22:13 -07:00
Frederick F. Kautz IV
7b6f264529
Fixing panic
2015-04-23 19:07:27 -07:00
Harshavardhana
e6fea12bc2
Cleanup s3 API further
2015-04-23 18:57:30 -07:00
Harshavardhana
527b1ca96d
ListOnChannel() - now listbuckets and objects through channel replies.
...
Still doesn't do full recursive of all objects based on marker, that is the next step.
2015-04-23 18:01:12 -07:00
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