poornas
e538599e2f
Add mc rb command to remove empty bucket ( #2662 )
...
Change mc rm --recursive behavior to
delete objects in bucket but not the
bucket itself.
Fixes #2635
RELEASE.2019-02-20T22-21-50Z
2019-02-16 20:12:38 -08:00
Anis Elleuch
4b62f520e8
Add support of bash completion ( #2592 )
...
Users of bash/zsh will have completion config enabled in the next
shell session start. This commit provides completion for commands
and all subcommands, their flags and completion of filesystems paths,
mc aliases, buckets and prefixes.
2019-02-14 22:17:43 +05:30
Anis Elleuch
bc1a108e5c
pb: Do not exceed the specified total transfer bytes ( #2685 )
...
mc, via minio-go, can retries some requests for many reasons, such as, network
disconnect. This commit ensures that the progress bar does not show transfered
bytes greater then the total transfered bytes to avoid confusing users.
RELEASE.2019-02-13T19-48-27Z
2019-02-13 11:02:00 -08:00
Anis Elleuch
38965dd432
mirror: Proper exit when preparing diff returns an error ( #2681 )
...
A bad synchornization between startMirror() and its caller mirror() happens when preparing the difference of objects between source & target returns an error: mirror() quits when it receives an error from startMirror() without give a chance for that latter to properly stop the parallel mirror manager.
This PR will:
1. Quit mirroring when listing returns an error: this means calculating diff needs to stop and no further action needs to be taken since it can be dangerous especially when --remove flag is passed.
2. Properly stop parallel mirroring manager before quitting.
2019-02-12 14:28:38 -08:00
Eco
30491f369d
Update mc quickstart guide with PPC binary link ( #2677 )
2019-02-11 21:51:40 -08:00
Eco
1941a2532a
Update mc admin guide with PPC binary link ( #2676 )
...
fixes #2644
2019-02-12 10:26:36 +05:30
Harshavardhana
3a22044471
Vendorize all the latest dependencies with go mod ( #2674 )
2019-02-08 18:32:17 -08:00
kannappanr
da3e027145
Strip trailing separator in URL in config host add ( #2680 )
...
Also, in the case of find command for existing configs that has a
trailing separator in the URL, trim the separator from the URL.
Fixes #2645
2019-02-07 21:10:38 -08:00
Sidhartha Mani
7bc792e745
Add json pretty print ( #2661 )
...
Enable jq style color output in github.com/minio/mc/pkg/json
- Drop in replacement of encoding/json
- Bold struct keys in blue
- Strings in green
- Numbers in default color
- Indenting and spacing matches exact jq specifications
Additionally, color coding needs '\x1b[...m' to be whitelisted in encoding/json's parser
RELEASE.2019-02-06T20-26-56Z
2019-02-05 11:52:33 +05:30
Sidhartha Mani
939e1006cc
add mc admin monitor command ( #2657 )
2019-02-02 22:44:21 +05:30
Harshavardhana
57faed2725
Add go mod support and update dependencies ( #2668 )
2019-01-31 20:37:08 -08:00
Harshavardhana
f9a6d70bc0
Add IAM docs about AWS S3 users ( #2667 )
2019-01-31 15:39:29 -08:00
kannappanr
e3854b077a
List oldest locks currently used in a distributed XL setup ( #2549 )
2019-01-31 12:37:04 -08:00
poornas
75a36b4831
Change mc config host list format to record style ( #2659 )
RELEASE.2019-01-30T19-57-22Z
2019-01-28 16:52:50 -08:00
Praveen raj Mani
30965763d6
Support setting of custom policies from a JSON file ( #2649 )
...
Fixes #2633
2019-01-28 13:30:31 -08:00
kannappanr
e940856fee
Vendorize minio-go ( #2660 )
RELEASE.2019-01-25T23-38-19Z
2019-01-25 15:19:04 -08:00
Harshavardhana
07169d421e
Add sql docs ( #2658 )
2019-01-24 15:56:09 -08:00
Anis Elleuch
a5ea937df2
mirror: Fix double printing of remove object msg ( #2639 )
...
Mirror code depends on rm code which naturally prints delete messages,
this PR will make mirror uses its own delete code since it is simple
enough to do.
Also add size information to remove message
2019-01-24 07:13:46 -08:00
kannappanr
539cd245d6
ls: Add Stat call to determine bucket/directory ( #2656 )
RELEASE.2019-01-24T01-40-23Z
2019-01-23 17:17:35 -08:00
Harshavardhana
ede0911de2
Support parquet select implementation ( #2643 )
2019-01-22 11:13:58 -08:00
Harshavardhana
733d3c5d54
Avoid making Stat calls on listing ( #2650 )
2019-01-22 16:02:56 +05:30
Harshavardhana
0854af6e6d
Migrate to mitchellh/go-homedir from minio/go-homedir ( #2641 )
...
We don't use this fork of ours anymore and we don't need
to maintain it anymore as we haven't made any significant
changes to upstream code or fixed bugs.
RELEASE.2019-01-10T00-38-22Z
2019-01-08 00:23:51 -08:00
Harshavardhana
d8d3a3dec1
Remove incorrect OutputSerialization
2019-01-07 03:08:41 -08:00
Harshavardhana
59ef9fe468
Support SSE without keys ( #2626 )
2019-01-04 11:56:43 -08:00
Harshavardhana
9ddc45162a
Add new vendored minio-go ( #2638 )
...
Fixes https://github.com/minio/mc/issues/2610
2019-01-02 16:42:06 -08:00
Harshavardhana
bda754d07f
Migrate to go1.11.4 for CI builds ( #2634 )
2018-12-28 16:47:22 -08:00
Anis Elleuch
124b9fa4d9
Avoid remove freeze when server returns an error ( #2631 )
...
Minio can return during deletion sometimes, like missing quorum,
but mc can block in that case. The reason is that Remove() in
client-s3 doesn't actively listen for errors reported by minio-go
RemoveObjects() API because that would also block this latter.
2018-12-27 17:38:17 -08:00
Harshavardhana
45578f0ed2
Implement head command ( #2630 )
2018-12-27 13:17:44 -08:00
Praveen raj Mani
4e7eeb0725
Ignore broken symlink durring mirror ( #2607 )
...
Fixes #2604
RELEASE.2018-12-27T00-37-49Z
2018-12-21 13:38:12 -08:00
KnutAtteslander
f0309e33e1
Fix typo in admin-user-add.go ( #2629 )
2018-12-20 06:56:50 -08:00
Anis Elleuch
8964876217
error msgs: Add punctuations when needed ( #2628 )
...
This commit will automatically add ':' or '.' after scanning
the generic and the detail error messages. This will simplify
maintaining error messages.
RELEASE.2018-12-19T22-58-03Z
2018-12-18 23:18:28 -08:00
Harshavardhana
e3b84ac010
With bracket characters in URL, curl requires globbing turned off ( #2627 )
...
This PR fixes an issue present when curl commands
are used with IPv6 SERVER_ENDPOINTs
2018-12-17 20:38:27 -08:00
Harshavardhana
d541a7f6ef
Add support for IPv6 endpoint in functional tests ( #2622 )
2018-12-12 17:43:48 -08:00
Praveen raj Mani
69f967b3f3
mc mirror should not stop incase of errors (#2624 )
...
Fixes #2623
RELEASE.2018-12-12T19-02-22Z
2018-12-12 10:48:48 -08:00
Harshavardhana
1bb64f0bf0
Fix typo policies to policy ( #2621 )
2018-12-09 11:21:27 -08:00
Harshavardhana
2073642656
Allow copying file onto itself ( #2617 )
...
This allows encrypting an unencrypted file
using server side CopyObject API.
2018-12-06 10:18:16 -08:00
Harshavardhana
f3eaa54a32
Breaking change --config-folder is now --config-dir ( #2620 )
RELEASE.2018-12-05T22-59-07Z
2018-12-05 14:10:36 -08:00
Harshavardhana
a91204ea6f
Fix typos in complete and README.md ( #2616 )
RELEASE.2018-11-30T01-52-08Z
2018-11-29 16:52:53 -08:00
Harshavardhana
5117f74fce
Allow empty objects to be uploaded ( #2613 )
2018-11-28 17:14:07 +05:30
Harshavardhana
57414cbb6e
Add in-place update feature ( #2605 )
2018-11-26 20:04:55 +05:30
Harshavardhana
24d4c28aa9
Pass query down on all objects when recursive ( #2603 )
2018-11-20 08:45:01 +05:30
Harshavardhana
cb4f46854b
Fix command line names and documentation ( #2602 )
2018-11-19 17:19:53 -08:00
Harshavardhana
0992c3a50d
Fallback detecting filetype from magic numbers ( #2598 )
2018-11-16 07:45:46 -08:00
Zachary Zhao
c5eaa30253
Change USERNAME to ACCESSKEY and PASSWORD to SECRETKEY ( #2594 )
...
Since `ACCESSKEY/SECRETKEY` is common knowledge for S3 user,
we should make it clear to avoid confusing people.
2018-11-13 18:19:00 -08:00
Harshavardhana
6faac81eb0
Remove all unused dependencies ( #2599 )
2018-11-13 15:52:12 -08:00
kannappanr
2fc5413002
Fix: Remove local file during a mirror operation ( #2593 )
...
Fixes #2586
2018-11-09 13:31:15 -08:00
Kale Blankenship
8137e79d0c
Close readers returned by Client.Get ( #2595 )
...
Change Client.Get to return an io.ReadCloser instead of io.Reader
so that it can be closed.
2018-11-08 17:02:14 -08:00
Harshavardhana
b827fac635
Fix help message usage for some commands ( #2591 )
RELEASE.2018-11-06T01-12-20Z
2018-11-05 10:37:33 -08:00
Harshavardhana
4479667d4c
Allow resuming and stopping an active heal operation ( #2584 )
2018-11-04 19:25:14 -08:00
Harshavardhana
9226796558
Fix a typo in config set success message ( #2588 )
2018-11-01 16:46:44 +05:30