Skip to content

Add optional --url argument#3

Open
rscottbailey wants to merge 9 commits intobrandond:masterfrom
rscottbailey:cloudfront
Open

Add optional --url argument#3
rscottbailey wants to merge 9 commits intobrandond:masterfrom
rscottbailey:cloudfront

Conversation

@rscottbailey
Copy link

@rscottbailey rscottbailey commented Dec 10, 2019

Fixes #2.

This allows the user to use an explicitly-provided URL instead of one generated from the bucket name; it's useful particularly for CloudFront, where we want to expose a FQDN that is totally different from the underlying bucket name.

NB. I am not a git wizard, and there's still some old IO. crud that leaked through despite my best efforts to clean up this PR. Just ignore the obviously non-url-related crud in the diff.

Thanks,
Scott

rscottbailey and others added 9 commits December 10, 2019 12:24
Add some codec twiddling to explicitly convert string-oriented json output
to byte-oriented stream input. I believe this remains backwards-compatible
with python 2.7.
Add an optional `--url` flag; when present, the supplied URL is used in place
of the S3 bucket-based URL. It should be in the form "https://myhost.mydomain"
(without a trailing slash).
Add an optional `--url` flag; when present, the supplied URL is used in place
of the S3 bucket-based URL. It should be in the form "https://myhost.mydomain"
(without a trailing slash).
@brandond
Copy link
Owner

Partially my fault as well for doing a force-push after you forked.

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.

Add CloudFront support

2 participants