minio / mc

Simple | Fast tool to manage MinIO clusters :cloud:
https://min.io/download
GNU Affero General Public License v3.0
2.84k stars 543 forks source link

put: Add --disable-multipart to make it easier to use. #5041

Closed llchry closed 1 week ago

llchry commented 1 week ago

put: Add --md5 and --disable-multipart to make it easier to use.

Community Contribution License

All community contributions in this pull request are licensed to the project maintainers under the terms of the Apache 2 license. By creating this pull request I represent that I have the right to license the contributions to the project maintainers under the Apache 2 license.

Description

Add --md5 and --disable-multipart for mc put action

Motivation and Context

Add --md5 and --disable-multipart for mc put action

How to test this PR?

Types of changes

Checklist:

klauspost commented 1 week ago

@harshavardhana @vadmeste @llchry I suggest we hold off on --md5.

I have added checksums to minio-go. While MD5 isn't a checksum in the same sense, it serves the same purpose. So it seems to me like --checksum=MD5|CRC32|CRC32C|SHA1|SHA256 would be a more sensible parameter from a user perspective?

llchry commented 1 week ago

@harshavardhana @vadmeste @llchry I suggest we hold off on --md5.

I have added checksums to minio-go. While MD5 isn't a checksum in the same sense, it serves the same purpose. So it seems to me like --checksum=MD5|CRC32|CRC32C|SHA1|SHA256 would be a more sensible parameter from a user perspective?

Great,that's exactly what I wanted.

klauspost commented 1 week ago

@llchry Just remove the MD5 part. I will do the checksum stuff, since it is a bit more involved. I will ping you on the PR when ready.

llchry commented 1 week ago

@llchry Just remove the MD5 part. I will do the checksum stuff, since it is a bit more involved. I will ping you on the PR when ready.

it has been removed. thanks

klauspost commented 1 week ago

https://github.com/minio/mc/pull/5043 adds checksums across the deck.