Anis Elleuch
372e905dad
s3: Enforce virtual host style with China endpoint ( #2153 )
2017-05-11 09:19:12 -07:00
Harshavardhana
7027211e58
docs: Fix bash_autocomplete download link ( #2150 )
2017-05-10 09:10:04 -07:00
Harshavardhana
f0ccc91890
fs: Allow copying to special files if possible. ( #2146 )
...
Fixes #2145
2017-05-03 11:21:02 -07:00
Anis Elleuch
136e286ef4
mb: Update pkg to retry mb with unmatched region ( #2139 )
2017-04-29 00:34:26 -07:00
Anis Elleuch
e54962e17f
mb: Add -p flag to ignore existing bucket/dir ( #2143 )
...
If a remote directory/bucket exists, -p will still make mb cmd
happy if the target already exists.
2017-04-28 13:13:44 -07:00
Marco Liceti
39aa635971
Added configure section with note for Docker users ( #2141 )
2017-04-26 13:50:32 -07:00
Anis Elleuch
61e511cc3e
fs watch: Use a dynamically sized channel ( #2109 )
...
Write a growing/shrinking channel to be able to absorb filesystem
notify events even when they come in large numbers.
2017-04-24 01:01:11 -07:00
Scott McClellan
dd9e715599
Improved Error Msg For Bucket Names that Contain non-LOWERCASE chars ( #2134 ) ( #2135 )
2017-04-22 22:15:27 +01:00
Harshavardhana
9bdb7affb1
build: Fix add macOS source work-around for Go bug. ( #2138 )
...
Upstream bug https://github.com/golang/go/issues/19734
Fixes #2137
2017-04-20 22:42:10 +01:00
Anis Elleuch
9a881562b9
watch: Fix regression in watch local fs events ( #2133 )
2017-04-18 12:43:09 -07:00
Anis Elleuch
656f4f13d0
session: Close data session file when migrating ( #2126 )
...
Cleanup needed before removing the data file
2017-04-18 12:37:54 -07:00
Scott McClellan
9eb967cabf
minor fixes to mc share download command ( #2106 )
...
improved error messages and issue with `--recursive` option.
Fixes #2099
2017-04-17 17:37:11 -07:00
Anis Elleuch
1bf5ac350f
madmin: Update and adapt mc to new lib changes ( #2131 )
2017-04-16 20:42:55 -07:00
Anis Elleuch
313d0a358f
cp: Set exit status to 1 for any error ( #2127 )
...
Non fatal errors during copy were not setting mc exit code with 1. This
commit fixes the behavior.
2017-04-15 00:20:13 -07:00
Peter Tribble
81f3ffa3af
Fix solaris build ( #2122 )
2017-04-12 19:55:02 +02:00
Harshavardhana
9ea42680b0
watch/events: Add eventInfo struct for brevity. ( #2120 )
2017-04-11 09:08:04 -07:00
Harshavardhana
018bcbf629
cli/docs: Fix all cli docs to be consistent in terms of usage. ( #2119 )
...
ALIAS should be called as TARGET for all cli commands.
2017-04-11 12:06:02 +01:00
koolhead17
0733d37c67
docs: Fix brew command to install mc. ( #2121 )
2017-04-11 00:26:05 -07:00
Harshavardhana
b0968e29e8
watch/events: Support events on Get/Head operations as well. ( #2116 )
...
Fixes #2073
2017-04-10 11:50:52 -07:00
Harshavardhana
fac4ef81b2
docs: Fix README.md to reference edge container. ( #2118 )
2017-04-09 10:43:47 -07:00
Harshavardhana
e494e138fe
docs: Fix README.md to point to new homebrew tap ( #2114 )
2017-04-07 03:39:56 -07:00
Anis Elleuch
5805a37d27
alias: Support underscore in alias name ( #2113 )
...
my_minio will be supported.
2017-04-05 14:53:57 -07:00
Anis Elleuch
ad04a6fcc4
heal: Fix help text ( #2111 )
2017-04-05 13:58:54 -07:00
Krishnan Parthasarathi
7084a4361e
Replace admin-heal-list with admin-heal --fake ( #2101 )
...
* Replace admin-heal-list with admin-heal --fake
* Improve admin-heal message for partial healing
* Vendorize pkg/madmin changes to include improved messaging for
partial healing of objects/uploads.
* Modify message strings to include additional heal result information
like number of disks where heal was successful.
2017-04-03 12:16:21 -07:00
Anis Elleuch
a009299433
Revert "trace: Avoid httputil for less memory consumption ( #2102 )" ( #2104 )
...
This reverts commit eafa942a30 .
2017-04-02 14:02:35 -07:00
Anis Elleuch
1c038760ce
vendor: Update minio-go package ( #2103 )
...
New minio-go commits are introduced:
sigv2: Do not encode canonical sub-resource value (#636 )
Core.PutObject takes md5 and sha256 sums (#635 )
allow bucket location responses with empty Message (fixes #629 ) (#630 )
listen: Add support for HEAD/GET bucket events (#634 )
docs: Remove extra space from code blocks (#632 )
docs: Remove extra space from code blocks. (#631 )
Implement a new NewWithRegion() API for static region. (#627 )
Fix table syntax for SetBucketPolicy parameters (#628 )
Changes needed for implementing "minio gateway s3" (#623 )
Typo in variable name (#625 )
api: Support encryption for Put/Get Object (#613 )
api/retry: Support connection retry for Dial timeout. (#622 )
2017-04-02 04:47:42 -07:00
Anis Elleuch
eafa942a30
trace: Avoid httputil for less memory consumption ( #2102 )
...
Rewrite tracing without httputil since it consumes memory with
requests that have huge data.
2017-03-31 11:17:55 -07:00
Krishnan Parthasarathi
05468dfc8d
Improve admin subcommand structure ( #2098 )
...
- Rename password subcommand to credentials
- Make clear-lock require --force flag
- Also, fix lock and heal mc-admin subcommand usage text.
2017-03-31 01:12:00 -07:00
Scott McClellan
ff7ed00714
Fix for issue #2093 NAME: ( #2100 )
...
mc share list COMMAND - List previously shared objects and folders.
COMMAND:
upload: list previously shared access to uploads.
download: list previously shared access to downloads.
USAGE:
mc share list COMMAND
EXAMPLES:
1. List previously shared downloads, that haven't expired yet.
$ mc share list download
2. List previously shared uploads, that haven't expired yet.
$ mc share list upload help text misleading...
2017-03-30 18:39:35 -07:00
Anis Elleuch
3c0094a5fe
diff: Change output UI ( #2097 )
...
Use >, < and ! marks to represent differences between
source and destination.
2017-03-29 15:51:29 -07:00
Anis Elleuch
923c0e24b1
share: Download shares the url of exact prefix ( #2096 )
...
When recursive flag is not specified, share download will only
generate download urls for the object which has the exact same
prefix.
2017-03-29 14:43:24 -07:00
Harshavardhana
3b57e86cd3
cli: Add bash and zsh autocomplete ( #2095 )
...
Fixes #2094
2017-03-28 16:57:13 -07:00
Harshavardhana
1a6987558a
admin: Hide help sub-command from 'mc admin service' ( #2091 )
2017-03-26 10:30:35 +01:00
Dee Koder
a15d54c4a8
docs: Removed space from code blocks. ( #2087 )
2017-03-23 19:07:02 -07:00
koolhead17
3c4c1222d8
docs: fix for README.md Markdown table. ( #2082 )
2017-03-23 09:14:35 -07:00
Anis Elleuch
250def49d5
madmin: Update package ( #2084 )
...
This brings up the following fix:
https://github.com/minio/minio/commit/181e002c56d6df84576038bab94079c3f1cdf718
Besides, this PR adds removes an uneeded line in admin cmd output.
2017-03-22 20:44:37 +01:00
Anis Elleuch
b1e3d147f5
ls: Fix listing incomplete entries result ( #2081 )
...
This also factors common code used by several types
of listing routines, by creating a filtering channel
of results returned by these channels.
e.g. Filter out incomplete uploads or vice versa
2017-03-21 10:34:43 -07:00
Anis Elleuch
6c89b81d7b
fs: Remove handling of specific windows symlinks ( #2080 )
...
Go has fixed the problem of dealing with junction files
(https://github.com/golang/go/issues/9190 ). This commit
simplifies the code of client fs
2017-03-20 15:51:28 -07:00
Anis Elleuch
7c7969ed55
admin heal: Support for uploads healing ( #2076 )
...
mc admin heal supports --incomplete flag to list and heal uploads.
2017-03-20 13:56:52 -07:00
Anis Elleuch
29920f8c9c
fs stat(): Return dir stat with incomplete flag ( #2078 )
...
fs.Stat() returns an error when the path corresponds to
a directory and incomplete flag is enabled. This PR follows
S3 client behavior and fixes the behavior.
2017-03-20 11:06:43 -07:00
Bala FA
9ebb916902
Use words package from minio for DamerauLevenshteinDistance() ( #2075 )
2017-03-19 18:25:22 -07:00
Harshavardhana
4369359286
policy/links: Do not list prefixes in recursive mode. ( #2070 )
2017-03-14 19:41:26 +01:00
Harshavardhana
1dab94c625
Split config-host into remove, list, add commands ( #2069 )
...
This PR also adds convenient aliases for
- remove as `rm`
- list as `ls`
- add as `a`
Also brings much needed cleanup.
2017-03-11 18:50:56 -08:00
Harshavardhana
6c0f804f32
vendor update minio-go with new fixes. ( #2068 )
2017-03-11 00:48:24 +01:00
Anis Elleuch
7991f67863
vendor: Update minio-go to bring #620 fix ( #2067 )
...
https://github.com/minio/minio-go/pull/620
2017-03-10 00:14:17 +01:00
Anis Elleuch
22ab1c4901
vendor: Update minio-go to bring #619 fix ( #2066 )
...
https://github.com/minio/minio-go/pull/619
2017-03-09 22:15:34 +01:00
Krishna Srinivas
53cb92038a
Set secretKeyMaxLen = 100 to accomodate azure's account-key length. ( #2054 )
2017-03-08 16:53:04 -08:00
Harshavardhana
4425378b37
mc: Code cleanup after running gosimple tool ( #2065 )
2017-03-08 10:48:45 +01:00
Anis Elleuch
7fda78af40
info: Add sqs ARNs to the output ( #2063 )
2017-03-07 03:13:49 -08:00
Anis Elleuch
6e8320a6dc
cp: Fix guessing if target url is a directory ( #2062 )
...
This fixes `mc cp /etc/issue/ /tmp/new_dir/` where
/tmp/new_dir/ doesn't exist yet.
2017-03-07 02:56:14 -08:00