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
Harshavardhana
6f8bac1e95
Merge pull request #514 from harshavardhana/pr_out_add_listonchannel_for_fs_unix_windows_and_cmd_ls
2015-04-23 20:05:37 -07:00
Harshavardhana
972c476e36
Add ListOnChannel() for fs{unix,windows} and cmd-ls
2015-04-23 20:02:48 -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
431143f7d0
Merge pull request #508 from abperiasamy/win-ls-single-item-bug
2015-04-23 16:05:07 -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
Anand Babu (AB) Periasamy
1a83cf3c5c
do find style listing on windows as well
2015-04-23 16:02:16 -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
ef5b20dc2f
Merge pull request #505 from harshavardhana/pr_out_now_bucket_creation_requires_a_simple_cannedacls_to_start_with
2015-04-23 14:25:01 -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
Anand Babu (AB) Periasamy
0a50606cbd
fix dir listing bug and find style output
2015-04-23 12:50:31 -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
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