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

Fixes s3cmd#1197 - add custom header for s3cmd mb #1198

Merged
merged 1 commit into from
Sep 26, 2021

Conversation

sebvajda
Copy link
Contributor

@sebvajda sebvajda commented Jun 30, 2021

In the Cloudian Hyperstore S3 software stack (www.cloudian.com) bucket creation can take an extra header to specify a storage policy id.

s3cmd mb silently ignores custom headers as specified with the --add-header option.

s3cmd and S3/S3.py updated to pass custom header to the S3 stack.

@sihara
Copy link

sihara commented Sep 19, 2021

I also needed '--add-header' at the bucket creation and added codes myself. However, in the end, I found this commit which was exactly same of what I did. I totally agreed this patch and would proceed review to merge.

@fviard fviard added this to the 2.2.0 milestone Sep 26, 2021
@fviard fviard merged commit 0e9044b into s3tools:master Sep 26, 2021
@fviard
Copy link
Contributor

fviard commented Sep 26, 2021

Merged, thank you for your contribution!

Btw, if there are specific instructions to configure s3cmd to be used with Cloudian, don't hesitate to add the info to the following wiki page:
https://github.com/s3tools/s3cmd/wiki/How-to-configure-s3cmd-for-alternative-S3-compatible-services

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants