Klaus Post
2f42260f98
Add remote zip support to mc ls/cp/cat ( #3977 )
...
--zip flag is hidden for now
2022-02-15 03:09:39 -08:00
Harshavardhana
a59f9e4d30
add gofumpt support, automated cleanup ( #3911 )
2022-01-06 10:55:40 -08:00
Harshavardhana
ae271e7645
add new linters and fix unnecessary type conversions ( #3835 )
2021-10-14 15:33:31 -07:00
Harshavardhana
4af8b2d20b
do not prematurely default multipart to 16MiB
2021-07-27 08:42:07 -07:00
Harshavardhana
c3ab68ed1e
allow configuring multipart size for testing ( #3761 )
...
add MC_UPLOAD_MULTIPART_SIZE, MC_UPLOAD_MULTIPART_THREADS
to test in situations when default values are not enough
for showing proper bandwidth usage.
2021-07-23 09:21:59 -07:00
Harshavardhana
1402987ccb
change license to AGPLv3
2021-05-11 17:45:08 -07:00
Anis Elleuch
a093f822e2
Avoid automatic copy of storage class ( #3681 )
2021-04-06 10:24:34 -07:00
Cesar N
d4f9ea859d
Change GetOptions' fields to public ( #3498 )
...
This allows minio/console to take advantage of the current
S3Client Get function for downloading objects with version
2020-11-19 13:43:35 -08:00
Anis Elleuch
af6cff00a5
retention: Refactor and add support of versioning ( #3347 )
2020-09-06 10:33:15 -07:00
Anis Elleuch
35632bc1af
head: Add support of --version-id and --rewind ( #3354 )
2020-08-26 10:38:35 -07:00
Anis Elleuch
ec734d0f71
Add --rewind flag for cat command ( #3321 )
2020-07-28 13:19:56 -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
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
5c713e5ecb
Adds support to preserve X-Amz-Meta-Mc-Attrs when os -> fs ( #3285 )
2020-07-03 15:31:27 -07:00
Harshavardhana
08685bae6a
make sure active/active enables watch by default ( #3271 )
...
- effectively use context everywhere
- effectively look for source-mtime in all
variations
- `mc diff` should do metadata diff as well
2020-06-23 16:56:08 -07:00
ebozduman
d5b6931a1e
Apply global context for all apis ( #3240 )
2020-06-16 16:55:31 -07:00
kannappanr
09f832f597
copyobject: Do not ignore storage class in the target ( #3232 )
...
Fixes #3230
2020-05-24 14:23:28 -07:00
Bala FA
4e3b501528
add --storage-class flag to pipe command. ( #3204 )
...
Fixes #3157
2020-05-06 23:06:01 -07:00
Harshavardhana
dc2ad27429
fix mirror crash if source is deleted ( #3206 )
2020-05-05 23:55:35 -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
kannappanr
e1617a504b
Canonicalize metadata recevied as part of events ( #3181 )
2020-04-19 10:10:40 -07:00
Harshavardhana
2d6a960f94
fix avoid multiple HEAD operations ( #3173 )
...
- Get() already has the metadata to preserve
- Stat() doesn't need to be sent multiple times
do preserve attributes, use it once.
2020-04-17 01:01:34 -07:00
Harshavardhana
4036009dc2
fix optimize content-type detection for only FS ( #3172 )
...
Also avoid a secondary Stat() operation during
GetObject(), when preserving the metadata
Fixes #3170
2020-04-16 19:03:02 -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
Bala FA
3b31837927
add disableMultipart option to Copy() ( #3141 )
2020-04-03 20:14:05 -07:00
Daniel Valdivia
4d36c1f8b8
Make NewS3Config and NewAdminFactory Public ( #3138 )
2020-04-02 19:41:31 -07:00
César Nieto
a9e875b503
set S3Client struct as public ( #3139 )
2020-04-02 19:33:44 -07:00
Bala FA
51ef254a41
add --disable-multipart flag in cp ( #3135 )
2020-04-02 08:21:33 -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
poornas
4e316c3a40
Remove duplicated API method(s) for object retention ( #2973 )
2019-11-27 09:44:39 -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
3df8101903
Fix encrypt-key flag parsing ( #2955 )
2019-11-12 10:24:00 -08:00
Ashish Kumar Sinha
42898064f2
Add options to preserve filesystem attributes ( #2938 )
2019-10-30 00:35:25 -07:00
Harshavardhana
57a9c6fab2
Fix mc functional tests to work with new changed behavior ( #2901 )
...
- mc rm doesn't fail for SSE-C encrypted objects because
we use multi-object delete - this behavior is S3 compatible
- changes needed to ensure that keys are set appropriately
when doing server side copy.
2019-09-20 04:48:02 +05:30
Harshavardhana
dff077e34b
Add support for attr flag in mirror ( #2892 )
2019-09-19 08:22:45 -07:00
Ashish Kumar Sinha
1582b1cf35
Add support for passing non-printable charachter as key ( #2851 )
2019-08-29 16:57:04 -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
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
Harshavardhana
59ef9fe468
Support SSE without keys ( #2626 )
2019-01-04 11:56:43 -08:00
Harshavardhana
45578f0ed2
Implement head command ( #2630 )
2018-12-27 13:17:44 -08:00
Harshavardhana
5117f74fce
Allow empty objects to be uploaded ( #2613 )
2018-11-28 17:14:07 +05:30
Harshavardhana
0992c3a50d
Fallback detecting filetype from magic numbers ( #2598 )
2018-11-16 07:45:46 -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
Ryan Boehning
a8c97b467d
Replace legacy httplex import with current x/net/httpguts ( #2494 )
...
The import path of the httplex package has changed.
2018-07-29 00:45:12 -07:00