Commit Graph
643 Commits
Author SHA1 Message Date
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
Harshavardhana 90d22b271f move 'mc ilm' to 'mc bucket ilm' (#3320)
update relevant docs and use the same
usage message consistently
2020-07-25 11:31:42 -07:00
poornas 2750c4bfe6 Add replication commands (#3272)
`mc admin bucket replication` command
manages replication targets on MinIO server

`mc bucket replicate` allows setting replication 
configuration on the source bucket
2020-07-24 12:34:13 -07:00
poornas c61a26269f Move mc lock to mc bucket lock (#3309) 2020-07-24 01:18:55 -07:00
Anis Elleuch 65d564dd87 ilm: Add ignores bucket lifecycle not found error (#3315) 2020-07-23 11:31:13 -07:00
Anis Elleuch 442facedd1 Implement rewind flag in ls and cp commands (#3304)
--rewind will go back in time and select specific object versions that are
the latest at the specified time.

--versions will display all the versions

cp will just ignore if the latest version is a delete marker
ls will print delete markers with a (deleted) at the end
2020-07-23 11:18:38 -07:00
Anis Elleuch a2592cef84 mirror: Exit with status code 1 if source does not exist (#3314) 2020-07-22 17:48:15 -07:00
poornas 023e56e0a1 Add mc bucket version command (#3308) 2020-07-21 10:10:57 -07:00
Harshavardhana 67f2472d24 api: upgrade to minio-go v7.0.1 (#3306) 2020-07-17 08:03:04 -07:00
Dmitry Afanasiev f19a10dce2 fix attr argument parsing - support quoted keys and values (#3294) 2020-07-16 19:23:35 -07:00
Harshavardhana ea8c0db96e update minio-go/v7 APIs again (#3305) 2020-07-16 18:03:17 -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
ebozduman 7b5d5ea990 Fixes --attr regression (#3303) 2020-07-16 08:59:38 -07:00
Anis Elleuch 56c2c1a5c5 Fix object copying after upgrading to v7 (#3298) 2020-07-15 16:53:38 -07:00
Harshavardhana f3c9e9172a honor preserve flag during Copy operation (#3299)
continuation of #3285 which wasn't complete
2020-07-15 16:39:04 -07:00
Anis Elleuch a419bb4130 Use minio-go v7 and madmin master (#3295) 2020-07-14 11:15:19 -07:00
kannappanr 9d762f5aa6 Fix typos in the examples (#3289) 2020-07-07 21:08:33 -07:00
P R 51a3d287bb mc ilm list cell alignment for text (#3291) 2020-07-07 20:52:01 -07:00
Harshavardhana fbb7d75c1c support proper proxy for all transports (#3290)
fixes #3225
2020-07-07 17:07:49 -07:00
ebozduman d811d416a5 Fixes copy with partial metadata failure (#3282) 2020-07-06 17:22:06 -07:00
ebozduman 5c713e5ecb Adds support to preserve X-Amz-Meta-Mc-Attrs when os -> fs (#3285) 2020-07-03 15:31:27 -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