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

added proxy configuration #16

Merged
merged 6 commits into from
Aug 16, 2017
Merged

added proxy configuration #16

merged 6 commits into from
Aug 16, 2017

Conversation

smallsweet
Copy link
Contributor

Hi I've made some changes to the proxy configuration patch, and fixed some conflicts.
Please have another look

@zzebster
Copy link

Is there any chance that this PR will be merged or is this project no longer actively managed?

@dwatson dwatson merged commit bf29713 into MayaraCloud:master Aug 16, 2017
dwatson pushed a commit that referenced this pull request Aug 17, 2017
* working v4 signatures without boto3 being used.

* removed debug messages

* expose AWS bad token errors

* tidy up code

* standardise on s3://<bucket>/<key> for mat for uri and enforce region in the s3auth.conf

* handle bucket errors when not in correct region

* updated README

* Remove erroneous newline from 301 and 400 error messages

* add test message instructions

* fixed default config used

* fixed default config used - to default /etc/apt/s3auth.conf

* ensure that metadata does not prevent region being set

* removed typo from README.md test message

* Need to url unquote the canonical uri before signing to create valid v4 signatures for the S3 API

* Need to canonical url quoted just for '+' before signing to create valid v4 signatures for the S3 API

* Adds retries for operations if they timeout. Delay before N retry is 2^N-1 (#17)

* added proxy configuration (#16)

* added apt configuration (for http proxy)

* typo

* doc fixes

* correct apt syntax in docs

* Use Acquire::http::Proxy as proxy config key

* Add support for path-based bucket name

On Python 2.7.12, this script fails with a `CertificateError` when a bucket name has a dot in it: `my.bucket.s3.amazonaws.com`. This change adds support for the alternative bucket URL, `s3.amazonaws.com/my.bucket/`

* Tidy bucket name finding.

* Fix merge conflicts.

* Merged upstream commits and resolved merge conflicts

* Added proxy instructions back in
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.

None yet

3 participants