-
Notifications
You must be signed in to change notification settings - Fork 716
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
delete go.mod in root directory #2333
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: hwdef The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
The go-mod file in the root directory gets automatically generate when updating go modules under |
Maybe you can find a way to not generate it. This file is actually useless. |
Feel free to open an issue and propose other solutions, but please take care such solutions are not adding any burden to people working in this repo. |
fine. just close this. |
@fabriziopandini |
/assign @neolit123 Can you give me some suggestions? |
TBH, it will be really weird for me to have go.mod in .gitignore, even weirder than having the file itself given that it does not cause any harm As explained before, as a maintainer of this project, I don't want this to get into the way of contributors again given that after the first PR got merged it was regenerated by simply working on kinder/on the operator. Also, as soon as the details about the move of kubeadm out of K/K will be addressed, this file will be required, so any effort to remove it is just temporary. I'm -1 to get this merged |
It is wrong to keep files just because there are no problems, and it will cause more and more garbage. |
@fabriziopandini |
The file was generated working on the operator, but TBH I don't remember if this happened while updating some reference or by running some hack/verify script. |
The file is not needed in general since the root folder is not a module. I
can confirm that something generates it under certain conditions. Instead
of this pr if you can find what of our scripts generates it and change that
behavior it would be the better fix.
|
Fix #1813 again