Commit Graph
3880 Commits
Author SHA1 Message Date
Anis Elleuch bb2bfdc918 Show a better err msg when Control-C is hit (#3446)
Currently the error message is "context canceled" which is cryptic
2020-10-08 11:46:11 -07: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 2b36376bbc retention: Fix status msg with info --default command (#3445)
Make the output little more prettier as well.
2020-10-08 11:04:33 -07:00
Shireesh Anjal f11c3a9733 Update minio dependency and go version (#3440)
Update the minio dependency to latest master branch, and bump the go
version number to 1.14 (same as minio)
2020-10-07 22:19:11 -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
Harshavardhana f11ae85566 allow selection of tests in 'mc admin health' (#3434) RELEASE.2020-10-03T02-54-56Z 2020-10-02 12:02:03 -07:00
Cesar N 7f2df96e48 Change ListOptions' fields to public (#3433) 2020-10-01 09:50:56 -07:00
Anis Elleuch 4b34df590a Makefile should check for possible changes in the generated code (#3427)
We should not release mc while the code is not according to the
generated code, like when we forgot to run go generate command.
2020-10-01 08:13:52 -07:00
Anis Elleuch 177f15db2e Fix help for cp and head commands (#3418) 2020-09-30 16:06:38 -07:00
Anis Elleuch 2568f9e7bf rm: Remove a delete marker (#3422)
A code refactor made rm to invoke HEAD request instead of LIST to stat
object to remove, and this introduced a problem removing a delete-marker
since HEAD of a delete-marker returns 405 Method Not Allowed
2020-09-30 15:13:19 -07:00
Harshavardhana 217f5fcbae rename obd->health - keep the alias for now (#3429)
Also additionally fix colorjson usage
2020-09-30 13:10:29 -07:00
Poorna Krishnamoorthy 1ca2182203 Change mc stat output format for bucket info (#3318) 2020-09-30 13:07:19 -07:00
Harshavardhana 150d2494e9 update admin top locks implementation (#3424) 2020-09-29 09:18:00 -07:00
Harshavardhana db1b508d8b update minio to pkg/madmin changes RELEASE.2020-09-23T20-02-13Z 2020-09-23 13:00:06 -07:00
Harshavardhana d24de97cde pretty print KMS key status (#3412) 2020-09-23 08:32:57 -07:00
Nugine 3776dff20f fix: make assert_failure exit properly (#3415) 2020-09-22 10:41:53 -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 ce0c109ae3 update json flag help to indicate the correct format (#3411)
some users may get confused without reading the docs
might end up assuming that --json is a full JSON document.
2020-09-21 00:43:41 -07:00
Andreas Auernhammer 0449df8887 admin: add new command for creating KMS master keys (#3287)
This commit adds a new admin command for creating
KMS master keys:
```
mc admin kms key create <alias> <key-name>
```
2020-09-19 22:00:46 -07:00
Anis Elleuch a5d03c51e2 ls: New output format when versioning is enabled (#3392) 2020-09-19 21:56:37 -07:00
poornas 0c1f1e29f1 vendorize pkg/madmin needed for mc admin remote fixes (#3410) RELEASE.2020-09-18T00-13-21Z 2020-09-17 16:06:07 -07:00
Harshavardhana 1dde65d9c0 fix: display objects endpoint with / properly (#3408) 2020-09-17 15:34:47 -07:00
Anis Elleuch f7b1b4a139 obd: Add log spinner (#3406) 2020-09-17 15:30:07 -07:00
Anis Elleuch fede0756d4 Implement undo command (#3394) 2020-09-16 18:59:28 -07:00
John Hixson 64fb8f0a8f FreeBSD build fixes (#3404)
commit a80eca5af8 broke mc from building
on FreeBSD. This commit seperates out the files to have individual NetBSD files.
2020-09-15 09:46:57 -07:00
Harshavardhana 93209e842c re-implement metadata handling to preserve nanosecs as well (#3402) 2020-09-12 10:20:03 -07:00
Anis Elleuch 8f2ffbfa86 cp: Fix url check not considering version-id in some cases (#3401)
cp checks the existance of the source object in Type A and Type B, but
forgets to pass version-id as well. Fix this behavior.
2020-09-08 07:08:35 -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 19c49468b7 handle admin info output for offline nodes properly (#3397)
```
●  localhost:9002
   Uptime: 11 minutes
   Version: 2020-09-03T23:04:07Z
   Network: 3/4 OK
   Drives: 1/1 OK

●  localhost:9003
   Uptime: offline
   Drives: 0/1 OK

●  localhost:9005
   Uptime: 11 minutes
   Version: 2020-09-03T23:04:07Z
   Network: 3/4 OK
   Drives: 1/1 OK

●  localhost:9004
   Uptime: 11 minutes
   Version: 2020-09-03T23:04:07Z
   Network: 3/4 OK
   Drives: 1/1 OK

3 drives online, 1 drive offline
```
2020-09-04 14:33:41 -07:00
Harshavardhana f992322606 fix encrypt info UI (#3393) RELEASE.2020-09-03T00-08-28Z 2020-09-02 10:28:22 -07:00
Harshavardhana b7e4a633d8 rename all 'cannot' messages to 'unable to' (#3388) 2020-09-01 15:40:31 -07:00
Harshavardhana 5649deee40 fix ls output when latest version is delete marker (#3391) 2020-09-01 13:46:07 -07:00
poornas b55e3e2d29 Update minio-go dependency (#3390) 2020-08-31 19:11:41 -07:00
飞雪无情 05d63c9aba upgrade minio module to fix mc admin trace bug. (#3385)
fixes https://github.com/minio/minio/issues/10369
2020-08-31 18:11:45 -07:00
Harshavardhana d5b4a04592 allow specifying a custom region override for any endpoint (#3386) 2020-08-31 09:04:22 -07:00
poornas d584adda01 Add ilm set command (#3384) 2020-08-28 11:57:54 -07:00
Harshavardhana 25a043b508 continue to remove content upon any error (#3383) 2020-08-28 08:13:35 -07:00
Anis Elleuch 85cce08a85 cat: Fix a regression when copying from stdin (#3381)
`mc cat >/tmp/output` is not working properly due to mc cat versioning
changes, this commit fixes the issue to make mc cat works as expected.

It also adds a unit test for it.
2020-08-27 10:31:53 -07:00
Cédric Roger 8f1ce3c59f Update minio-client-complete-guide.md (#3382) 2020-08-27 09:30:14 -07:00
Harshavardhana 41d337e95c fix: messages for version-id and rewind (#3380) 2020-08-26 15:48:47 -07:00
Anis Elleuch e10c597425 stat: Add support of --rewind, --versions and --version-id (#3350) 2020-08-26 15:04:52 -07:00
Harshavardhana 6fc39cdf8e imply rewind correctly what it does (#3373) 2020-08-26 14:51:37 -07:00
Anis Elleuch 35632bc1af head: Add support of --version-id and --rewind (#3354) 2020-08-26 10:38:35 -07:00
Anis Elleuch a104aa1cb2 tag: Add --version-id support (#3364) 2020-08-25 21:40:09 -07:00
ebozduman 2a6bdd8164 preserve the same dir structure for backup and restore (#3313) 2020-08-25 17:16:48 -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
Anis Elleuch 54fab0ad8f du: Add support of --rewind and --versions (#3367) 2020-08-21 12:10:24 +05:30
Harshavardhana ebb05ce469 fix: rm --version-id option (#3372) RELEASE.2020-08-20T00-23-01Z 2020-08-19 16:55:02 -07:00