Harshavardhana
1dea194699
minio-go: Vendorize with new changes.
2016-02-05 23:10:09 -08:00
Krishna Srinivas
4569e519c5
Merge pull request #1598 from harshavardhana/query
...
rm: List wouldn't progress for files with special characters.
2016-02-02 15:17:04 +05:30
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
Krishna Srinivas
5e5ad3367d
Merge pull request #1597 from harshavardhana/progress-bar
...
progressBar: Finish progress bar if total is greater than 0
2016-02-02 14:54:59 +05:30
Harshavardhana
744b4728d1
progressBar: Finish progress bar if total is greater than 0
...
In case of 'mc mirror' => mc prints an erroneous progress bar
with 0bytes.
```
mc mirror /usr/local/Cellar/go/1.5.3/libexec play/test123/libexec
0 B / ? ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░▓ 0.00 % 0
```
This patch fixes #1592
2016-02-01 13:36:23 -08:00
Anand Babu (AB) Periasamy
f811b029b1
Merge pull request #1595 from harshavardhana/path-url
...
url: Error out if the aliased URL has host entry.
2016-02-01 11:44:10 +01:00
Harshavardhana
8b77f918b3
url: Error out if the aliased URL has host entry.
...
```
mc ls http://localhost:9000/
```
ends up listing `mc ls /`, This is confusing and should be
treated as an error, allow only aliased operations.
2016-02-01 02:41:04 -08:00
Anand Babu (AB) Periasamy
c5453d1528
Merge pull request #1590 from harshavardhana/url
...
urlAlias: Handle forward slashes on windows.
2016-01-27 23:21:48 -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
Anand Babu (AB) Periasamy
01b0928989
Merge pull request #1588 from harshavardhana/handle-paths
...
cp/mirror: Handle path constructions properly across operating systems.
2016-01-26 18:27:13 -08:00
Harshavardhana
0a4fce57cf
cp/mirror: Handle path constructions properly across operating systems.
...
```
mc cp -r localhost\testbucket\bin C:\destination
```
Following syntax is supposed to copy only 'bin' inside C:\destination.
Due to url construction issues this leads to 'testbucket' instead being
copied as the top level directory.
With this fix the url construction becomes more cross platform friendly.
2016-01-26 18:21:34 -08:00
Anand Babu (AB) Periasamy
257321c425
Merge pull request #1587 from harshavardhana/fix-listing-order
...
ls: Make recursive and non-recursive behave the same way
2016-01-26 18:16:27 -08:00
Harshavardhana
3b5dcd478a
ls: Make recursive and non-recursive behave the same way
...
Outputs for recursive today
```
$ mc ls -r /tmp/value/
[2016-01-25 12:27:01 PST] 52B test.go
[2016-01-26 11:36:22 PST] 4.2KiB test.txt
[2016-01-26 11:45:22 PST] 102B test/
[2016-01-26 11:45:22 PST] 4.2KiB test/README.md
```
and Outputs for non recursive today differ lexically.
```
$ mc ls /tmp/value/
[2016-01-26 11:45:22 PST] 102B test/
[2016-01-25 12:27:01 PST] 52B test.go
[2016-01-26 11:36:22 PST] 4.2KiB test.txt
```
To fix this issue we need to capture the ending '/' as
well part of the names while sorting the output. This
patch addresses this problem.
2016-01-26 18:11:24 -08:00
Anand Babu (AB) Periasamy
5c52a0adae
Merge pull request #1586 from harshavardhana/ls-truncate
...
ls: On windows truncate the directory prefixes properly.
2016-01-26 00:29:19 -08:00
Harshavardhana
d572648261
ls: On windows truncate the directory prefixes properly.
...
Fixes #1585
2016-01-25 21:34:16 -08:00
Anand Babu (AB) Periasamy
85e8b542de
Merge pull request #1583 from harshavardhana/make-bucket
...
re-vendorize minio-go with new URL handling changes
2016-01-25 16:55:45 -08:00
Harshavardhana
3a3dbb2722
minio-go: vendorize to new libs.
...
Fixes - #1579
2016-01-25 16:39:24 -08:00
Krishna Srinivas
47cd83c71c
Merge pull request #1582 from harshavardhana/add-missing
...
update: Add missing '/' from update url.
2016-01-25 23:19:04 +05:30
Harshavardhana
700f261b86
update: Add missing '/' from update url.
...
Fixes #1581
2016-01-25 09:39:56 -08:00
Anand Babu (AB) Periasamy
3f3adb1858
Merge pull request #1580 from harshavardhana/re-vendorize
...
mc: Vendorize to new changes.
2016-01-25 01:04:34 -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
Anand Babu (AB) Periasamy
cfac37f53b
Merge pull request #1544 from harshavardhana/merge-vendorize
...
mc: Vendorize to new API changes.
2016-01-23 23:57:59 -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
951067295e
Merge pull request #1575 from fwessels/master
...
Added alias argument for adding host with config
2016-01-18 08:58:33 -08:00
frankw
bd97054b93
Added alias argument for adding host with config
2016-01-18 14:02:34 +01:00
Harshavardhana
796d36083d
Merge pull request #1573 from vadmeste/did_you_mean
...
Add Damerau Levenshtein algo to suggest more alternatives to mistyped…
2016-01-13 12:57:19 -08:00
Anis Elleuch
acc4b97483
Add Damerau Levenshtein algo to suggest more alternatives to mistyped commmands
2016-01-13 21:32:23 +01:00
Harshavardhana
d92a93566b
Merge pull request #1572 from vadmeste/host_add_api_optional
...
Make API argument in config host add cmd optional
2016-01-10 11:18:21 -08:00
Anis Elleuch
244d377f0a
Make API argument in config host add cmd optional
2016-01-10 14:47:48 +01:00
Harshavardhana
e958557d28
Merge pull request #1571 from vadmeste/fix_error_reporting_issue
...
Fix ls error msg
2016-01-09 09:52:35 -08:00
Anis Elleuch
3b35f44eba
Fix ls error msg
2016-01-09 15:46:52 +01:00
Anand Babu (AB) Periasamy
c26c61d3c4
Merge pull request #1570 from harshavardhana/diff-alias
...
diff/mirror: Handle aliases properly now.
2016-01-08 21:27:11 -08:00
Harshavardhana
b347137d88
diff/mirror: Handle aliases properly now.
2016-01-08 21:24:07 -08:00
Anand Babu (AB) Periasamy
99e12696eb
Merge pull request #1569 from harshavardhana/rm-all
...
rm: Fix alias URL handling in rm.
2016-01-08 20:59:17 -08:00
Harshavardhana
f01dc5b60c
rm: Fix alias URL handling in rm.
2016-01-08 20:51:28 -08:00
Anand Babu (AB) Periasamy
50240b0a1e
Merge pull request #1568 from harshavardhana/mirror
...
mirror/cp: Remove aliases from being printed in json output. - fixes #1563
2016-01-08 19:23:14 -08:00
Harshavardhana
11b286c149
mirror/cp: Remove aliases from being printed in json output. - fixes #1563
...
Additionally save expanded targetURL also part of session.
2016-01-08 18:44:39 -08:00
Harshavardhana
fa87ad6b37
Merge pull request #1566 from vadmeste/subcommands_has_help_flag
...
Emphasize that subcommands have a help flag
2016-01-08 11:09:26 -08:00
Harshavardhana
dd50ad532e
Merge pull request #1565 from koolhead17/patch-4
...
Update README.md
2016-01-08 10:32:09 -08:00
Anis Elleuch
31b07812cb
Emphasize that subcommands have a help flag
2016-01-08 19:14:47 +01:00
koolhead17
e59ba922bd
Update README.md
...
minor change with adding "--help" option
2016-01-08 23:38:34 +05:30
Harshavardhana
008a5f00de
Merge pull request #1564 from abperiasamy/as60-exit-bug
...
return non-zero exit code in case of session failure
2016-01-08 10:00:19 -08:00
Anand Babu (AB) Periasamy
8a91ec65ce
return non-zero exit code in case of session failure
2016-01-08 09:55:13 -08:00
Harshavardhana
35cdba2204
Merge pull request #1561 from vadmeste/trivial_fixes
...
Trivial fix of cmd error message, the same for missing dependencies in checkdeps.sh
2016-01-07 15:04:52 -08:00
Anis Elleuch
664f982833
Trivial fix of cmd error message, the same for missing dependencies in checkdeps.sh
2016-01-07 22:49:47 +01:00
Harshavardhana
c08ebb25cd
Merge pull request #1558 from abperiasamy/cache-client
...
cache and re-use minio S3 client
2015-12-31 17:22:53 -08:00
Anand Babu (AB) Periasamy
f7cdbc2583
cache and re-use minio S3 client
2015-12-31 17:02:08 -08:00
Harshavardhana
d47faa3256
Merge pull request #1556 from koolhead17/patch-3
...
Update INSTALLGO.md
2015-12-29 23:52:36 -08:00
koolhead17
9cd535a6cd
Update INSTALLGO.md
...
minor fix.
2015-12-30 12:14:35 +05:30
Harshavardhana
b6fe0d2529
Merge pull request #1555 from abperiasamy/config-v7
...
new alias style and numerous cleanups.
2015-12-28 15:35:21 -08:00