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

116 Commits

Author SHA1 Message Date
Harshavardhana
bb4ff4951a when --no-list is specified avoid every List() call (#5082) 2024-11-17 11:35:25 -08:00
Anis Eleuch
63eb4a4609 lint: Fix new detected lint complaints (#5080) 2024-11-13 05:46:18 -08:00
Klaus Post
be874766a7 Add --checksum param to pipe, put, cp, mirror (#5043)
Add checksums to pipe, cp, mirror commands.

> Add checksum to uploaded object. Values: MD5, CRC32, CRC32C, SHA1 or SHA256. Requires server trailing headers support like AWS, MinIO and possibly others.

`--md5` is hidden, but still applied.

Uploads to buckets with object locking will still use MD5.

Bonus: `mc stat` shows checksum information.
2024-09-24 08:25:16 -07:00
Harshavardhana
2e10255b6d allow cat to take part by part numbers (#5026) 2024-08-26 01:48:58 -07:00
Mark Theunissen
efa1b396f2 Add commands for managing Bucket CORS (#5019) 2024-08-22 08:46:05 -07:00
jiuker
690f3f8bb3 fix: Use TLS for STS endpoint when STS endpoint uses https scheme. (#5022) 2024-08-17 15:15:59 -07:00
Harshavardhana
8876275c07 list versions including DEL marker when figuring out Stat() (#4951)
this is needed to avoid an inconsistent behavior when an
object exists v/s DEL marker or FreeVersion exists.
2024-06-19 22:57:53 -07:00
Harshavardhana
a289dae750 fix: support 'mc put --if-not-exists' (#4963)
Also allow 'mc get --version-id'
2024-06-18 14:15:26 -07:00
Harshavardhana
dcb911bed9 make s3Config Transport a roundTripper (#4914) 2024-04-30 10:44:48 -07:00
Harshavardhana
98af07b69c bring back the original progress bar (#4866)
also cleanup 'mc put/get' behavior
2024-03-02 16:13:08 -08:00
jiuker
1e69c2aadd feat: add put action (#4839) 2024-02-19 22:36:31 -08:00
Harshavardhana
2178568417 make STS support for 'mc' alias specific (#4771)
currently STS specific behavior is global,
`mc` however supports multiple aliases - we
need to make sure that `mc` treats this ENV
specific to an alias.
2023-11-26 01:35:13 -08:00
Poorna
5a5a9973c3 Change replicate status metrics to show additional info (#4582)
in `mc replicate status` for bucket replication
and `mc admin replicate status` for site replication.
2023-08-30 01:02:26 -07:00
Harshavardhana
1fbd97aa04 run gofumpt -extra on all source files (#4634) 2023-07-17 13:10:20 -07:00
Krishnan Parthasarathi
68a3d5adec Add updatedAt for ilm-rule-ls (#4579) 2023-05-26 09:37:48 -07:00
Anis Eleuch
5a0d5116f4 mirror: Fix removal of FS target without a trailing slash (#4560) 2023-05-04 11:10:16 -07:00
Klaus Post
36aa65b791 Add metadata and tags to mc find (#4531) 2023-04-08 09:43:27 -07:00
Harshavardhana
fbef5dd7f0 support concurrent uploads for 'mc pipe' (#4435) 2023-01-06 12:17:45 -08:00
Harshavardhana
dbc1f6ada0 add support for upload/download limits (#4388) 2022-12-06 14:39:16 -08:00
adfost
fd7142e223 update license headers to 2022 (#4360) 2022-11-14 18:38:39 -08:00
Taran Pelkey
68a36788aa Add od command (#4180) 2022-08-22 22:02:23 -07:00
Harshavardhana
c7570bd54a introduce net.Conn deadlines to avoid hung connections (#4164)
fixes #4133
2022-07-27 08:21:05 -07:00
Klaus Post
cb7f9b6db2 Add mc cat --tail and --offset (#4149)
Allow range requests for cat operations, either specifying tail or an absolute offset.

If tail is longer then fail, the entire file is listed.
2022-07-18 21:22:10 -07:00
Harshavardhana
6e2ed46cb4 add hidden force-delete option (#4097) 2022-05-30 12:51:43 -07:00
Krishnan Parthasarathi
b5a0640899 Prefix version suspension (#4064) 2022-05-08 18:15:17 -07:00
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
Poorna
c579c0b403 Add subcommands to mc replicate resync (#3964)
This PR adds `start` and `status` subcommands for
managing replication resync
2022-02-13 15:36:24 -08:00
Harshavardhana
a59f9e4d30 add gofumpt support, automated cleanup (#3911) 2022-01-06 10:55:40 -08:00
Harshavardhana
f06a0987a3 rm: print proper paths instead of just objectnames for S3 endpoints 2021-12-28 18:37:48 -08:00
Harshavardhana
e08ded6d28 display when delete markers are created (#3904) 2021-12-28 17:48:54 -08:00
Harshavardhana
7866f97ef5 Revert "Remove unused Transport option. (#3818)"
This reverts commit bc69976481.

This option is used by console
2021-10-26 19:49:40 -07:00
Klaus Post
bc69976481 Remove unused Transport option. (#3818) 2021-10-01 11:41:34 -07:00
Anis Elleuch
1bcd5df300 Add ilm restore command (#3790) 2021-09-24 09:32:39 -07:00
Poorna Krishnamoorthy
6bf64d9704 Add multisite replication support in mc replicate cmd (#3766)
Also adding a flag to `mc replicate reset` to allow 
granular replication reset by target
2021-09-15 10:32:28 -07:00
Anis Elleuch
0667914d16 rb: --force flag forces bucket removal after BucketNotEmpty err (#3780)
Some users struggle to remove a bucket when they don't use recommended
setups, such as NFS disks.

This command will force bucket removal in server side, using
x-minio-force-delete during DELETE bucket call.
2021-08-23 07:10:41 -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
Poorna Krishnamoorthy
2c52cdf27c Add flag to mc replicate for existing object replication (#3698)
This allows triggering a resyncing of previously
replicated objects when existing object replication is
enabled. It is useful in scenarios where replication target
is entirely lost and content needs to be replicated again.
2021-06-12 18:02:25 -07:00
Harshavardhana
1402987ccb change license to AGPLv3 2021-05-11 17:45:08 -07:00
Poorna Krishnamoorthy
20e5905de0 Add mc replicate status command (#3684) 2021-04-21 14:05:17 -07:00
Anis Elleuch
a093f822e2 Avoid automatic copy of storage class (#3681) 2021-04-06 10:24:34 -07:00
Anis Elleuch
130f4393bb cp: Copy recursive paths having the passed prefix (#3563) 2021-01-24 00:06:40 -08:00
Harshavardhana
f73987fc34 fix: invalid user-agent release tag for mc (#3575)
fixes #3529
2021-01-20 09:51:52 -08:00
Lenin Alevski
c7989d06bc Support for setting custom Transport in S3Client configuration (#3510) 2020-11-30 20:52:08 -08: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
Harshavardhana
3792e9f906 multiple bug fixes for mirror, ls, rm (#3491)
- fixes errant top level directory creation, regression introduced in #3313
- fixes `mc ls -r` regression introduced in #3476
- fixes other bugs such as `mc mirror` would perpetually hang if the
  destination bucket doesn't exist, create and proceed instead.
- removes DirOpt style implementations for List, ListIncompleteUploads
  these are not useful anymore.
2020-11-15 13:24:00 -08:00
Cesar N
7f2df96e48 Change ListOptions' fields to public (#3433) 2020-10-01 09:50:56 -07:00
Poorna Krishnamoorthy
1ca2182203 Change mc stat output format for bucket info (#3318) 2020-09-30 13:07:19 -07:00
Anis Elleuch
af6cff00a5 retention: Refactor and add support of versioning (#3347) 2020-09-06 10:33:15 -07:00
Anis Elleuch
7f550f9482 legalhold: Refactor & add versioning support (#3343) 2020-09-05 17:11:38 -07:00
Anis Elleuch
a104aa1cb2 tag: Add --version-id support (#3364) 2020-08-25 21:40:09 -07:00