Harshavardhana
e1ed7c65e7
Fix a debug message in session close.
2016-11-20 18:41:12 -08:00
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
Harshavardhana
38aec4d875
mirror and cp should print size in --json mode. ( #1890 )
...
```sh
mc cp -r --json /usr/bin /tmp | jq .
...
...
{
"status": "success",
"source": "/usr/bin/gcm-viewer",
"target": "/tmp/bin/gcm-viewer",
"size": 87128,
"totalCount": 2602,
"totalSize": 677422730
}
```
This allows scripts to build progress around this data.
2016-11-20 14:46:24 -08:00
Harshavardhana
fa5a339434
Move to latest x/sys/unix for arm64 fixes. ( #1882 )
...
Related to fixes here golang/go#15393
2016-11-18 18:04:09 -08:00
Anis Elleuch
2895b0acca
Put() in client fs avoids reading from input reader when data is zero lengthy ( #1879 )
2016-11-08 16:59:23 -08:00
Anis Elleuch
ab9cdd7fce
Fix policy cmd syntax checking ( #1878 )
2016-11-08 13:32:27 -08:00
Anis Elleuch
cc6fa9acbf
Rename 'both' policy to 'public' ( #1877 )
2016-11-08 10:55:55 -08:00
Justin Clift
e14dcccd37
Adjust a help text line to match its example description ( #1869 )
2016-11-03 11:51:11 +05:30
Harshavardhana
8009e8108b
Validating signature type should be case insensitive. ( #1866 )
2016-10-28 10:50:43 -07:00
Anis Elleuch
b45d48f4f1
Update minio-go library ( #1864 )
2016-10-26 16:39:23 -07:00
Anis Elleuch
b9f1950320
Use correct share upload url ( #1863 )
2016-10-25 13:23:22 -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
Bala FA
0661f537cf
update help messages of all commands. ( #1856 )
2016-10-17 20:18:55 -07:00
Anis Elleuch
b737b2e7fc
Better error message when trying to monitor a non minio s3 provider ( #1854 )
2016-10-13 09:16:46 -07:00
Anis Elleuch
d9b3f276b8
Fix remote path calcuation when continuously mirroring fs dir to any target ( #1853 )
2016-10-10 13:03:40 -07:00
Anis Elleuch
53ab0168e4
Correct behavior of listing and removing empty directories ( #1851 )
...
* Listing empty directy returns empty entries
* Remove empty directories in rm cmd
2016-10-08 04:16:02 -07:00
Bala FA
75d55783c0
ls: fix incomplete listing for specific prefix ( #1849 )
...
Previously it was failing like below.
```
$ mc ls --incomplete myminio/mybucket
[2016-09-16 09:48:57 PDT] 576MiB 1.iso
$ mc ls --incomplete myminio/mybucket/1.iso
mc: <ERROR> Unable to initialize target ‘myminio/mybucket/1.iso’. Object key is missing, object key cannot be empty
```
This patch fixes this issue.
2016-10-04 17:19:05 -07:00
Anis Elleuch
f54e426bb1
Do not return S3 empty directories in recursive listing ( #1846 )
2016-10-01 21:32:22 -07:00
Harshavardhana
477461325d
update: Update link is printed automatically for RELEASE versions. ( #1840 )
...
This link is printed only for RELEASE versions when user doesn't
provide any sub commands.
Fixes #1839
2016-09-28 10:50:06 -07:00
Bala FA
3094af8a5e
rm: add timebased delete and object list from stdin ( #1837 )
...
* Add multi-delete support by taking object list from stdin
* Add support to `rm` to remove objects older than given time
* Add --prefix flag to differenciate prefix and target names.
Fixes #1827 #1828
2016-09-28 10:13:11 -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
Anis Elleuch
df7acbcad4
Upgrade go version requirement to 1.7.1 ( #1832 )
2016-09-25 12:13:35 -07:00
Anis Elleuch
15b91126d5
More meaningful error messages with unsupported filesystem operations (share and policy) ( #1833 )
2016-09-25 10:20:56 -07:00
Anis Elleuch
2b24a7b520
Avoid seeking os.Stdin in client-fs Put() ( #1834 )
2016-09-25 10:19:13 -07:00
Anis Elleuch
d0caa630af
isTargetURLDir() returns true for aliased URLs with empty object names ( #1805 )
2016-09-05 20:38:40 -07:00
Anis Elleuch
8a48d604a8
Add policy list command ( #1811 )
2016-09-03 05:47:37 -07:00
Anis Elleuch
80b0aa3842
Fix inefficient assignments reported by ineffassign ( #1817 )
2016-09-02 12:31:52 -07:00
Harshavardhana
c6a383590d
mc: Do not print accounting with '--json' ( #1815 )
2016-09-01 20:13:49 -07:00
Anis Elleuch
fd34958ffa
Add --insecure flag to skip certificate validation ( #1814 )
2016-09-01 18:36:00 -07:00
Anis Elleuch
530a34a3f3
Fix crash when parallel mc instances try to migrate session files at the same moment ( #1812 )
2016-08-29 18:58:25 -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
768be74f74
mirror: Fix progress bar for mirror server to server copy on same host.
2016-08-20 19:41:26 -07:00
Harshavardhana
a885ffd64b
mirror: Add missing events from mirror watch. ( #1804 )
2016-08-19 15:26:15 -07:00
Anis Elleuch
3a3bc2ffb1
Fix typo in default events parameter ( #1802 )
2016-08-18 10:59:42 -07:00
Harshavardhana
a30f0aca85
Add build-constants.
2016-08-17 18:30:01 -07:00
Harshavardhana
2ea2ec90d2
Rename mc --> cmd
2016-08-17 18:26:18 -07:00
Harshavardhana
deb889d2fb
Move donut cmd into ./mc
2015-03-23 14:15:16 -07:00
Harshavardhana
640d860616
Implement donutclient stub code, and other misc changes
2015-03-23 00:52:49 -07:00
Harshavardhana
d1550045b3
Donut command
2015-03-22 20:03:39 -07:00