1
0
mirror of https://github.com/minio/mc.git synced 2025-04-22 19:02:58 +03:00

20 Commits

Author SHA1 Message Date
jinapurapu
a9fb9426f1
Improve errInvalidAlias (#4532) 2023-04-08 08:20:20 -07:00
adfost
fd7142e223
update license headers to 2022 (#4360) 2022-11-14 18:38:39 -08:00
Harshavardhana
1402987ccb change license to AGPLv3 2021-05-11 17:45:08 -07:00
Anis Elleuch
90dc31f6ba
Move from mc config host to alias command (#3311)
```
mc alias set
   alias remove
   alias list
```

are new commands that replace mc config host sub-commands.

mc config host will still be available but hidden for backward
compatiblity. The JSON output is also kept if the user is running mc
config host command.
2020-07-28 10:26:41 -07:00
ebozduman
83a9d8b91d Adds missing codebase MinIO and min.io changes (#2745) 2019-04-16 22:31:54 -07:00
Anis Elleuch
a498b9b3a2 rm: Force removing an object when it is encrypted without key specified (#2700)
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.
2019-03-12 14:03:59 -07:00
Harshavardhana
59ef9fe468 Support SSE without keys (#2626) 2019-01-04 11:56:43 -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
Praveen raj Mani
b2d2e09105 mc heal and mc mirror should respond with proper exit code (#2543)
respond with os.exit(0) incase of errors

Fixes #2534 #2474
2018-09-20 15:23:40 -07:00
Harshavardhana
26f5102eae Remove/deprecate admin lock commands (#2503) 2018-08-06 12:59:13 -07:00
Ashish Kumar Sinha
9998e077df Remove error statement in mc mirror (#2500)
mc mirror complains about extra file in destination,
but this is not an error so removed the error message.

Fixes: #2470
2018-08-02 22:45:54 +05:30
Anis Elleuch
ae3c123a5c Do not exit mirroring for cannot delete/overwrite errors (#2416)
mc used to show a warning messages during mirroring when it
detects a need to overwrite or remove a remote object but no
flag is specified. This commit efeaf2ee721761ba4e801407fb382c5c0f42938a
changed this behavior but this commit will restablish
the old behavior.
2018-03-22 13:37:32 -07:00
Aditya Manthramurthy
d9663e5d96 Improve lock error message (#2353) 2018-01-16 21:25:03 +05:30
Harshavardhana
dfffc1e7cc mirror: Deprecate --force instead add --overwrite (#2318)
Fixes #2317
2017-11-30 16:51:17 +05:30
Harshavardhana
aa8d5ed0cc Add newS3Config helper to auto-probe signature type. (#2292) 2017-10-20 13:51:56 -07:00
Aditya Manthramurthy
ca96cfc6e6 Move pkg/probe from vendor dir to package dir (#2236)
The probe package is no longer available in the Minio server
repo. This change just moves probe from the vendor directory to its
own dir under `pkg`.

This is a maintenance fix.
2017-08-14 11:13:38 -07:00
Harshavardhana
60681d7fb6 config: Provide meaningful errors for invalid URL and Alias. (#2233)
Fixes #2232
2017-08-06 11:35:01 -07:00
Anis Elleuch
798775775b Use ` instead of unicode single quote (#2033)
‘ is not supported in some dumb terminals, use ` instead
2017-02-25 11:08:32 -08:00
Harshavardhana
fa5a339434 Move to latest x/sys/unix for arm64 fixes. (#1882)
Related to fixes here golang/go#15393
2016-11-18 18:04:09 -08:00
Harshavardhana
2ea2ec90d2 Rename mc --> cmd 2016-08-17 18:26:18 -07:00