-
Notifications
You must be signed in to change notification settings - Fork 26
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
vacation: handle compressed non-tar archives #258
vacation: handle compressed non-tar archives #258
Conversation
Support use case where the archive is a gzipped executable. Signed-off-by: Mikey Boldt <mboldt@vmware.com>
Rename the compression archive types to not imply tar contents. Write executable file to the bin/ directory with the given name. Signed-off-by: Mikey Boldt <mboldt@vmware.com>
Hey there @mboldt, this change looks pretty good and I like the overall idea. Before moving forward however, the PR does not currently pass the unit test for this repo. If you could get those going green that would be fantastic. You can run the test locally with |
Rename the compression archive types to not imply tar contents. Write executable file to the bin/ directory with the given name. Signed-off-by: Mikey Boldt <mboldt@vmware.com>
…into handle-compressed-non-tar
Unit tests fixed; apologies for missing that before. |
@mboldt It looks like there are still a couple of stale name in the |
Yes, just noticed and fixed that, and fixed one more thing the linter caught. Thank you. |
@paketo-buildpacks/tooling-maintainers Seeing how this seems like a major version change I would like to get one other person to sign off on this. |
@ForestEckhardt / @paketo-buildpacks/tooling-maintainers These changes make sense to me, although I am wondering if there is a way we could introduce these changes in a non-breaking way? I understand this is the best implementation to reduce complexity/code duplication by making the types non-specific to tar. I haven't personally contributed much to vacation so I'll defer to you on that Forest |
Some thoughts on various approaches:
Hopefully that helps us think through some of these options. I am happy to rework the implementation based on discussion/feedback. |
@mboldt Thank you for laying these out! It's probably worth pointing out that breaking changes are not the end of the world for us. Edit: This actually won't be a huge issue at all, we are already going to be cutting a major release with some other changes, and these changes will be used within other packit packages. All good with these changes as is. |
Summary
Add support for compressed files that are not tar archives.
In particular, my buildpack has a dependency that is a gzipped executable.
Use Cases
My use case is the Elm compiler, which is distributed as a gzipped executable.
Checklist