-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
🐛 fix: disallow files containing unwanted files when initializing a project #4510
base: master
Are you sure you want to change the base?
Conversation
Welcome @afzal442! |
Hi @afzal442. 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-sigs/prow repository. |
.go
or .yaml
ext files when initializing a projectThere 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.
Hi @afzal442,
That is great!
Could we just:
a) Improve the text message for:
"Target directory is not empty and contains a disallowed file %q. Files with the following extensions [%s] are not allowed to avoid conflicts with the tooling."
b) For this to be merged, we need it to be in a single commit. To maintain a clean git history and follow the general policy of Kubernetes projects (one PR, one commit, one change), could you please squash the commits? This makes it easier to revert changes if needed.
Otherwise, everything looks great here! As soon as you address these, we can get this merged.
Thank you so much for your contribution 🥇 – it's really great work!
c4ab8d5
to
bb1b899
Compare
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.
/lgtm
/ok-to-test
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: afzal442, camilamacedo86 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 |
/override pull-kubebuilder-e2e-k8s-1-32-0 |
@camilamacedo86: Overrode contexts on behalf of camilamacedo86: pull-kubebuilder-e2e-k8s-1-32-0 In response to this:
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-sigs/prow repository. |
Hi @afzal442 Can you please rebase your branch with master? we need to fix it. |
bb1b899
to
4e37805
Compare
New changes are detected. LGTM label has been removed. |
4e37805
to
d2968d1
Compare
/test pull-kubebuilder-e2e-k8s-1-32-0 |
@afzal442: The following test failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. 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-sigs/prow repository. I understand the commands that are listed here. |
/overwrite pull-kubebuilder-e2e-k8s-1-32-0 (The prow is broken) |
Fixes: #4487