-
Notifications
You must be signed in to change notification settings - Fork 63
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 ability to specify the select directories/files to be pulled/outputted. #576
Comments
Hey, thanks for creating this issue, I am sorry for the delay in replying to it. This sounds like an interesting and very scoped issue. I do have some questions about UX for the command:
|
Thanks for considering this and the questions. To the specific questions:
I think whatever you think makes sense in regards to others.
This could go either way. If you have a pattern following for similar scenarios I think consistency is important. Otherwise I would probably default to error out and a person could simply append
I believe so. IMO good design of the tree structure should place all commonly selected items under one directory/area. |
I created some acceptance criteria for this story. Please take a look and see if it makes sense. Scenario 1: 🟢 User specifies does not specify any folder to includeGiven I push an OCI image using
Scenario 2: 🟢 User specifies folder they want to downloadGiven I push an OCI image using
Scenario 3: 🟢 User specifies multiple folders to downloadGiven I push an OCI image using
Scenario 4: 🟢 User specifies a subfolder to downloadGiven I push an OCI image using
Scenario 5: 🔴 User specifies a folder not present in the imageGiven I push an OCI image using
Scenario 6: 🔴 User specifies a folder that is present and one that is not present in the imageGiven I push an OCI image using
Scenario 7: 🔴 User specifies two folders that do not exist in the imageGiven I push an OCI image using
Scenario 8: 🔴 User provides a wildcard in the --include-only flagGiven I push an OCI image using
Scenario 9: 🔴 User provides the flag --include-only and --recursiveGiven I push an OCI image using
Notes: Scenarios 1-8 should work the same way when pushing bundles |
LGTM |
I changed the label to Carvel Accepted, and this issue is ready to be picked up. The maintainers are somewhat backlogged, so I am not 100% sure when we will be able to work on this. I am happy to give any help if someone is interested in giving this a go. |
Unfortunately at current juncture I'm tied up with lots of other items so while I could give it a go, it would be a couple weeks and waiting to know direction of things. |
Describe the problem/challenge you have
I'm trying to extract/pull only a select directory out of a image/package.
Describe the solution you'd like
Ability to specify the select directories/files to be pulled/outputted.
Anything else you would like to add:
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.
The text was updated successfully, but these errors were encountered: