trinity-1686a
trinity-1686a created branch error-anonymous in trinity-1686a/garage 2021-12-18 20:10:07 +00:00
trinity-1686a pushed to error-anonymous at trinity-1686a/garage 2021-12-18 20:10:07 +00:00
945b75dbf1 update s3 compatibility list (#177)
ca7b438f3f less strict ListBuckets (#178)
1eb972b1ac Add compression using zstd (#173)
60d4459926 BucketWebsite (#174)
Compare 4 commits »
trinity-1686a commented on pull request Deuxfleurs/garage#172 2021-12-18 17:14:10 +00:00
New model for buckets

would it make sense to be bucket owner without read nor write permission?

trinity-1686a commented on pull request Deuxfleurs/garage#172 2021-12-18 17:14:10 +00:00
New model for buckets

this is a lot of indentation. It may be possible to remove a few layers by using Option::and_then, and doing `param.aliases.items().filter(

trinity-1686a commented on pull request Deuxfleurs/garage#172 2021-12-18 16:55:16 +00:00
New model for buckets

I understand now, but I'm not sure it's well fit to some place it's used. For website configuration, if two updates happen at the same time, I think it makes more sense to consider an arbitrary one…

trinity-1686a commented on pull request Deuxfleurs/garage#172 2021-12-18 15:48:44 +00:00
New model for buckets

this is the equivalent to garage default config in 0.5.0

trinity-1686a commented on pull request Deuxfleurs/garage#172 2021-12-17 13:17:32 +00:00
New model for buckets

could you add a comment saying that?

trinity-1686a commented on pull request Deuxfleurs/garage#172 2021-12-16 23:32:26 +00:00
New model for buckets

I find this implementation surprising. I'd expect Some(true) and Some(false) to be merged to Some(true), not None.

trinity-1686a commented on pull request Deuxfleurs/garage#172 2021-12-16 23:32:26 +00:00
New model for buckets

allow_owner is not merged. Is it sementically read-only hence don't needs to (if so, please document it), or just forgotten?

trinity-1686a commented on pull request Deuxfleurs/garage#172 2021-12-16 23:32:26 +00:00
New model for buckets

I'd argue only website_config should exist, with a Some(_) generated automatically when migrating from 0.5 with website enabled.

trinity-1686a commented on pull request Deuxfleurs/garage#172 2021-12-16 23:32:26 +00:00
New model for buckets

can't this pose problem if someone create a bucket which name is hex of the right size?

trinity-1686a commented on pull request Deuxfleurs/garage#172 2021-12-16 23:32:26 +00:00
New model for buckets

I don't think this lint is required

trinity-1686a commented on pull request Deuxfleurs/garage#172 2021-12-16 23:32:26 +00:00
New model for buckets

I think this link could be one line lower to only cover the "offending" function

trinity-1686a commented on pull request Deuxfleurs/garage#172 2021-12-16 23:32:26 +00:00
New model for buckets

there is a .get_bucket() on Endpoint which can be used to do the same thing more concisely

trinity-1686a commented on pull request Deuxfleurs/garage#172 2021-12-16 23:32:26 +00:00
New model for buckets

first round of review (up to model sub-crate, I did not get the time to go further).

trinity-1686a commented on pull request Deuxfleurs/garage#156 2021-12-15 14:53:20 +00:00
Support STREAMING-AWS4-HMAC-SHA256-PAYLOAD (#64)

instead of recalculating the signing key from date, secret_key and region each time, couldn't check_streaming_payload_signature take the precomputed signing key? It would cut down on parameters/fieds here and in SignedPayloadChunker, and be (negligeably) faster due to less hmac computation

trinity-1686a deleted branch less-strict-list-bucket from trinity-1686a/garage 2021-12-15 14:23:30 +00:00
trinity-1686a deleted branch update-compat from trinity-1686a/garage 2021-12-15 14:23:26 +00:00
trinity-1686a pushed to update-compat at trinity-1686a/garage 2021-12-15 13:47:24 +00:00
b15a22940c promote lifecycle endpoints to C-tier
trinity-1686a created pull request Deuxfleurs/garage#178 2021-12-15 13:31:43 +00:00
less strict ListBuckets