-
Notifications
You must be signed in to change notification settings - Fork 523
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
Add utility class to decompress archive files #2456
Milestone
Comments
3 tasks
manusa
changed the title
Add JKubeTarUnarchiver utility class to decompress archive files
Add utility class to decompress archive files
Nov 22, 2023
rohanKanojia
added a commit
to rohanKanojia/jkube
that referenced
this issue
Nov 22, 2023
…es (eclipse-jkube#2456) Add JKubeArchiveDecompressor utility class. It's extractArchive method would extract the utility class to specified folder. It only supports `.tgz` and `.zip` files at the moment. Signed-off-by: Rohan Kumar <[email protected]>
rohanKanojia
added a commit
to rohanKanojia/jkube
that referenced
this issue
Nov 22, 2023
…es (eclipse-jkube#2456) Add JKubeArchiveDecompressor utility class. It's extractArchive method would extract the utility class to specified folder. It only supports `.tgz` and `.zip` files at the moment. Signed-off-by: Rohan Kumar <[email protected]>
17 tasks
rohanKanojia
added a commit
to rohanKanojia/jkube
that referenced
this issue
Nov 22, 2023
…es (eclipse-jkube#2456) Add JKubeArchiveDecompressor utility class. It's extractArchive method would extract the utility class to specified folder. It only supports `.tgz` and `.zip` files at the moment. Signed-off-by: Rohan Kumar <[email protected]>
rohanKanojia
added a commit
to rohanKanojia/jkube
that referenced
this issue
Nov 22, 2023
…es (eclipse-jkube#2456) Add JKubeArchiveDecompressor utility class. It's extractArchive method would extract the utility class to specified folder. It only supports `.tgz` and `.zip` files at the moment. Signed-off-by: Rohan Kumar <[email protected]>
rohanKanojia
added a commit
to rohanKanojia/jkube
that referenced
this issue
Nov 22, 2023
…es (eclipse-jkube#2456) Add JKubeArchiveDecompressor utility class. It's extractArchive method would extract the utility class to specified folder. It only supports `.tgz` and `.zip` files at the moment. Signed-off-by: Rohan Kumar <[email protected]>
rohanKanojia
added a commit
to rohanKanojia/jkube
that referenced
this issue
Nov 23, 2023
…es (eclipse-jkube#2456) Add JKubeArchiveDecompressor utility class. It's extractArchive method would extract the utility class to specified folder. It only supports `.tgz` and `.zip` files at the moment. Signed-off-by: Rohan Kumar <[email protected]>
manusa
pushed a commit
that referenced
this issue
Nov 24, 2023
…es (#2456) Add JKubeArchiveDecompressor utility class. It's extractArchive method would extract the utility class to specified folder. It only supports `.tgz` and `.zip` files at the moment. Signed-off-by: Rohan Kumar <[email protected]>
6 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Component
JKube Kit
Task description
Part of #439
Related to #2454
As a JKube developer, I want to be able to let JKube extract a downloaded tar-gzipped or zip archive containing a Buildpacks CLI (pack) for my platform and system architecture to the specified directory, so that I can invoke a consistent version of the CLI tool (see #2453).
The required archive types for decompression should be:
.tgz
.zip
Implementation
Utility should be implemented in the
org.eclipse.jkube.kit.common.archive
package of thejkube-kit-common
module.The utility should provide a
extractArchive(File inputFile, File targetDirectory)
.For the Buildpacks CLI case, we should consider if the archive wraps a directory and see how to take care of this in order to locate the binary (probably belongs to #2454).
The text was updated successfully, but these errors were encountered: