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

Removed ova file type from the list of supported decompressors #354

Merged
merged 1 commit into from
Mar 21, 2022

Conversation

nywilken
Copy link
Contributor

This change removes ova files from the list of files to decompress upon downloading. Support for decompressing ova files was added in #351. Which has caused a regression in the Virtualbox plugin for Packer hashicorp/packer#11631.

Thinking about ova files, I wouldn't expect go-getter to treat them as a tarball but instead as a single file to be consumed downstream. An alternative to removing ova from the list of decompressors would be to add the archive=false query parameter to the source path in the Virtualbox plugin (possibly other plugins as well). But I opted not to go that route because the decompressing of ova files seems like an expected behavior.

If having the ova file extension listed as a decompressor is necessary then we may want to consider adding a separate decompressor type with updated logic specifically for ova files, possibly in a minor release.

@azr
Copy link
Contributor

azr commented Mar 21, 2022

Good point, LGTM, it would be nice if we could say archive=true with this option and it'd use tar or something.

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