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

🐛 Bucket getdir #525

Merged
merged 3 commits into from
Oct 17, 2023
Merged

🐛 Bucket getdir #525

merged 3 commits into from
Oct 17, 2023

Conversation

jortel
Copy link
Contributor

@jortel jortel commented Oct 17, 2023

The refactor to using the new tar package accidentally removed setting the X-Directory:Expand.
As a result, the client is not expanding downloaded directory (tarball).


Fixed API tests. The bucket directory test really needs 2+ files to be accurate. It missed this issue.
Added the task bucket (subresource) test for symmetry.

Signed-off-by: Jeff Ortel <jortel@redhat.com>
Signed-off-by: Jeff Ortel <jortel@redhat.com>
}
h.Attachment(ctx, pathlib.Base(input)+".tar.gz")
ctx.Writer.Header().Set(Directory, DirectoryExpand)
Copy link
Contributor Author

@jortel jortel Oct 17, 2023

Choose a reason for hiding this comment

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

hint: Add header ^

Signed-off-by: Jeff Ortel <jortel@redhat.com>
@jortel jortel merged commit f53137d into konveyor:main Oct 17, 2023
12 checks passed
aufi pushed a commit to aufi/tackle2-hub that referenced this pull request Oct 30, 2023
The refactor to using the new `tar` package accidentally removed setting
the X-Directory:Expand.
As a result, the client is not expanding downloaded directory (tarball).

---

Fixed API tests. The bucket directory test really needs 2+ files to be
accurate. It missed this issue.
Added the task bucket (subresource) test for symmetry.

---------

Signed-off-by: Jeff Ortel <jortel@redhat.com>
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.

2 participants