-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
failed to initialize project with "go.kubebuilder.io/v3" #1971
Comments
You have a But I get the exact same error without a |
The error also triggers in a new git repo without anything present but a |
See the error |
@camilamacedo86 So, I cannot initialize a project which is checked out of Github? This does not make sense as I have a template with which I normally start a new project and I cannot use it due to this issue. In my knowledge, I have several dotfiles and folders that are part of our automation. And the error states that dotfiles and dot-folders are indeed allowed. So, this is a bug with either the code or the message. |
Kubebuilder should allow initing the project in a directory with files/directories which starts with (.) and that has go.mod already. However, other directories not because then we cannot ensure that the tool will do the scaffold properly. You can init the project and then, push your changes to the top as all. Are you facing issues when you have a file/directory whcih has the prefix (.)? If yes, we need to fix that. Could you check my comments in your PR and change the fix to ensure that only these scenarios will be allowed? Also, please let me know if it makes sense for you or not. Also, please feel free to raise your suggestions regards to it. |
@camilamacedo86 I tried again with only .git and go.mod and it still failed with the same issue |
This bug was already discovered and #1944 is working on fixing it. Sorry for the inconvenience. |
|
This should be fixed by #1944, if you find that it is still bugged please reopen this issue. /close |
@Adirio: Closing this issue. 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/test-infra repository. |
/kind bug
The text was updated successfully, but these errors were encountered: