feat: add keepdeps.go to preserve mod clean in opensource version#11752
feat: add keepdeps.go to preserve mod clean in opensource version#11752ssongliu merged 2 commits into1Panel-dev:dev-v2from
Conversation
|
Adding the "do-not-merge/release-note-label-needed" label because no release-note block was detected, please follow our release note process to remove it. DetailsInstructions 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. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
pr #11751 下面已经有这个修改了 |
…anel-dev#11752) * feat: add keepdeps.go to preserve enterprise-only dependencies in OSS builds * feat: migrate keepdeps.go to core/deps for OSS builds
What this PR does / why we need it?
xpack 专业版应该是用了两个额外的依赖,开源版本因为没这连个依赖,所以go mod tidy会移除,导致其他版本ci编译失败。
添加占位文件避免其他贡献者 tidy 误删除
此 pr 比较 hack,需要讨论是否需要这么做