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

Add requester pays support #168

Merged
merged 5 commits into from
Mar 24, 2023

Conversation

arjvik
Copy link
Contributor

@arjvik arjvik commented Mar 19, 2023


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and I agree to the terms of the Developer Certificate of Origin (DCO).

@arjvik arjvik force-pushed the arjvik/requester-pays-flag branch from d8046d5 to f094e31 Compare March 19, 2023 00:23
@arjvik
Copy link
Contributor Author

arjvik commented Mar 19, 2023

Linking to #148, since apparently titles don't get the same treatment as comments

@dannycjones dannycjones self-requested a review March 20, 2023 10:46
Copy link
Contributor

@dannycjones dannycjones left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey, thanks for your contribution!

Added some minor style comments.

mountpoint-s3-client/src/s3_crt_client.rs Outdated Show resolved Hide resolved
mountpoint-s3-client/src/s3_crt_client.rs Outdated Show resolved Hide resolved
@arjvik
Copy link
Contributor Author

arjvik commented Mar 20, 2023

Thanks for the style comments @dannycjones - I committed all of the changes you suggested!

@dannycjones dannycjones self-requested a review March 20, 2023 11:12
Copy link
Contributor

@monthonk monthonk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for taking a look at this feature!

Added some comments about the CLI argument.

mountpoint-s3/src/main.rs Outdated Show resolved Hide resolved
mountpoint-s3/src/main.rs Outdated Show resolved Hide resolved
@dannycjones dannycjones changed the title Add support for --request-payer requester cli flag - Fixes #148 Add requester pays support Mar 20, 2023
Copy link
Contributor

@dannycjones dannycjones left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seconding @monthonk's comments, otherwise LGTM.

@arjvik
Copy link
Contributor Author

arjvik commented Mar 24, 2023

Sorry it took so long to accept those changes :)

When skimming your changes, I didn't realize you were only changing the cli args struct, I figured you intended on changing the Option<string> to a bool everywhere until the actual HTTP client call. So I was waiting until I had some time to re-clone the repo, make the changes, and typecheck everything until actually taking a proper look.

@arjvik
Copy link
Contributor Author

arjvik commented Mar 24, 2023

Otherwise, this should be ready to merge? @monthonk @dannycjones

Copy link
Contributor

@monthonk monthonk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Almost there. We need to rebase to resolve the conflict with current main branch and it should be ready.

mountpoint-s3/src/main.rs Outdated Show resolved Hide resolved
arjvik and others added 5 commits March 24, 2023 11:41
Signed-off-by: Arjun Vikram <arjvik@gmail.com>
Co-authored-by: Daniel Carl Jones <danny@danielcarl.info>
Signed-off-by: Arjun Vikram <arjvik@gmail.com>
Co-authored-by: Daniel Carl Jones <danny@danielcarl.info>
Signed-off-by: Arjun Vikram <arjvik@gmail.com>
Co-authored-by: Daniel Carl Jones <danny@danielcarl.info>
Signed-off-by: Arjun Vikram <arjvik@gmail.com>
Co-authored-by: monthonk <monthonk@amazon.co.uk>
Signed-off-by: Arjun Vikram <arjvik@gmail.com>
@arjvik arjvik force-pushed the arjvik/requester-pays-flag branch from 23ded9d to 4e3ae24 Compare March 24, 2023 16:48
@arjvik arjvik temporarily deployed to PR integration tests March 24, 2023 16:48 — with GitHub Actions Inactive
@arjvik arjvik temporarily deployed to PR integration tests March 24, 2023 16:48 — with GitHub Actions Inactive
@arjvik arjvik temporarily deployed to PR integration tests March 24, 2023 16:48 — with GitHub Actions Inactive
@arjvik
Copy link
Contributor Author

arjvik commented Mar 24, 2023

Rebase complete! @monthonk

Copy link
Contributor

@monthonk monthonk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@dannycjones dannycjones merged commit 5d9a582 into awslabs:main Mar 24, 2023
@dannycjones
Copy link
Contributor

dannycjones commented Mar 24, 2023

Merged - thanks for the contribution! 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants