Bala FA
a5014a8c71
trie: use trie package in minio. ( #2010 )
2017-02-10 19:28:45 -08:00
Anis Elleuch
ad850412d2
lock: Update madmin pkg and use duration flag name ( #1994 )
...
* Use new errors format returned madmin APIs
* Use duration query name in Locks API
2017-02-01 12:19:27 -08:00
Harshavardhana
9d7529118e
Add build support for pine64 ( #1987 )
...
Also update notify package with new fixes.
2017-01-25 13:37:06 -08:00
Anis Elleuch
507e7672c2
madmin: Update vendorized management API ( #1986 )
...
Update to fix an ListObjectsHeal() issue
2017-01-25 22:30:21 +01:00
Anis Elleuch
38c3703d08
admin: Heal format in heal command ( #1980 )
2017-01-24 15:05:32 -08:00
Anis Elleuch
caf6bfb76f
admin: service status uses new response format ( #1979 )
...
server & service fields are added to JSON response
2017-01-23 17:01:21 -08:00
Anis Elleuch
0e1e954768
Add new admin Heal command ( #1958 )
...
e.g.: `mc admin heal list myminio/` and `mc admin heal myminio/testbucket`
Also, some heal files that belong madmin package have been added
2017-01-22 15:19:06 -08:00
Anis Elleuch
6b2e63e66c
locks: Use new json format for list/clear results ( #1975 )
...
Also minio-admin package has been updated
2017-01-19 12:07:45 -08:00
Harshavardhana
6a7ca4311e
cli: update with urfave/cli changes ( #1968 )
2017-01-16 10:41:56 -08:00
Anis Elleuch
7cec8f2285
Add admin lock command ( #1942 )
2017-01-06 01:29:49 -08:00
Harshavardhana
853fea16b4
Enable support for s3 transfer acceleration. ( #1946 )
...
Simply use
```
mc config host add s3-accel https://s3-accelerate.amazonaws.com <access_id> <secret_id>
```
This is all is needed, if you have buckets which has s3 acceleration
enabled it just works transparently.
Fixes #1912
2017-01-05 01:36:01 -08:00
Anis Elleuch
e90e9bc352
admin: Introduce the new service command ( #1922 )
...
Introducing Admin Service cmd to mc
2016-12-22 13:37:55 -08:00
Harshavardhana
782352ae56
mirror/cp/pipe: Preserve metadata while copying s3 to s3. ( #1927 )
...
Fixes #1923
2016-12-14 20:06:52 -08:00
Anis Elleuch
81abbca12f
Vendorize new minio-go version ( #1905 )
2016-12-02 16:36:34 -08:00
Harshavardhana
df395786bd
mc: Consistent exit codes across all commands. ( #1895 )
...
Also brings in much needed CLI changes from
upstream and backporting our custom changes on
top of those changes.
Fixes #1880
2016-11-27 12:35:59 +05:30
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