Commit Graph
70 Commits
Author SHA1 Message Date
Harshavardhana 4ef3dcffc4 build: Now builds for all platforms and builds into 'release/experimental' directory.
Two Makefile options are

- make release
- make experimental

Currently supported OS and arch -

- linux/386
- linux/amd64
- linux/arm
- windows/386
- windows/amd64
- darwin/amd64
2016-02-09 14:18:35 -08:00
Harshavardhana f63de3cc30 mc: update to new changes in minio-go. 2016-02-07 18:03:32 -08:00
Harshavardhana 708f1e17f4 mc: Remove contentdb and use golang pkg/mime instead.
This is also because golang package sets proper 'charset's
for contentTypes. Also there is no reason for 'mc' to have
its own mimedb.
2016-02-06 10:43:57 -08:00
Harshavardhana 1dea194699 minio-go: Vendorize with new changes. 2016-02-05 23:10:09 -08:00
Harshavardhana 0236dcf780 rm: List wouldn't progress for files with special characters.
This patch addresses this problem - fixes #1591
2016-02-02 01:28:04 -08:00
Harshavardhana fc668edadf urlAlias: Handle forward slashes on windows.
On windows
```
> mc ls s3/ --> Fails
```

Since most of our examples talk about '/', we should handle
this cleanly for windows.
2016-01-27 14:34:12 -08:00
Harshavardhana 3a3dbb2722 minio-go: vendorize to new libs.
Fixes - #1579
2016-01-25 16:39:24 -08:00
Harshavardhana 9a40a67410 mc: Vendorize to new changes.
- Fix 0byte file uploads to be not uploaded as multipart.
- Fix bucket requests to have a '/' at the end
  for path style - fixes #1579
- Handle progress bar, if pb.Total is '0'.
2016-01-25 01:00:47 -08:00
Harshavardhana a769ce6439 mc: Vendorize to new API changes.
This vendorization uses the new set of API changes which
we are brought in.

With this new change Bucket regions are handled transparently
without any region lookup or local map. This makes overall code
seamless and easy to use.

Fixes - #1541 (cp corruption while uploading large files to s3)
Fixes - #1542 (cp checkCopySyntax failed)
Fixes - #1537 (regions will be handled seamelessly now for all buckets)
Fixes - #1538 (fixes access control policy for google cloud storage)
Fixes - #1547 (session resume completes without copying all the files)
Fixes - #1559 (poor network connectivity, causes timing out)
2016-01-23 23:53:27 -08:00
Harshavardhana 727538fa8c pkg/user: Bring user package from server and use it here in place of userCurrent. 2015-12-08 20:35:01 -08:00
Harshavardhana 36e7e42637 contentType: use contentDB package from server. 2015-12-04 16:28:26 -08:00
Harshavardhana 759fb1f079 signature-presign: new minio-go vendorized fixes #1515 2015-12-02 09:41:25 -08:00
Harshavardhana dbdcdff874 windows: internal multiparts should use platform specific tempfile location 2015-11-30 13:02:53 -08:00
Harshavardhana 3b7d63bbf3 region: Resolve region properly, if fails return the error.
Fixes #1503
2015-11-30 12:25:45 -08:00
Harshavardhana 4485529911 putTarget: Reintroduce size this time pipe can upload upto 5TB 2015-11-28 22:17:22 -08:00
Harshavardhana 1badfc8a04 :mc: resumable downloads and support incomplete files on file system. 2015-11-28 18:00:53 -08:00
Harshavardhana 5a30dadbe3 region: minio server and minio-go now honor 'us-east-1' as default region 2015-11-23 14:09:12 -08:00
Harshavardhana 7e5f4776ca minio/minio-go: re-vendorize with new changes
Fixes #1470
2015-11-21 19:22:40 -08:00
Harshavardhana 3c8afb2877 minio-go: Turn off calculating size for incomplete uploads.
Calculating sizes for large multipart uploads can get
really slower - disable it for now.
2015-11-18 20:46:42 -08:00
Harshavardhana 2349ebda6b cli: Remove the errant newline upon error printing.
Fixes #1354
2015-11-18 20:10:39 -08:00
Harshavardhana fa497d3811 quick: Sync() not turned of by default 2015-11-17 23:42:07 -08:00
Krishna Srinivas b745676a24 quick users atomic package to Save() #1390 2015-11-17 16:33:12 -08:00
Harshavardhana a218b3d2bc help: Print help flags properly 2015-11-16 16:02:13 -08:00
Harshavardhana 2320487dcb minio-go/vendor: Add proper return on 301 for all apis. 2015-11-16 12:31:45 -08:00
Harshavardhana 3fb6d7f1bd vendor/minio-go: Add proper error message for 301 Temporary redirect 2015-11-16 11:10:58 -08:00
Harshavardhana 7831917901 help: Re-write help style now each command has --help 2015-11-16 02:21:44 -08:00
Harshavardhana d9ecccaef2 cp/mirror: Now putObject does single Put for 0byte sized files
Fixes #1313
2015-11-14 23:29:09 -08:00
Krishna Srinivas 2ea16262e0 Fix to use single connection to the server 2015-11-13 19:55:26 -08:00
Harshavardhana 75f27fa74c url: simplify url handling in ls, cp, mirror 2015-11-13 19:38:15 -08:00
Harshavardhana d03681df74 vendor: setBucketRegion simplified and make it part of private config funtion 2015-11-13 02:10:52 -08:00
Harshavardhana 22051bb8af s3/gcs: now all combinations and permutations work for URLs with buckets in different regions.
- <bucket>.s3.amazonaws.com with <bucket> in us-west-2 re-writes
   the URL to s3-us-west-2.amazonaws.com.
 - <bucket>.s3-us-west-2.amazonaws.com doesn't need and translation,
   call goes directly to s3-us-west-2.amazonaws.com
2015-11-12 20:29:20 -08:00
Krishna Srinivas 4f9589ef79 vendor update for minio-go 2015-11-12 16:04:32 -08:00
Harshavardhana eb10e0e089 share: Fix share command for google cloud
Fixes #1282
2015-11-12 12:05:36 -08:00
Harshavardhana 6333935562 signature: Fix a bug in signature v2 2015-11-10 00:26:30 -08:00
Harshavardhana 03e9fa70dd minio-go: update to new version of minio-go
This change comes with wider re-structure inside minio-go and lots
of code cleanup.
2015-11-09 23:03:45 -08:00
Harshavardhana 8273192dcf signature: Update new minio-go, bring in comprehensive Signature support 2015-11-06 23:46:16 -08:00
Harshavardhana 8de841cd69 list: Move incomplete as last argument.
implement args.Head() to handle this case smoothly.
2015-11-06 16:17:15 -08:00
Harshavardhana ae447a96ad Update probe with new changes and setAppInfo for probe 2015-10-25 11:05:12 -07:00
Harshavardhana 079becd49e Update minio-go-legacy, now mc fully supports Google Cloud Storage - fixes #1185 2015-10-23 20:41:08 -07:00
Anand Babu (AB) Periasamy 48adfcdcd8 updated probe 2015-10-23 17:35:21 -07:00
Krishna Srinivas 513ab017b9 Rename DropIncompleteUpload to RemoveIncompleteUpload 2015-10-21 22:25:27 -07:00
Harshavardhana 1eb171544f Implement mc ls incomplete s3/bucketname 2015-10-19 22:28:34 -07:00
Krishna Srinivas 2a3b201457 vendor update minio-go-legacy 2015-10-19 15:09:44 -07:00
Krishna Srinivas 7f7e4cc330 vendor update minio-go 2015-10-19 15:09:44 -07:00
Harshavardhana f85e8827e1 Migrate mc package to minio-xl from minio/minio repo for probe/quick 2015-10-17 00:24:14 -07:00
Harshavardhana ee212e5b52 Relax strict ETag requirement for Get and Head requests 2015-10-13 17:22:51 -07:00
Harshavardhana 0f8f5ae6b6 Fix mc share download for special character encoding
mc share download would fail to generate or generate a wrong signature
for a URLs with special unencoded characters.

This issue was limited to signature v2.
2015-10-13 10:14:26 -07:00
Harshavardhana ccf7613e87 Fix an infinite loop bug
While doing recursive listing of objects and object prefixes which have
non encoded characters for example ``++`` leads to S3 sending same replies
for all subsequent ``ListObjects()`` request. Essentially leading to an
infinite loop.
2015-10-12 10:49:54 -07:00
Krishna Srinivas 6ff16c0a0e vendor update for minio-go-legacy 2015-10-08 17:28:37 -07:00
Harshavardhana 16d489fa3b Anticipating streaming input vendorize changes from minio-go, minio-go-legacy.
Progressbar doesn't add to Total value if its a streaming input, this provides
us infinite progress bar.
2015-10-08 15:26:05 -07:00