Commit Graph
3056 Commits
Author SHA1 Message Date
Harshavardhana 0a42e2969a Relax access/secret key requirements as minio server. (#1894)
Also add tests in the process.
2016-11-24 12:10:28 -08:00
Harshavardhana b51e6b0485 Fix downloading files with exact ranges requested in client FS. (#1892)
This is due to the fact that ReadAt() will not send io.EOF
when reading past the offset, server instead returns
Range error. Handle the error by only reading until the
requested size.
2016-11-21 02:53:24 -08:00
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
Royce Remer 23f0a27acc we removed GOINSTALL.md some time ago, point at new minio docs withe same instructions (#1888) 2016-11-18 18:37:38 -08:00
Royce Remer 447cb7a726 fix regex comparator for GOROOT (#1887) 2016-11-18 18:37:16 -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
Dee Koder 7a295dd5fa bugfix: Remove sh tag for mc list of commands (#1881) 2016-11-15 15:42:08 -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
Anis Elleuch 27526399f5 Vendorize new minio-go version as it brings new fixes (#1867) 2016-11-02 02:51:35 -07:00
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
koolhead17 01f0c35651 docs: Added newly introduced sub-commands, flags with example. (#1850) 2016-10-07 08:45:17 -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.
RELEASE.2016-10-07T01-56-22Z
2016-10-04 17:19:05 -07:00
koolhead17 f03aaef72f docs: modified the guide to add Minio reference instead AWS S3. (#1847) 2016-10-03 00:10:14 -07:00
Anis Elleuch f54e426bb1 Do not return S3 empty directories in recursive listing (#1846) 2016-10-01 21:32:22 -07:00
koolhead17 5b94ddc703 docs: Added note on mc mirror -w that it is minio only command. (#1842) 2016-09-30 09:13:15 -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
koolhead17 b404c7583b docs: added newly introduced --insecure global option. (#1823) 2016-09-08 13:42:28 -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 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
koolhead17 90093b5d8c Doc: Added install instructions via brew package manager for Mac. (#1810) 2016-08-29 18:48:22 -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
Dee Koder 85717527d9 docs: Fix capitalization in heading (#1808)
fixes https://github.com/minio/cookbook/issues/71
2016-08-22 11:58:01 -07:00
Harshavardhana 768be74f74 mirror: Fix progress bar for mirror server to server copy on same host. RELEASE.2016-08-21T03-02-49Z 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
koolhead17 e25f1ee72f Doc: Replaced HTML table to Markdown in minio-client-complete-guide.md (#1801) 2016-08-19 13:46:13 -07:00
Harshavardhana 6e943832d5 doc: Add missing '--watch' example for 'mirror' command. 2016-08-19 02:37:18 -07:00
Anis Elleuch 3a3bc2ffb1 Fix typo in default events parameter (#1802) 2016-08-18 10:59:42 -07:00
Harshavardhana 90a421e4af Fix windows builds. 2016-08-18 00:41:41 -07:00