Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: include region when initializing storage #270

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

imnotjames
Copy link
Contributor

@imnotjames imnotjames commented Jun 30, 2024

Purpose/Motivation

without the region being set in the minio client, using codecov with garage, the s3 compatible storage system fails

the api_archive.storage module isn't pulling in the region as expected which causes the region to be ignored in some cases

this adds the region back similar to the codecov-api repo at codecov/codecov-api#478

What does this PR do?

allow a user to set the minio client region when creating a client

Legal Boilerplate

Look, I get it. The entity doing business as "Sentry" was incorporated in the State of Delaware in 2015 as Functional Software, Inc. In 2022 this entity acquired Codecov and as result Sentry is going to need some rights from me in order to utilize my contributions in this PR. So here's the deal: I retain all rights, title and interest in and to my contributions, and by keeping this boilerplate intact I confirm that Sentry can use, modify, copy, and redistribute my contributions, under Sentry's choice of terms.

the `api_archive.storage` module isn't pulling in the region as expected which causes the region to be ignored in some cases

this adds the region back similar to the `codecov-api` repo
@imnotjames
Copy link
Contributor Author

not sure why this was copied but it means the same changes need to be applied here, too, and they weren't

@imnotjames imnotjames marked this pull request as ready for review June 30, 2024 06:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant