Skip to content

fix: cp command S3toS3 --content-type flag - #739

Merged
igungor merged 11 commits into
peak:masterfrom
4o4x:issiue738-cp-content-type
Jul 26, 2024
Merged

igungor merged 11 commits into
peak:masterfrom
4o4x:issiue738-cp-content-type

Conversation

@4o4x

@4o4x 4o4x commented Jul 10, 2024 •

Copy link
Copy Markdown
Contributor

In s5cmd, the --content-type flag does not work when performing an S3 to S3 copy operation with the cp command.

Added tests addressing this issue.

resolves #738

@4o4x
4o4x requested review from a team, denizsurmeli and igungor and removed request for a team July 10, 2024 15:29
@denizsurmeli

Copy link
Copy Markdown
Contributor

Hi, thanks for the PR, can you edit the PR description that indicating #738 is resolved by adding "Resolves #PR" in a seperate line. You can take a look at this for full reference.

@ilkinulas

Copy link
Copy Markdown
Member

@4o4x is this PR ready for review? if not ready, convert it to draft please.

@4o4x
4o4x marked this pull request as draft July 12, 2024 10:03
@4o4x
4o4x marked this pull request as ready for review July 12, 2024 12:59
@denizsurmeli

Copy link
Copy Markdown
Contributor

@4o4x tests fail. Can you fix them? Then the PR can be reviewed.

Comment thread storage/s3.go Resolved
Comment thread command/cp.go Resolved
Comment thread e2e/cp_test.go Resolved
Comment thread e2e/cp_test.go Resolved
Comment thread e2e/cp_test.go Resolved
Comment thread command/cp.go Resolved
Comment thread e2e/cp_test.go Resolved
Comment thread e2e/cp_test.go Resolved
Comment thread e2e/cp_test.go Resolved
Comment thread e2e/cp_test.go Resolved
Comment thread e2e/cp_test.go Resolved
Comment thread e2e/cp_test.go Resolved
Comment thread e2e/cp_test.go Resolved
denizsurmeli
denizsurmeli previously approved these changes Jul 23, 2024

@igungor igungor left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Could you update Changelog file?

@4o4x
4o4x force-pushed the issiue738-cp-content-type branch from b3fd16f to bafc979 Compare July 26, 2024 13:08
Comment thread CHANGELOG.md Resolved
@igungor
igungor merged commit c280956 into peak:master Jul 26, 2024
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.

cp command S3toS3 --content-type flag not working

4 participants