Maël Valais
c27941bc2a
cp: add missing } in help template ( #3047 )
2020-01-15 01:43:14 -08:00
Anis Elleuch
632f0949bd
retention: Error out early when url argument does not point to S3 server ( #3041 )
2020-01-10 16:53:09 -08:00
Harshavardhana
374100da7e
fix: update docs for --attr command ( #3040 )
...
Also canonicalize metadata headers automatically
before, minio-go consumes it.
2020-01-10 19:18:42 +05:30
Harshavardhana
3f87064138
fix: du to ignore too many recursive symlinks ( #3033 )
2020-01-08 07:30:44 -08:00
Harshavardhana
63821bbe3f
fix: crash in cp when cpURLs return error ( #3035 )
2020-01-07 12:17:00 -08:00
Klaus Post
2a66f9ba2b
Only rename config directories ( #3032 )
...
If the user placed an `mc.exe` in the user directory and wasn't used it, it would be renamed.
2020-01-07 10:45:39 -08:00
poornas
27a033440e
Add lock and retention docs ( #3034 )
2020-01-06 15:16:47 -08:00
Bala FA
50766862c1
fix default flag behaviour in du command ( #3031 )
...
- `mc du` without args should print help like other `mc` commands
- `mc du` should behave like `du -h --max-depth=1` as default
- optional `--recursive` if they want capacity for each folder.
fixes #2871
2020-01-04 12:56:35 -08:00
Harshavardhana
6d1a41458b
Use colorjson to indent json properly in cp ( #3030 )
...
Additionally also do not initialize progress bar in json
or quiet mode in mirror.
Fixes #3029
Fixes #3017
2020-01-03 12:14:39 -08:00
Harshavardhana
9663319e9e
Update mc dependencies to recent dep change on MinIO ( #3026 )
2019-12-31 11:27:59 -08:00
kannappanr
8f0b923312
Mirror: Generate STag and ETag on destination only in Multimaster mode ( #3021 )
2019-12-26 12:54:28 -08:00
Harshavardhana
7c9ea88742
Update to latest minio/minio ( #3020 )
2019-12-24 05:46:13 -08:00
Harshavardhana
ee283811a3
fix: ignore APINotImplemented errors from filesystem ( #3018 )
2019-12-19 15:24:34 -08:00
Harshavardhana
d92d2f0d4f
Upgrade to new Listen bucket API ( #3008 )
2019-12-14 08:53:55 -08:00
Anis Elleuch
f2f8f858a6
cp: Only use session when -c is passed ( #2989 )
2019-12-13 10:20:56 -08:00
ebozduman
64e0c36e3b
Extraneous line in 'mc admin info' output ( #3010 )
2019-12-12 12:01:22 -08:00
ebozduman
85f814eb44
Stops showing usage info if Bucket#=0 ( #3007 )
2019-12-11 20:46:30 -08:00
ebozduman
2616a1d051
New admin info ( #2982 )
2019-12-11 18:25:55 -08:00
BigUstad
7038207039
Replace Timestamp separator ( #3002 )
...
Replace time stamp separator to use `-`
2019-12-11 17:33:17 -08:00
Klaus Post
23aab5b458
mc sql: Use compression parameter ( #2996 )
...
The compression parameter is not actually used, but always guessed from the file extension.
Only guess the compression type if it is not explicitly set.
Uploading a file called `out.csv.geezipd`:
Before:
```
λ mc sql -e="SELECT * from s3object LIMIT 1" --compression=GZIP --csv-input "rd=\n,fh=USE,fd=;" local/test/out.csv.geezipd
�""���k↔��Xs��W.v� ��)��{2#��,r���:�|D▲�.��f♫��→�i�p�2l�♫��ʭ���Q��v▲�5ر�c
```
(content actually not ungzipped)
After:
```
λ mc sql -e="SELECT * from s3object LIMIT 1" --compression=GZIP --csv-input "rd=\n,fh=USE,fd=;" local/test/out.csv.geezipd
"281,1285,159625,159627,2637,20000827.0117590018,1239029,1663,-6.7535419,1533,0.53597438,8"
```
We leave validation of the compression value to the server.
2019-12-11 09:24:45 -08:00
Harshavardhana
e109a5370a
Multi-master only run single startMirror at a time ( #3003 )
...
Also randomize the sleep appropriately based
on Unix() time source.
2019-12-10 23:00:41 -08:00
poornas
871b8da9a6
Fix mirroring of PutObjectRetention event ( #3004 )
2019-12-10 16:23:42 -08:00
Harshavardhana
34757e2ce2
Mirror with fallback list in multimaster mode, copy missing files ( #2999 )
2019-12-09 07:56:18 -08:00
Harshavardhana
dff0f0318c
Avoid mirror fatalIf in multi-master ( #2998 )
2019-12-09 18:50:11 +05:30
Krishna Srinivas
8a488ba0e4
Do full scan diff+mirror in multi-site mirror mode ( #2994 )
2019-12-09 01:32:58 -08:00
Krishna Srinivas
ea0a4b2142
Fix multi-master setup help text ( #2993 )
2019-12-09 00:52:47 -08:00
kannappanr
4482063fb9
Retry mirror forever on watch ( #2992 )
2019-12-08 19:44:46 -08: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
Anis Elleuch
c5112d4a0f
watch: Add site wide level support ( #2987 )
2019-12-08 11:35:35 -08:00
Krishna Srinivas
a8064ff644
Continue mirroring inspite of error events ( #2986 )
2019-12-07 18:00:58 -08:00
Harshavardhana
fccdcfe803
fix: Source content can be nil when updating progress bar ( #2984 )
2019-12-07 10:06:16 +05:30
Harshavardhana
543ea4bd90
change target to name in config help ( #2983 )
2019-12-07 10:05:32 +05:30
Harshavardhana
da47ed8ac4
Avoid re-parsing config history elements ( #2981 )
2019-12-06 07:17:35 +05:30
Harshavardhana
f3b2d5471f
Add finalized command line options ( #2979 )
2019-12-04 21:03:34 -08:00
Harshavardhana
3f426ff7e0
Update export command to print disabled sub-sys as comments ( #2978 )
2019-12-03 12:10:12 -08:00
Harshavardhana
1e1480f408
Fix progress bar update regression ( #2976 )
...
Regression introduced in cf6defe025
2019-11-30 17:19:23 -08:00
poornas
4e316c3a40
Remove duplicated API method(s) for object retention ( #2973 )
2019-11-27 09:44:39 -08:00
Harshavardhana
cb110f7403
Add support for auto-complete in 'mc admin config' commands ( #2975 )
2019-11-27 09:36:40 -08:00
Harshavardhana
21a79b4a44
Add import/export command ( #2974 )
2019-11-26 10:08:41 -08:00
Harshavardhana
cf6defe025
Fix totalSize and totalCounts calculation ( #2969 )
2019-11-25 18:27:01 +05:30
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
Harshavardhana
3dc37f1ecd
Add default values in 'get' ( #2962 )
2019-11-21 14:35:40 +05:30
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
Harshavardhana
c51267871c
help command is now part of mc admin config get/set ( #2961 )
2019-11-19 15:15:10 -08:00
Ashish Kumar Sinha
9a9a6d853d
Rectify usage section of policy help ( #2959 )
2019-11-15 10:37:32 -08:00
poornas
3df8101903
Fix encrypt-key flag parsing ( #2955 )
2019-11-12 10:24:00 -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