carvel-dev / carvel-dev/imgpkg
Allow for file exclusions based on entries in an .imgpkgignore file - similar to .gitignore
- Dominant language
- Go
- Stars
- 284
- Forks
- 70
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the problem/challenge you have**
[A description of the current challenge that you are experiencing.]
I'm creating an image for the contents of a git repo, would like to exclude some files/directories when the image is generated - I can try to use --file-exclusion but it would be convenient to have something like a `.imgpkgignore` file, similar to `.gitignore` or `.tiltignore`
**Describe the solution you'd like**
[A clear and concise description of what you want to happen. If applicable a visual representation of the UX (ex: new CLI argument name, the behavior expected).]
it would be convenient to have something like a `.imgpkgignore` file, similar to `.gitignore` or `.tiltignore` where I could specify these file exclusions
**Anything else you would like to add:**
[Additional information that will assist in solving the issue.]
---
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
Start by locating the CLI implementation of --file-exclusion and the image-generation entry point. Compare the requested .imgpkgignore behavior with the existing exclusion mechanism and the referenced .gitignore or .tiltignore patterns. Done means exclusions declared in .imgpkgignore are applied when the image is generated.
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