Commit Graph
664 Commits
Author SHA1 Message Date
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) 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
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
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) 2020-08-19 16:55:02 -07:00
Harshavardhana ce7ffc38df fix: alignment in help for multiple commands (#3371) 2020-08-19 15:44:12 -07:00
Harshavardhana fe5e714593 migrate CI to go1.14, go1.15 (#3361) 2020-08-17 08:40:27 -07:00
Anis Elleuch cd41dbc0a2 tree: Add --rewind flag (#3359) 2020-08-14 22:11:38 -07:00
Anis Elleuch 24e58fce38 ls: --rewind without --versions shows correct version number (#3360) 2020-08-14 15:46:12 -07:00
Anis Elleuch 6f2dc37ad8 cat: Add version-id flag (#3352) 2020-08-14 14:07:03 -07:00
poornas eafc9ee7b4 Add --remote-bucket as flag in mc replicate add/set (#3349) 2020-08-14 13:59:52 -07:00
Tobias Nygren a80eca5af8 fix mc build on NetBSD (#3358) 2020-08-13 15:09:23 -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
Anis Elleuch 6313ee7dab Add versioning support for rm cmd (#3339) 2020-08-10 15:19:06 -07:00
Anis Elleuch 73d8b35425 cp: Add support of --version-id flag (#3342) 2020-08-08 20:15:34 -07:00
Anis Elleuch 7e52c104be ls: New printing format for versions (#3341) 2020-08-07 17:56:14 -07:00
kannappanr 588a8fcd17 rename versioning to version (#3345) 2020-08-07 13:32:11 -07:00
poornas 0ba1633a04 Change admin bucket remote cli args (#3340)
Add support to list all remote targets for a tenant
2020-08-07 10:52:09 -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
poornas cd1f28e20c Rename mc admin bucket replication command (#3328)
Rename to `mc admin bucket remote` to manage generic
bucket targets
2020-08-03 13:57:54 -07:00
Anis Elleuch b1aa159838 rb: Delete object versions as well (#3322) 2020-08-03 13:54:07 -07:00
Harshavardhana 6a98216c53 rename all bucket commands (#3334) 2020-07-31 15:18:57 -07:00
poornas 7ffa755cd9 Move version commands to top level (#3329) 2020-07-30 09:53:15 -07:00
kannappanr 0631315535 Fix mc encrypt documentation (#3330) 2020-07-29 23:12:26 -07:00
poornas 2be7f6dd13 Fix example for mc admin bucket quota (#3326) 2020-07-29 21:27:07 -07:00
poornas ceb216f8a3 Add mc encrypt command (#3312) 2020-07-29 21:26:42 -07:00
Anis Elleuch d93b7f7638 More fixes in the doc for mc alias command (#3327) 2020-07-28 15:04:27 -07:00
Anis Elleuch ec734d0f71 Add --rewind flag for cat command (#3321) 2020-07-28 13:19:56 -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