Harshavardhana
f8fdfced8f
If target exists skip for both sync and cp
2015-05-19 19:23:40 -07:00
Anand Babu (AB) Periasamy
726780c79d
diff command for mc
2015-05-19 18:57:21 -07:00
Harshavardhana
1aaf37cb87
S3/Minio now take different types of encoded characters
2015-05-19 16:40:34 -07:00
Harshavardhana
e0e52cfe05
Cleanup fs tests
2015-05-19 12:37:23 -07:00
Harshavardhana
fc660f1350
Simplify GetObject, PutObject to not use md5sum for now.
2015-05-19 12:29:52 -07:00
Harshavardhana
dad7af0fe3
Improve and use regexp for Scheme validation
2015-05-19 11:18:22 -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
dfcb5bd729
Update to new changes in objectstorage-go
2015-05-17 13:28:57 -07:00
Harshavardhana
ff3d9fa815
Convert writers to Blocking readers
2015-05-17 02:30:19 -07:00
Harshavardhana
de92f4ef31
Print proper error messages for cp
2015-05-16 18:42:22 -07:00
Harshavardhana
ab6fe3e95a
Update to new changes in objectstorage-go
2015-05-16 17:12:36 -07:00
Harshavardhana
8f8b442075
Now cp and sync work for objectstorage URLs
2015-05-16 16:39:55 -07:00
Harshavardhana
45760226f3
Fix region handling inside client/s3
2015-05-16 15:18:34 -07:00
Anand Babu (AB) Periasamy
8823cec39d
support string type natively within URLType
2015-05-16 13:01:14 -07:00
Harshavardhana
4f8052b67c
Merge pull request #619 from harshavardhana/pr_out_fix_consistency_of_ls_output
2015-05-16 12:40:44 -07:00
Harshavardhana
bae89e2632
Couple of bug fixes in cp command for objectstorage
2015-05-16 12:28:04 -07:00
Anand Babu (AB) Periasamy
0a25574101
removed cp-methods.go and renamed files with underscore
2015-05-16 02:35:04 -07:00
Harshavardhana
5709e10e8e
Merge pull request #614 from minio/cp-changes
2015-05-15 23:10:06 -07:00
Anand Babu (AB) Periasamy
90d4b452a9
Copy rewrite
2015-05-15 23:08:39 -07:00
Harshavardhana
f8531ea6ec
Update to new changes in objecstorage-go
2015-05-15 22:15:38 -07:00
Harshavardhana
fb6808b754
Ignore multipart object Etag string, amazon doesn't guarantee them to be md5sum of the object
2015-05-15 14:03:37 -07:00
Harshavardhana
21943d6416
Close open files in fs_put, this leads to too many open files
2015-05-15 13:54:58 -07:00
Harshavardhana
f4983de475
Do not add region for mc, since mc treats with URLs not regions
2015-05-13 20:12:13 -07:00
Harshavardhana
e4f9152bcd
If Object size is 0, treat it like a directory for object storage
2015-05-13 19:36:54 -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
e57e6de098
Add new option for bucket ACL named `authenticated-read`
...
This provides read access to all users who are part of AuthenticatedUsers group
~~~
$ mc access authenticated https://s3.amazonaws.com/bucketname
~~~
2015-05-08 21:12:32 -07:00
Harshavardhana
5a69d76b93
Set X-Amz-Date properly for mc
2015-05-08 16:09:25 -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
ab76d6d0f6
Now listObjectsRecursive() does more than just 1000keys
2015-05-05 01:40:28 -07:00
Harshavardhana
dc86452713
Minor change use .Write() instead of io.WriteString()
2015-05-02 22:23:45 -07:00
Harshavardhana
5023b37850
Fix signature calculation bug
2015-05-02 19:56:58 -07:00
Harshavardhana
26c09aeba7
Simplifying further and couple of bugs fixed
2015-05-02 16:01:52 -07:00
Harshavardhana
f4f691f2af
Remove deps on aws-sdk we use our own
2015-05-02 12:00:07 -07:00
Harshavardhana
beab21d3fe
xml to abstract map is not necessary, we should just use struct based
2015-05-02 11:46:35 -07:00
Harshavardhana
766dbfa559
"unstruct client functions"
...
Original-Author: Anand Babu Periasamy <ab@minio.io >
2015-05-02 11:41:30 -07:00
Harshavardhana
78a78c072a
Full cleanup of s3 client for mc
2015-05-02 11:28:31 -07:00
Harshavardhana
a74dce0412
bucketFromHost() was buggy remove it, we have better ways to grab bucketNames
2015-04-30 21:00:28 -07:00
Harshavardhana
7fe1c4af97
Relax the requirement for AccessKey for listbuckets() for non amazonaws requests
2015-04-30 16:39:10 -07:00
Harshavardhana
c4d954b614
Access validation only for ListBuckets(), all others do not explicitly require Auth verification
2015-04-30 14:05:50 -07:00
Harshavardhana
9833697e0a
Add more fixes and helpful messaging
...
- check for config file for each command, prior to error out properly
- hostconfig doesn't do any key verification, let client s3 verify it as needed
- mc update change URL pointed to dl.minio.io minio server, still not functional yet
2015-04-30 14:03:06 -07:00
Harshavardhana
47e9a48577
objectURL in s3Client should construct PathStyle URL for non amazon hosts
2015-04-28 23:45:59 -07:00
Harshavardhana
5ca4280ea0
Handle symlink appropriately with mc ls for filesystem
2015-04-28 23:26:17 -07:00
Harshavardhana
1e38777fd2
Add documentation for update, and use PathStyle for play.minio.io for now
2015-04-28 19:45:05 -07:00
Harshavardhana
8ffd8d0f26
User folder instead of directories in documentation
2015-04-28 12:15:09 -07:00