carvel-dev / carvel-dev/imgpkg
Allow directly pushing archives, in particular ZIP or JAR
- Dominant language
- Go
- Stars
- 284
- Forks
- 70
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the problem/challenge you have**
In a popular workflow that enables a premade JAR to be accessible to Cartographer's `source.image` reference you actually need 2 steps:
1. unzip the JAR file
2. imgpkg push the contents of the JAR file.
Several CLI implementations do this transparently, but those CLIs are serving other products primarily and do not offer a generic experience, in particular if you're not leveraging the products those CLIs are serving.
**Describe the solution you'd like**
`imgpkg push --archive` that would detect a zip, jar, or maybe even tar and push those contents.
---
Vote on this request
This is an invitation to the community to vote on issues, to help us prioritize our backlog. Use the "smiley face" up to the right of this comment to vote.
👍 "I would like to see this addressed as soon as possible"
👎 "There are other more important things to focus on right now"
We are also happy to receive and review Pull Requests if you want to help work on this issue.
Contributor guide
Research direction
The requested entry point is the `imgpkg push --archive` CLI option; the issue names no files or tests. Start by tracing the existing `imgpkg push` command and define the supported archive formats, including whether TAR is in scope. Done means ZIP and JAR contents can be pushed directly without manual extraction, with tests covering the agreed formats.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100