Harshavardhana
cf89d74561
Vendorize new minio-go code. ( #1891 )
...
This fixes #1889 .
```sh
mc mirror -w
```
Now runs continous even when the source is not available.
Reconnects indefinitely in a binomially increasing fashion
and also allows jitter so that the retry has a nice
distribution as well.
This allows for 'mc mirror -w' to run continously without
further monitoring.
2016-11-20 16:31:53 -08:00
Anis Elleuch
27526399f5
Vendorize new minio-go version as it brings new fixes ( #1867 )
2016-11-02 02:51:35 -07:00
Anis Elleuch
b45d48f4f1
Update minio-go library ( #1864 )
2016-10-26 16:39:23 -07:00
Bala FA
6de2b4559e
Refactor rm command. ( #1855 )
...
This patch makes rm command to use minio-go.RemoveObjects() to removeobjects recursively.
2016-10-17 20:24:09 -07:00
Harshavardhana
add7dcc763
vendor: Update minio-go deps with latest changes ( #1836 )
...
- PutObject() parallel uploads
- ListenBucketNotification API change.
- Other misc fixes.
2016-09-27 16:10:24 -07:00
Harshavardhana
6ce337ca38
Bring new fixes from minio-go related to PutObject and GetObject ( #1822 )
2016-09-09 02:11:53 +05:30
Anis Elleuch
8a48d604a8
Add policy list command ( #1811 )
2016-09-03 05:47:37 -07:00
Harshavardhana
939dad5900
Move the notify events to new package - rjeczalik/notify. ( #1807 )
...
* Move the notify events to new package - rjeczalik/notify.
* improving handling of notify events on linux specific (#3 ) @nl5887
2016-08-24 02:11:55 -07:00
Harshavardhana
22670acfbe
vendor: Update minio-go with new bucket policy changes.
2016-08-17 18:22:19 -07:00
Harshavardhana
a47c86c54c
mirror: Watch() for events based on session time. ( #1799 )
...
Enable notification if not already set, avoid overriding
or append to existing notification set - all of this
needs to be done to make this transparent.
2016-08-16 14:32:15 -07:00
Remco Verhoef
bc79fba49a
async replication support for mirror ( #1784 )
2016-08-13 12:39:21 -07:00
Anis Elleuch
9217553a3c
Vendorize minio-go 2.0 and make mc use ListObjectsV2 ( #1771 )
2016-07-20 17:06:15 -07:00
Harshavardhana
9ad19bfe52
vendorize: Add new changes from minio-go. ( #1766 )
2016-07-14 18:36:12 -07:00
Anis Elleuch
589c821f9b
progress: Switch to chegga pb ( #1764 )
2016-07-13 14:44:23 -07:00
Aakash Muttineni
6f4a0f9cbb
vendor: Bring new minio-go changes for bucket policy related bugs ( #1746 )
2016-07-04 10:35:15 -07:00
Krishnan Parthasarathi
3d7796f38c
Vendorize recent fixes to minio-go ( #1744 )
2016-06-29 17:49:09 -07:00
Aakash Muttineni
17468c8863
Vendor update ( #1739 )
2016-06-14 22:44:33 +05:30
Aakash Muttineni
f9efb67bc2
Minio-go vendor update ( #1734 )
2016-05-29 23:44:16 -07:00
Krishnan Parthasarathi
e5bc26c75a
Removed setting of http.Client Timeout for mc ( #1720 )
...
* Removed setting of http.Client Timeout for mc
Fixes #1719
* Moved mcDefaultTransport closer to use
* Set ResponseHeaderTimeout to 3 secs
* Vendored in changes from github.com/minio/minio-go
* Fixed CI build errors due to API changes, post vendoring
* Fixed unit tests w.r.t the change from insecure to secure in minio.NewV{2,4} API
2016-05-20 00:35:49 -07:00
Harshavardhana
959fa74ca5
profile: Add MC_PROFILER env supporting cpu, mem, block profiling. ( #1714 )
...
All profiled outputs are written inside `~/.mc/profile`
2016-05-10 19:10:59 -07:00
Harshavardhana
382aa26859
vendorize: New changes in minio-go. ( #1699 )
...
- Fixes listing bug with done channel.
- Fixes retry go-routine leak.
- Adds more to the list of network errors to retry safely.
2016-04-25 01:20:15 -07:00
Harshavardhana
c517833663
vendor: Vendorize minio-go
...
- Bucket policy fixes by Karthik Rao.
- China region fixes.
- Fixes a concurrent crash in Signature V2 code by Anis Elleuch.
2016-04-18 23:15:56 -07:00
karthic rao
3d04e56228
vendor: vendor updates for minio-go
2016-04-07 10:08:09 -07:00
Harshavardhana
69fbb9a87d
mc: Fix Golang version handling.
...
Migrate to a better go-version package to handle
version numbers. Default to 'go1.6' as minimum.
2016-04-02 02:51:27 -07:00
Krishna Srinivas
82d87111fc
vendor: vendor update minio-go. Increase http client timeout to 8 minutes.
2016-03-30 14:07:24 +05:30
Harshavardhana
9617f22fcd
pipe: Avoid double copy of buffers in minio-go
...
Disallows multiple copies being referenced internally leads
to OOM conditions on certain low memory devices and systems.
Fixes #1641
2016-03-27 20:08:57 -07:00
Harshavardhana
f4e8352f5a
access: Access policy command implemented.
...
This patch implements as decided..
To set a bucket policy.
```
mc access readonly s3/<bucket>
mc access readwrite s3/<bucket>
mc access writeonly s3/<bucket>
mc access none s3/<bucket>
```
To get a bucket policy.
```
mc access s3/<bucket>
```
2016-03-27 19:49:54 -07:00
Harshavardhana
49851c8795
vendor: Vendorize with new changes to minio-go
2016-03-13 03:22:39 -07:00
Karthic Rao
09495582c4
Adding Get() method to check on currentValue instead of totalFileSize
...
Adding vendor changes from minio-go and pb, aslo adding minio-go/retry.go changes to solve the race condition
2016-03-11 07:06:24 +05:30
Harshavardhana
ea8f5c0f33
windows: Add progress bar windows fixes.
2016-02-19 15:40:38 -08:00
Harshavardhana
fe5b2f97e3
fs/s3: move the code for fs and s3 out to the top-level.
...
Now the interface moves to the top level - fixes #1604
2016-02-16 11:27:42 -08:00
Super-User
5219fd59e8
porting: mc now properly works on solaris.
...
Fixes #1603
2016-02-15 15:03:40 -08:00
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