-
Notifications
You must be signed in to change notification settings - Fork 372
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
Remove sub go.mod from cmd #424
Conversation
Actually it helps us split dependencies between krew and these tools. It’s not the worst idea to keep these. |
Interesting. Our linter doesn't find this issue when the I think the biggest reason for removing the submodule is that we don't need to bother about keeping the krew version in sync with the main module there. However, we could also achieve that with a On the other hand, it's nice that we can add dependencies to the submodules without poisoning the main krew module. Overall, I'm slightly in favor of keeping the status quo. Just because it improves the separation of krew and its associated utils. But I'm open for other improvements which reduce the maintenance overhead. |
Technically, the go.mod at the root should be requiring more pkgs now that the child go.mod's are deleted. But I don't see that happening, weird. I feel like within travis it might be editing go.mod (during |
I guess indeed these two tools don't really add new deps to Krew. |
Following is from go modules wiki:
Similarly,
Still, for a release, it needs a version bump.
Exactly.
Sounds good, I will check what is failing. |
stuff like these are intrusive. if we can disable these sometime, I really appreciate. It does the same for simple slice allocations without count specified, there's like no point. |
Ok, I will make a separate pass for it. |
Codecov Report
@@ Coverage Diff @@
## master #424 +/- ##
=======================================
Coverage 56.41% 56.41%
=======================================
Files 19 19
Lines 927 927
=======================================
Hits 523 523
Misses 349 349
Partials 55 55 Continue to review full report at Codecov.
|
/lgtm can you please make sure krew-index CI still works in terms of fetching these tools? |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ahmetb, ferhatelmas 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 |
Mental note: need to understand this better. |
Also I think the Stuff like |
@ahmetb Looks good. |
remove cmd/* gomod since they don't bring the benefits they were supposed to bring.
context of how it was realized: #422 (comment)