ebozduman
0fcd10d793
Adds support to preserve X-Amz-Meta-Mc-Attrs when os -> fs ( #3285 )
2020-07-10 22:17:54 -07:00
ebozduman
ec9b92cbb7
Apply global context for all apis ( #3240 )
2020-06-19 14:31:19 -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
Harshavardhana
2e586e6b9d
support session tokens as part of ENV ( #3213 )
2020-05-07 15:21:12 -07:00
Harshavardhana
b99c313366
cleanup legal-hold/retention and update docs ( #3197 )
2020-05-04 20:09:36 -07:00
Harshavardhana
24a72e4a33
fix add disable-multipart/md5 options for mirror ( #3174 )
2020-04-21 13:05:01 +05:30
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
Harshavardhana
b010699112
cleanup legacy metadata handling ( #3118 )
2020-03-19 17:00:20 -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
Krishna Srinivas
2d8bd7aecc
Support for multi master sites ( #2991 )
2019-12-08 16:25:50 -08:00
Harshavardhana
69bea2eb96
Continue listing upon error during diff and mirror ( #2988 )
2019-12-08 14:34:52 -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
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
poornas
0490231b34
For non-canned policies, show policy status as custom ( #2716 )
2019-03-19 09:11:16 +05:30
poornas
5b585c4759
Additional flags for mc sql command ( #2687 )
...
add sql select options
change flag names and remove parquet option
add csv-output-header option
2019-03-11 22:23:45 -07:00
Ashish Kumar Sinha
2e612b23d6
Add metadata in mc copy ( #2671 )
...
Example : mc cp --attr key1=value1,key2=value2
play/mybucket/burningman2011/ ~/latest/
2019-03-11 12:47:28 +05:30
poornas
dba70c0b92
Stat: display Expires header if present ( #2697 )
2019-03-01 13:03:53 -08:00
poornas
e538599e2f
Add mc rb command to remove empty bucket ( #2662 )
...
Change mc rm --recursive behavior to
delete objects in bucket but not the
bucket itself.
Fixes #2635
2019-02-16 20:12:38 -08:00
Praveen raj Mani
30965763d6
Support setting of custom policies from a JSON file ( #2649 )
...
Fixes #2633
2019-01-28 13:30:31 -08:00
Harshavardhana
59ef9fe468
Support SSE without keys ( #2626 )
2019-01-04 11:56:43 -08:00
Kale Blankenship
8137e79d0c
Close readers returned by Client.Get ( #2595 )
...
Change Client.Get to return an io.ReadCloser instead of io.Reader
so that it can be closed.
2018-11-08 17:02:14 -08:00
Harshavardhana
a83ffe321c
Implement select command ( #2538 )
2018-09-30 23:18:33 -07:00
poornas
0ede95b65e
add encrypt option to cp, mirror,pipe,stat, cat and rm commands ( #2400 )
2018-03-08 17:18:41 +05:30
poornas
65e22bee24
Add api as option for mc config host add command. ( #2381 )
2018-02-10 14:39:12 -08:00
poornas
ab6b2a83ac
Add new stat sub command ( #2275 )
2017-10-31 13:56:40 -07:00
poornas
a86080a0b7
Add context in Put api call for cp/mirror. ( #2291 )
2017-10-20 13:50:35 -07:00
poornas
26c7c3e500
ls: show ETag in json formatted output ( #2285 )
2017-10-13 18:23:13 -07:00
poornas
224e602e59
Allow multipart threads to be configured via environment variable ( #2254 )
2017-10-02 19:45:08 -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
A. Elleuch
1b9beadf2b
cat: Ignore Stat() error and pass to Get() ( #2166 )
...
* client: Avoid returning metadata with Get()
client-s3.Get() calls Stat() method because Get() is supposed to return
object metadata. This PR makes a change in client interface so metadata
is returned in Stat() method. This is beneficial for us to avoid calling
HEAD method in S3 when run `mc cat`
* cat: Ignore Stat() returned error
In case of cache gateway, HEAD objects returns 404 even though
objects are gettable. This PR ignores Stat() error since its
purpose in case of cat is to check if the download object size
is equal to what the server announced.
2017-07-04 08:13:57 -07:00
Anis Elleuch
e54962e17f
mb: Add -p flag to ignore existing bucket/dir ( #2143 )
...
If a remote directory/bucket exists, -p will still make mb cmd
happy if the target already exists.
2017-04-28 13:13:44 -07:00
Harshavardhana
782352ae56
mirror/cp/pipe: Preserve metadata while copying s3 to s3. ( #1927 )
...
Fixes #1923
2016-12-14 20:06:52 -08:00
Harshavardhana
cf89d74561
Vendorize new minio-go code. ( #1891 )
...
This fixes #1889 .
```sh
mc mirror -w
```
Now runs continous even when the source is not available.
Reconnects indefinitely in a binomially increasing fashion
and also allows jitter so that the retry has a nice
distribution as well.
This allows for 'mc mirror -w' to run continously without
further monitoring.
2016-11-20 16:31:53 -08:00
Anis Elleuch
b9f1950320
Use correct share upload url ( #1863 )
2016-10-25 13:23:22 -07:00