~bigbes/core-go

core-go/objects d---------
objects: force UnsignedPayload for S3 uploads (phoebe-lab patch)

Carried production patch from the phoebe-lab SourceHut deployment
(patches/core-go-checksum.patch). Fixes streaming PutObject to a
non-AWS S3 backend (Garage) over plain HTTP, where the AWS SDK's
dynamic payload middleware only uses UnsignedPayload over HTTPS and
otherwise falls through to ComputePayloadSHA256, which seeks the
non-seekable request body (pages Publish tarball, builds artifact
stream) and fails. Force UnsignedPayload unconditionally and pin the
sigv4 signing region so the endpoint resolver does not reset it.

Not upstreamed.
9ad46439 — Conrad Hoffmann 7 months ago
objects: make `URL()` respect `s3-insecure`

Helpful in development environments where a local S3 instance is used
without HTTPS.
20be483e — Conrad Hoffmann 9 months ago
Don't uppercase error messages
3e875f28 — Conrad Hoffmann 10 months ago
objects: bring back support for plain HTTP

This got lost during the transition from minio to S3 client.
3686f7e2 — Drew DeVault 1 year, 17 days ago
objects: improve support for our s3 deployment

Not sure how well this generalizes but we can improve it when someone
complains.
42a4b67b — Drew DeVault 1 year, 18 days ago
Switch from minio to AWS SDK S3 client

Moves s3 => objects to avoid conflicting with the AWS module.