1
0
mirror of https://github.com/minio/mc.git synced 2025-11-28 08:03:56 +03:00
Commit Graph

96 Commits

Author SHA1 Message Date
poornas
069968c8aa Change replicate command cli (#3335) 2020-08-07 08:15:27 -07:00
poornas
ceb216f8a3 Add mc encrypt command (#3312) 2020-07-29 21:26: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
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
poornas
023e56e0a1 Add mc bucket version command (#3308) 2020-07-21 10:10:57 -07:00
Harshavardhana
ea8c0db96e update minio-go/v7 APIs again (#3305) 2020-07-16 18:03:17 -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
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
ebozduman
d5b6931a1e Apply global context for all apis (#3240) 2020-06-16 16:55:31 -07:00
Harshavardhana
88223f96be simplify FS put behavior for partial files (#3246) 2020-06-08 12:26:03 -07:00
Anis Elleuch
949dd282f9 fix copy issue when the source is not seekable (#3216)
The downloaded data will be stored in [file].part.minio
first and then renamed to [file]

The code also does not behave correctly when the source 
reader is not seekable. the reader is wrapped by a reader 
hook and then tested if it is seekable or not, though the 
reader hook is always seekable.
2020-05-18 20:05:46 -07:00
Harshavardhana
3b479cf92e refactor cleanup ilm command to make it more maintainable (#3220) 2020-05-15 16:54:34 -07:00
Bala FA
09c31c4ab2 add bucket tagging support (#3182) 2020-05-15 12:10:50 -07:00
P R
72c8e92459 Add ilm command. (#3097) 2020-05-14 08:55:21 -07:00
César Nieto
a6d82862cd make WatchOptions and WatchObject fields public (#3218) 2020-05-12 10:42:34 -07:00
ebozduman
a75dca16bd fix: cp preserve ownership issue (#3202) 2020-05-07 09:00:48 -07:00
Harshavardhana
b99c313366 cleanup legal-hold/retention and update docs (#3197) 2020-05-04 20:09:36 -07:00
Harshavardhana
df8bb795ba refactor watch mirror for performance (#3196) 2020-05-02 12:07:21 -07:00
Harshavardhana
24a72e4a33 fix add disable-multipart/md5 options for mirror (#3174) 2020-04-21 13:05:01 +05:30
Harshavardhana
89930fed29 rb shouldn't hang on empty folders (#3178)
fixes #3176
fixes #3177
2020-04-19 09:50:18 -07:00
Anis Elleuch
59187f2ef7 s3: Use head API before listing in client.Stat() (#3156)
Stat() is supposed to return valid information for existing
objects and existing prefixes as well.

The current mechanism issues a listing request and searches
for the object or prefix in the returned list, but this could take
time if there are a lot of entries under a parent prefix.

The new commit changes the internal behavior but not the
functional output. It issues a HEAD request first, if there
is no object then assumes it is a prefix and does listing
in order to find it.
2020-04-16 16:23:37 -07:00
Nitish Tiwari
18f81e5458 cp: Add object lock related flags (#3127)
- Adds --retention-mode,--retention-duration &
  --legal-hold flags in cp command

- Adds --bypass flag in rm command
2020-04-07 19:51:20 -07:00
Harshavardhana
8cae137525 fix all the build errors 2020-04-03 22:22:20 -07:00
Bala FA
3b31837927 add disableMultipart option to Copy() (#3141) 2020-04-03 20:14:05 -07:00
Bala FA
51ef254a41 add --disable-multipart flag in cp (#3135) 2020-04-02 08:21:33 -07:00
poornas
25de1da81b Add legalhold command (#3095) 2020-03-31 09:18:26 -07:00
BigUstad
71eb7f6689 Add tag command (#3117) 2020-03-22 20:59:49 -07:00
poornas
3230acae32 mc retention: add --recursive and --bypass flags. (#3100)
--bypass flag allows overriding governance if user
has override permissions
2020-03-19 12:24:09 -07:00
ebozduman
91da0da183 fix for incorrect mtime handling (#3121) 2020-03-18 11:33:53 -07:00
Harshavardhana
b70a79e39b fix: handle symlinks by reading/following as needed (#3053)
Avoid using filepath.EvalSymlinks and let the caller
fail appropriately for symlinks.

Fixes #3011
2020-01-23 02:33:58 -08:00
Harshavardhana
28aae43c8c fix: best effort save permissions always (#3050) 2020-01-17 14:02:12 -08:00
Harshavardhana
3f87064138 fix: du to ignore too many recursive symlinks (#3033) 2020-01-08 07:30:44 -08:00
Harshavardhana
ee283811a3 fix: ignore APINotImplemented errors from filesystem (#3018) 2019-12-19 15:24:34 -08:00
Krishna Srinivas
2d8bd7aecc Support for multi master sites (#2991) 2019-12-08 16:25:50 -08:00
poornas
4e316c3a40 Remove duplicated API method(s) for object retention (#2973) 2019-11-27 09:44:39 -08:00
kannappanr
6eaf0dd05e Retention command to apply retention to objects with a Prefix (#2963) 2019-11-22 12:39:46 -08:00
poornas
c2a771f51c Handle PutObjectRetention notification events correctly (#2966) 2019-11-22 09:38:36 -08:00
Harshavardhana
6cfbc809cf Add mirror command to compare metadata and copy (#2965)
mirror now uses the newly introduced
ListObjectsV2WithMetadata API in minio-go
2019-11-21 22:25:46 -08:00
poornas
5dda155f81 mirror object lock configuration to dest bucket (#2964)
if bucket does not exist on the target side.
2019-11-20 16:17:07 -08:00
Bala FA
27d1131825 add lock command (#2880)
`lock` command enables to set, get and clear object lock configuration
of given bucket.
2019-11-11 11:36:04 -08:00
Ashish Kumar Sinha
42898064f2 Add options to preserve filesystem attributes (#2938) 2019-10-30 00:35:25 -07:00
poornas
9f75caef55 fix mc rb to accept bucket or alias as valid args (#2886)
Fixes: #2869
2019-09-07 12:13:52 +05:30
Praveen raj Mani
418c8e7182 Remove empty parent directories while mirroring fs (#2849)
Fixes 2826
2019-08-14 09:26:57 -07:00
Harshavardhana
e978c71b7c Add staticcheck based builds (#2788)
Additionally this PR also supports
multi-platform builds to avoid cross
platform build issues.
2019-06-03 11:22:31 -07:00
Harshavardhana
f4bb0b8850 Update minio-go to latest release v6.0.26 (#2782) 2019-05-29 08:27:18 -07:00
ebozduman
83a9d8b91d Adds missing codebase MinIO and min.io changes (#2745) 2019-04-16 22:31:54 -07:00
Harshavardhana
ba92305de0 Migrate to go1.12, deprecate vendor directory (#2727) 2019-03-27 10:08:19 -07:00
poornas
0490231b34 For non-canned policies, show policy status as custom (#2716) 2019-03-19 09:11:16 +05:30