Aditya Manthramurthy
d4b7b00d73
Bump up minio/pkg to v3 ( #4940 )
2024-05-23 00:59:47 -07:00
Sveinn
fe58afcd39
Large MC Update (new encryption flags, functional test suite, removal of session code, minor cleanup, vuln. updates ) ( #4882 )
2024-04-15 08:10:25 -07:00
Harshavardhana
062f28c9cc
allow 'mc' flags to have ENV equivalent ( #4720 )
...
it simplifies the codebase a bit and also
allows for `mc` to easily be configured in
containerized environments.
2023-10-16 22:51:25 -07:00
Sveinn
87d6cd2d4f
Validation optimization - reduce HEAD calls during cp and mv operations ( #4710 )
2023-10-12 11:30:11 -07:00
Aditya Manthramurthy
e2056fb057
Update to minio/pkg v2 ( #4674 )
2023-09-02 14:28:03 -07:00
Anis Eleuch
9d99cfbb7e
mv: Do not error out when a bucket has an object lock config ( #4654 )
...
It appears that this code is coming from the old days when locking was
implemented before versioning; It does not make sense now to make mv
errors out when a bucket has a locking configuration.
2023-08-14 13:04:26 -07:00
adfost
fd7142e223
update license headers to 2022 ( #4360 )
2022-11-14 18:38:39 -08:00
bh4t
28073441c0
change example bucket names to simple names ( #4308 )
2022-10-18 11:53:33 -07:00
Harshavardhana
6e2ed46cb4
add hidden force-delete option ( #4097 )
2022-05-30 12:51:43 -07:00
Nick Doornekamp
0530f5a471
Update documentation for --older/newer-than flags ( #4039 )
2022-04-16 08:10:14 -07:00
Anis Elleuch
0f31ce23b9
mv: Fix regression when checking lock in target bucket ( #4015 )
...
A recent commit changed the behavior of client-s3.GetObjectLockConfig()
without properly checking the behavior of the callers introducing a bug
during mv command where the target is an S3 server.
Add some tests for the mc mv command as well.
2022-03-11 15:10:02 -08:00
Harshavardhana
e08ded6d28
display when delete markers are created ( #3904 )
2021-12-28 17:48:54 -08:00
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
Anis Elleuch
ccb35f1672
mv: Fix panic and simply the code a little bit ( #3640 )
...
Also, mv did not consider --fake flag, fix it as well.
2021-03-10 23:12:04 -08:00
Anis Elleuch
d4fbfb5975
Show better looking help when a wrong flag is passed ( #3461 )
2020-12-02 22:19:26 -08:00
Anis Elleuch
0324fdcc6e
mv: Fail only if bucket locking is enabled in source urls ( #3444 )
2020-10-08 11:04:49 -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
b7e4a633d8
rename all 'cannot' messages to 'unable to' ( #3388 )
2020-09-01 15:40:31 -07:00
Harshavardhana
0b0acc611f
Revert "cli: Load global flags in initBeforeRunningCmd ( #3283 )" ( #3302 )
...
This reverts commit 712ff33319 .
2020-07-16 11:10:35 -07:00
Anis Elleuch
712ff33319
cli: Load global flags in initBeforeRunningCmd ( #3283 )
...
app.Before receives a cli.Context but without flags parsed. There is no
point calling ctx.Bool() or ctx.IsSet() at that stage.
However, flags are parsed in commands, so minio initialization and
setting global variables (globalJSON, globalQuiet, etc..) can be moved
to the Before function of all commands.
Avoid setting command.Before for non leaf commands, otherwise Before
function will be called multiples times until it reaches the leaf
command.
2020-07-01 17:28:43 -07:00
ebozduman
d5b6931a1e
Apply global context for all apis ( #3240 )
2020-06-16 16:55:31 -07:00
kannappanr
2403e7a744
Check if destination and source are same ( #3234 )
...
Fixes #3229
2020-05-27 20:15:08 -07:00
kannappanr
e13751f5d5
doc: Remove example related to object locked bucket ( #3201 )
...
mv does not support this command for object locked buckets.
2020-05-04 10:09:49 -07:00
Bala FA
ca650e227a
fix: create empty probe error to fatalIf() ( #3199 )
...
Fixes #3198
2020-05-04 07:58:28 -07:00
Bala FA
dfa1e42b25
add mc mv command ( #3134 )
...
Fixes #3077
2020-04-14 11:59:16 -07:00