Move less-maintained boot commands#2924
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2924 +/- ##
=======================================
Coverage 78.11% 78.11%
=======================================
Files 430 430
Lines 43153 43153
=======================================
Hits 33709 33709
Misses 9444 9444
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Signed-off-by: Chris Koch <chrisko@google.com>
Signed-off-by: Chris Koch <chrisko@google.com>
|
@binjip978 I can't reproduce the golangci-lint issues locally, can you help? |
Ah sorry, don't get it right, I will try to look. |
|
@hugelgupf I can't reproduce it locally either with binary or staticcheck. But issue is gone is version will be 1.52.1 or go 1.22, golangci-lint updated 5 days ago, maybe that's related. Maybe we should stick with 1.52.1. Your PR #2929 but with version change. |
johnnylinwiwynn
left a comment
There was a problem hiding this comment.
Moving them from cmds/boot to cmds/exp is fine and makes sense to me.
rminnich
left a comment
There was a problem hiding this comment.
This clears up some confusion, but, still, can we just remove them? Is anyone anywhere using them?
Exp is kind of "stuff somebody is using" but there's no evidence anyone is using these, or am I missing something.
I think I'll let @johnnylinwiwynn speak on that. For now, I'll just move them. I see that the system boot command has moved to pxeboot and boot for the most part, with a fallback to fbnetboot. So perhaps we can delete localboot completely? |
fbnetboot,localboot, andsystembootare not well-maintained here upstream. We get questions from people aboutlocalbootall the time, but as we've merged mostlocalbootfunctionality intobootand most current maintainers are more familiar withbootandpxeboot, let's move them "out" front and recommend those.Fixes #2911
Fixes #2487
Fixes #2483
Fixes #2142