-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Address nits on localize
proposal and correct mistakes
#4668
Address nits on localize
proposal and correct mistakes
#4668
Conversation
Hi @annasong20. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/ok-to-test |
proposals/22-04-localize-command.md
Outdated
</pre> | ||
|
||
where the arguments are: | ||
|
||
* `target`: a directory with a top-level kustomization file that kustomize will localize; can be a path to a local | ||
directory or a url to a remote directory | ||
* `newDir`: optional destination directory of the localized copy of `target`; if not specified, the destination is a | ||
directory named `localized-{target}` in the same directory as `scope` | ||
directory named `localized-{target}` in the working directory |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a divergence from our previous discussions. I propose this change because there is no way to create newDir
in the same directory as a remote scope
. In such a case, I believe creating newDir
in the working directory of the command line is the most intuitive alternative. We could specify different default newDir
locations for local vs. remote scope
s and create newDir
next to local scope
s, but this is more work for the user to remember.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The working directory sounds like a reasonable default, but I didn't realize we intended to support situations where even the target itself is remote. If that's the case, I think we should clarify that in the arguments (e.g. "a directory" sounds local to me) and maybe add a user story for that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should clarify that in the arguments (e.g. "a directory" sounds local to me)
Under target
's description, after the semicolon, we mention "can be ... a url to a remote directory". Is this enough?
and maybe add a user story for that.
Sure! I'll add one.
localize
proposal and correct mistakes
Remove scope, add ref, add user story
@annasong20: This PR has multiple commits, and the default merge method is: merge. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/label tide/merge-method-squash |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: annasong20, KnVerey The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Address Katrina's final feedback on and correct other mistakes in #4590