*) Add --no-autocompletion to disable the automatic install of
the auto completion
*) Add a prompt to ask for permission to install automatic
auto completion when not installed yet
This commit removes the admin credentials command
to fix the build since github.com/minio/minio
ae002aa7241bd35d5fd9b47e8b62df2176ad2ab1 removes
the admin API for updating the admin credentials.
Remove Insufficient permission error from ignored list of errors.
Fixes#2752 - When mirror fails due to insufficient
permissions of user on a bucket, this should be
displayed
List within the statURL function considers object name as a prefix
and lists objects that have the same prefix.
currently, it errors out if the object is a subset of another object.
This PR will fix this.
Fixes#2746
Currently if authorization header is missing, then request is not displayed
This resulted in just the response being displayed, in anonymous mode.
This PR fixes that issue.
With the move to go.mod, the latest humanize package is being used.
This introduces a space between size and the unit. Manually removing the space
to make it consistent with the older mc releases.
An error, such as, `Bad Request` when copying an object without supplied
keys is not reflected in the exit code.
This commit simplifies a bit the mirror code. It makes mirror before and
after starting to send the status to mj.status.
Currently, a single remove HEAD an object, but this latter can return
400 Bad Request when the object is encrypted and the user doesn't specify
any encryption key.
So when HEAD fail, this PR will use GET listing to find the object and
remove it if existent.
We can avoid calling HEAD in the first place and use only listing, but this
has some penality on the server.
rb was relying on client.List() to find all elements that needs to be
removed. However it doesn't include 'alias/bucket' in the listing
when 'alias/bucket' itself is passed as an argument in rb command.
This PR will always attempt to delete the passed argument as this is
what the user wants in the first place.
This PR also fixes teardown() in functional-tests.sh to remove
the bucket using rb instead rm since rm does not remove buckets
anymore.
Previously OlderThan and NewerThan was configured for day
which has been changed to Days, Hours and minutes.
Also, changed the `flag` in `find` command to be `newer-than` and `older-than` to be consistent with other commands.
Due to multi-user feature on Minio and mc adoption in
many different restrictive environments, most users disable
access to ListBuckets() calls. We can avoid such network
operations as they only add marginal value.
Add completion for rb command:
- Support filesystem paths
- S3 paths only supports this format: `alias/bucket/`, for that s3Complete{}
has deepLevel parameter to configure maximum path deep level.