Harshavardhana
9da373b16d
Do not upload already uploaded objects.
...
fix another bug in Get() and GetPartial()
2015-03-15 17:45:29 -07:00
Harshavardhana
ccc01e5523
Merge pull request #127 from harshavardhana/pr_out_build_fix_use_bucketfromhost
2015-03-15 16:43:46 -07:00
Harshavardhana
b2e638105b
Build fix use bucketFromHost
2015-03-15 16:43:27 -07:00
Anand Babu (AB) Periasamy
0ba286c359
s3 error handling package
2015-03-15 16:39:00 -07:00
Harshavardhana
bbe0fc5303
Add key and bucket name handling for s3 properly
2015-03-15 14:12:11 -07:00
Harshavardhana
427e38d837
New changes coming
...
- moving away from improper s3:// URI to standard http URI's
- migrate and test all commands ./mc ls, ./mc cp, ./mc cp -r
- move s3-trace.go s3/pkg/trace.go, make it part of S3 package
and document it.
- various other cleanup.
2015-03-15 01:05:54 -07:00
Harshavardhana
8fd4e4a0bb
Refactor ./mc cp with various modes of operation
...
- First mode of operation supports with style `Path` `S3Path` or `Path` `S3Bucket`
- Second mode of operation supports with style `S3Path` `Path` or `S3Path` `.`
- Third mode of operation supports with style `S3Path` `S3Path` or `S3Path` `S3Bucket`
2015-03-12 19:12:19 -07:00
Anand Babu (AB) Periasamy
a5d8fc114c
s3 generic validator and some improvements to httptrace
2015-03-12 18:27:40 -07:00
Anand Babu (AB) Periasamy
2dcf5a0390
HTTP trace code vet'ed
2015-03-11 01:24:39 -07:00
Anand Babu (AB) Periasamy
09f72d6f2b
improved httptrace framework
2015-03-11 01:24:39 -07:00
Anand Babu (AB) Periasamy
ba0fdcaa33
httptrace first commit
2015-03-11 01:24:39 -07:00
Harshavardhana
d8328e1d0f
Now ./mc cp supports resume download
2015-03-10 20:31:48 -07:00
Harshavardhana
306ddac9a7
Add strict build with vet, fmt, golint
2015-03-10 01:58:58 -07:00
Harshavardhana
d690de5c45
Change name from xmlFormat to actual understandable name `iso8601Format`
2015-03-10 01:50:32 -07:00
Harshavardhana
ab01be0e3c
Split xmltime to new file and update licensing information
2015-03-08 19:18:50 -07:00
Harshavardhana
f21dc1a990
Code cleanup and simplification
...
- Print in human-readable not amazon format
- Send stat() before accessing object, error gracefully
- Move client and bucket API operations to their own files
- Remove unused functions, constants and variables
- Rename API operations to sensible names
* GetBucket --> ListObjects
* Buckets --> ListBuckets
2015-03-08 18:47:45 -07:00
Anand Babu (AB) Periasamy
196a334823
xmltime for bucket response as well
2015-03-08 17:33:55 -07:00
Anand Babu (AB) Periasamy
e74834745f
xml encoded to native Time.time
2015-03-08 16:59:54 -07:00
Harshavardhana
8830b92080
Simplify ./mc ls
2015-03-08 13:02:15 -07:00
Harshavardhana
d1ce84d26e
Md5 b64 encoding was wrong, fix it
2015-03-07 16:35:42 -08:00
Harshavardhana
f21af8ce8c
Calculate md5sum for every object during Put()
2015-03-07 15:00:52 -08:00
Harshavardhana
46ac2ec707
If hostname IP's ignore subdomains
2015-03-07 02:47:46 -08:00
Harshavardhana
c35ad418aa
User net/url and remove uri implementation
2015-03-05 01:59:54 -08:00
Harshavardhana
c1af2ccf67
Code cleanup and standardizing in accordance with Golang coding guidelines
2015-03-05 01:18:00 -08:00
Harshavardhana
97f3016fee
Fixed ./mc sync <dir> bug exposed after previous changes
2015-03-04 02:29:07 -08:00
Harshavardhana
d7a9407a87
Previous fix was incomplete move the '/' around to signature consistency
2015-03-04 01:20:28 -08:00
Harshavardhana
9910cbaabc
Now cp works properly with AmazonS3
2015-03-04 01:15:30 -08:00
Harshavardhana
12b3a6bda8
Handle subdomains properly
2015-03-03 16:18:12 -08:00
Harshavardhana
696577067b
Create bucket shouldn't use domain style, put bucket is a special case
2015-03-03 16:09:31 -08:00
Harshavardhana
e39e26bdea
Add delimiter and prefix support for 'ls'
2015-02-28 15:43:04 -08:00
Harshavardhana
861e305604
Add support for marker, delimiter, prefix
2015-02-26 19:19:49 -08:00
Harshavardhana
cd519cec33
Implement basic 'mc sync' command
...
Usage:
- ./mc sync docs
-- Creates a bucket named ``docs``
-- Copies all the files with in ``docs``
2015-02-25 02:09:07 -08:00
Harshavardhana
4a832b2919
Build fix
2015-02-24 17:39:41 -08:00
Harshavardhana
6b685b744f
Complete ls command it supports now
...
- ./mc ls
[... list buckets ... ]
- ./mc ls your-bucket
[... list objects ... ]
- ./mc ls your-bucket/object
[date size object]
2015-02-24 17:36:04 -08:00
Harshavardhana
f3ed11a363
Add s3pathstyle boolean to check for path v/s subdomain requests
2015-02-24 14:13:28 -08:00
Harshavardhana
c0bdcad429
Move Hostname to Endpoint, remove md5sum calculation for now.
2015-02-24 13:57:23 -08:00
Harshavardhana
0c85a8f748
Minior change
2015-02-10 03:12:31 -08:00
Harshavardhana
516631d388
Secretkey should be SecretAccessKey
2015-02-10 03:08:00 -08:00
Harshavardhana
231f0c3efb
Squash minio package into s3 package
2015-02-08 18:01:05 -08:00
Harshavardhana
0298c3ddf6
Never send request with trailing '/' for buckets
2015-02-06 20:39:58 -08:00
Harshavardhana
43451eff68
Rename SecretAccess to Secret to be more appropriate
2015-02-06 02:16:35 -08:00
Harshavardhana
b41278d4e7
Now minio client can access minio server through HMAC style authentication
2015-02-06 01:36:47 -08:00
Harshavardhana
fe3b013532
Disable TLS for now
2015-02-05 21:30:35 -08:00
Harshavardhana
170f9bc9c7
Remove CACerts requirement
2015-01-30 16:23:23 -08:00
Harshavardhana
ed0a7e3c40
Minio client now has SSL support
2015-01-29 15:11:41 -08:00
Harshavardhana
deb11c2e32
Remove BucketLocation() function, minio does not implement such a resource
2015-01-28 15:36:27 -08:00
Harshavardhana
741febd318
Add minio cli, move 's3' stuff with 's3' prefix
2015-01-22 12:38:02 -08:00
Harshavardhana
a8f0a7463f
Differentiate commands and subcommands
2015-01-21 23:14:02 -08:00
Harshavardhana
870faa6093
Implement new simple minio client
2015-01-21 15:29:48 -08:00
Harshavardhana
3e5f2322df
Implement 'mkdir'
2015-01-20 15:45:25 -08:00