Harshavardhana
03248884de
Fix composite literal uses unkeyed fields
2015-03-22 20:14:53 -07:00
Harshavardhana
25969ef87a
Merge pull request #154 from harshavardhana/pr_out_more_cleanup
2015-03-22 20:04:54 -07:00
Harshavardhana
d1550045b3
Donut command
2015-03-22 20:03:39 -07:00
Harshavardhana
d1068168dc
Implementing client side donut
2015-03-22 20:03:32 -07:00
Harshavardhana
6e380c9247
Add support for /proc/self/mountinfo
2015-03-21 21:18:46 -07:00
Harshavardhana
4fceb5c496
Build fix go vet
2015-03-21 21:07:21 -07:00
Harshavardhana
bff62f5c11
Merge pull request #151 from harshavardhana/pr_out_add_partition_map_to_scsi_list
2015-03-21 19:51:54 -07:00
Harshavardhana
f52f2a7d0a
Add Partition map to scsi list
2015-03-21 19:51:36 -07:00
Anand Babu (AB) Periasamy
b855e37945
new config file format and some restructuring
2015-03-19 18:09:56 -07:00
Harshavardhana
e054fe651a
Merge pull request #148 from harshavardhana/pr_out_move_from_mini_minimalist_for_all_license_headers
2015-03-19 15:05:51 -07:00
Harshavardhana
3403ef08f7
Move from Mini --> Minimalist for all license headers
2015-03-19 15:05:30 -07:00
Harshavardhana
15c53d8399
Add scsi detection package for mc.
...
This is a generic usable package to be wired up with donut,
eventually facilitating functionalities like 'add-disk', 'remove-disk'
2015-03-19 15:00:54 -07:00
Harshavardhana
4067b0be18
Move s3errors and make it part of standard s3 package.
...
Also update 'resourceList' with additional resources from
amazon api.
2015-03-19 00:15:44 -07:00
Harshavardhana
3920afe120
Adding erasure package copying from github.com/minio-io/erasure
2015-03-17 19:37:10 -07:00
Harshavardhana
7fd77f522f
Remove unneeded Map allocation
2015-03-16 11:11:49 -07:00
Harshavardhana
537fa331ba
Move from fmt.Errorf to errors.New
...
In many cases fmt.Errorf is good enough, but since
error is an interface, you can use arbitrary data
structures as error values, to allow callers to
inspect the details of the error.
2015-03-15 19:52:35 -07:00
Harshavardhana
e8b2541603
x2j is deprecated - new-one is to use mxj
2015-03-15 18:16:23 -07:00
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