Harshavardhana
91efd0c066
migrate mc to minio/pkg ( #3731 )
...
remove all dependency for minio/minio
2021-05-29 09:30:33 -07:00
Harshavardhana
1402987ccb
change license to AGPLv3
2021-05-11 17:45:08 -07:00
Poorna Krishnamoorthy
20e5905de0
Add mc replicate status command ( #3684 )
2021-04-21 14:05:17 -07:00
Anis Elleuch
a093f822e2
Avoid automatic copy of storage class ( #3681 )
2021-04-06 10:24:34 -07:00
Anis Elleuch
e10c82f9ad
cp: Add --tags to tag uploaded objects ( #3644 )
...
Applying tagging to objects copied in an S3 object using --tags flag.
2021-03-16 08:46:28 -07:00
ebozduman
501b791408
Fixes conflicting Failure&Successful msgs in 'mc rb' output ( #3616 )
2021-03-10 23:13:55 -08:00
Harshavardhana
24ebcf13cf
fix: make listing consistent with top level delete marker ( #3587 )
...
```
~ mc ls s3/tbucket13/x.txt
[2021-01-25 13:24:09 PST] 525B z.txt
```
```
~ mc ls s3/tbucket132/x.txt
[2021-01-25 13:31:41 PST] 525B x.txt/z.txt
```
2021-01-25 14:39:16 -08:00
Anis Elleuch
130f4393bb
cp: Copy recursive paths having the passed prefix ( #3563 )
2021-01-24 00:06:40 -08:00
Harshavardhana
95ee8f0714
list with maxKeys=1 for url2Stat() calls ( #3557 )
2021-01-03 11:34:53 -08:00
Anis Elleuch and Anis Elleuch
d0e1456be3
client-s3: Stat() should return data for passed directories ( #3539 )
...
Co-authored-by: Anis Elleuch <anis@min.io >
2020-12-18 02:42:34 -08:00
Anis Elleuch
4e8e67fb04
mirror: Add support of site-wide mirroring ( #3467 )
2020-12-14 14:10:09 -08:00
Harshavardhana
b6969bc501
add support for watching for replication/ilm events ( #3525 )
2020-12-07 12:23:11 -08:00
Lenin Alevski
c7989d06bc
Support for setting custom Transport in S3Client configuration ( #3510 )
2020-11-30 20:52:08 -08:00
Harshavardhana
681cbb06de
use directly S3 event types instead of re-defining them ( #3511 )
2020-11-30 09:10:34 -08:00
Cesar N
d4f9ea859d
Change GetOptions' fields to public ( #3498 )
...
This allows minio/console to take advantage of the current
S3Client Get function for downloading objects with version
2020-11-19 13:43:35 -08:00
Harshavardhana
3792e9f906
multiple bug fixes for mirror, ls, rm ( #3491 )
...
- fixes errant top level directory creation, regression introduced in #3313
- fixes `mc ls -r` regression introduced in #3476
- fixes other bugs such as `mc mirror` would perpetually hang if the
destination bucket doesn't exist, create and proceed instead.
- removes DirOpt style implementations for List, ListIncompleteUploads
these are not useful anymore.
2020-11-15 13:24:00 -08:00
Anis Elleuch
6ab70467cc
Always send MD5 when creating an empty directory ( #3487 )
...
Otherwise it could fail with a bucket with locking enabled.
2020-11-12 10:25:20 -08:00
Anis Elleuch
965747e45d
Fix client-s3.Makebucket behavior with object in path ( #3470 )
2020-11-06 09:38:43 -08:00
Poorna Krishnamoorthy
7838365102
fix mc stat with --versions flag to show versionID correctly ( #3471 )
...
If --versions flag is specified, instead of HEAD currently
repeated listing is being done and latest version ID reported
for all the versions instead of actual version ID.
2020-10-27 16:54:05 -07:00
Anis Elleuch
fa4da03a4f
ls: Fix listing buckets with --versions ( #3462 )
...
mc ls --versions alias/ has an unexpected output due to missing
consideration of this use case. This commit fixes the behavior.
2020-10-22 17:35:51 -07:00
Anis Elleuch
8a8611cf74
s3: Stat() to filter object name when falling back to listing ( #3449 )
...
client S3 Stat() API tries to use HEAD requests but fall back to regular
listing when there is a permission issue with HEAD or when the object is
encrypted using SSE-C.
However the code accepts any entry from the minio-go listing API
which is wrong. It needs to only accept the object name as passed
by the the upper layer.
2020-10-10 15:24:39 -07:00
Anis Elleuch
3b65e9cba6
client-s3: List sends bucket names when bucket not specified ( #3439 )
...
This commit also has some simplifications in the the listing code.
2020-10-06 11:17:58 -07:00
Cesar N
7f2df96e48
Change ListOptions' fields to public ( #3433 )
2020-10-01 09:50:56 -07:00
Poorna Krishnamoorthy
1ca2182203
Change mc stat output format for bucket info ( #3318 )
2020-09-30 13:07:19 -07:00
Anis Elleuch
9ff6c146b4
rm: Show deleted error msg when delete marker is found ( #3407 )
...
HEAD object returns 404 with a delete-marker header when the object is a
delete-marker in a versioning bucket. This PR will show a better error
message in that case.
Use url2Stat() and ignore 400 bad request error.
2020-09-21 11:42:31 -07:00
Harshavardhana
1dde65d9c0
fix: display objects endpoint with / properly ( #3408 )
2020-09-17 15:34:47 -07:00
Harshavardhana
93209e842c
re-implement metadata handling to preserve nanosecs as well ( #3402 )
2020-09-12 10:20:03 -07:00
Anis Elleuch
af6cff00a5
retention: Refactor and add support of versioning ( #3347 )
2020-09-06 10:33:15 -07:00
Anis Elleuch
7f550f9482
legalhold: Refactor & add versioning support ( #3343 )
2020-09-05 17:11:38 -07:00
Harshavardhana
d5b4a04592
allow specifying a custom region override for any endpoint ( #3386 )
2020-08-31 09:04:22 -07:00
Anis Elleuch
a104aa1cb2
tag: Add --version-id support ( #3364 )
2020-08-25 21:40:09 -07:00
Harshavardhana
c58148a421
avoid calling get bucket object lock config for same bucket ( #3378 )
2020-08-25 10:50:40 -07:00
Anis Elleuch
b1ca6482d5
share: Support --version-id in Download command ( #3365 )
2020-08-21 00:08:55 -07:00
Harshavardhana
091a109e5a
fix: set replace metadata to preserve ( #3356 )
2020-08-12 19:41:44 -07:00
Harshavardhana
cdb458c987
fix: do not close contentCh prematurely without versioning
2020-08-12 16:03:30 -07:00
Harshavardhana
f9dc22561c
fix: mc rb site-wide removal with versioning ( #3355 )
2020-08-12 14:19:10 -07:00
poornas
5ad2d36f5c
Add ReplicationStatus to stat cmd output ( #3351 )
2020-08-11 14:19:17 -07:00
kannappanr
588a8fcd17
rename versioning to version ( #3345 )
2020-08-07 13:32:11 -07:00
poornas
069968c8aa
Change replicate command cli ( #3335 )
2020-08-07 08:15:27 -07:00
Anis Elleuch
0c4b649369
stat: Show lifecycle expiration date if set ( #3344 )
...
Add a new field in the stat output to show if the object has any
expiration date due to lifecycle expiration rules. The expiration date
is show in machine local time.
2020-08-06 14:19:41 -07:00
Harshavardhana
9498227542
fix: fallback listing to regular objects ( #3338 )
2020-08-03 17:22:33 -07:00
Harshavardhana
32c13f2977
fix: rb command regression deleting bucket ( #3337 )
2020-08-03 15:32:42 -07:00
Anis Elleuch
b1aa159838
rb: Delete object versions as well ( #3322 )
2020-08-03 13:54:07 -07:00
poornas
ceb216f8a3
Add mc encrypt command ( #3312 )
2020-07-29 21:26:42 -07:00
Anis Elleuch
ec734d0f71
Add --rewind flag for cat command ( #3321 )
2020-07-28 13:19:56 -07:00
poornas
2750c4bfe6
Add replication commands ( #3272 )
...
`mc admin bucket replication` command
manages replication targets on MinIO server
`mc bucket replicate` allows setting replication
configuration on the source bucket
2020-07-24 12:34:13 -07:00
Anis Elleuch
442facedd1
Implement rewind flag in ls and cp commands ( #3304 )
...
--rewind will go back in time and select specific object versions that are
the latest at the specified time.
--versions will display all the versions
cp will just ignore if the latest version is a delete marker
ls will print delete markers with a (deleted) at the end
2020-07-23 11:18:38 -07:00
poornas
023e56e0a1
Add mc bucket version command ( #3308 )
2020-07-21 10:10:57 -07:00
Harshavardhana
67f2472d24
api: upgrade to minio-go v7.0.1 ( #3306 )
2020-07-17 08:03:04 -07:00
Harshavardhana
ea8c0db96e
update minio-go/v7 APIs again ( #3305 )
2020-07-16 18:03:17 -07:00