This PR brings following changes
- Brings streaming support for mc uploads.
- Brings support for copying objects upto 5TiB
as a consequence of ComposeObject implementation
in minio-go.
* client: Avoid returning metadata with Get()
client-s3.Get() calls Stat() method because Get() is supposed to return
object metadata. This PR makes a change in client interface so metadata
is returned in Stat() method. This is beneficial for us to avoid calling
HEAD method in S3 when run `mc cat`
* cat: Ignore Stat() returned error
In case of cache gateway, HEAD objects returns 404 even though
objects are gettable. This PR ignores Stat() error since its
purpose in case of cat is to check if the download object size
is equal to what the server announced.
Currently `mc mirror` requires source to be
uploaded only if the size is different than the
object on remote server. This PR adds support to
check for last modified time of the source object
as well such that we upload if there are timestamp
differences as well.
Fixes#2187
New host list format when listing several hosts
```
myminiopublic : http://localhost:9000
myminios : https://minio1.duckdns.org:... Q3AM3UQ867SPQQA43P2F zuf+tfteSlswRu7BJ86wekitnifILbZam1KYY3TG S3v4
testazure : http://172.17.0.7:9000 myazureac Gh5543wekitnifILbZam1KYY3TGlswRminio1... S3v4
```
New host list format when listing one host:
```
azure: http://localhost:9000 myazureac Gh5543wekitnifILbZam1KYY3TGlswRminio1u7BJ86wekitnifILbZam1K== S3v4
```
mc was asking the user to provide --quiet flag when terminal
width is not available for any reason. This PR tries to fetch
the terminal width at mc startup and automatically set quiet flag
when it fails to fetch the width.
This patch adds UTCNow() function which returns current UTC time.
This is equivalent of UTCNow() == time.Now().UTC()
Refer https://github.com/minio/minio/pull/3931
* 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.
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)