sriov-network-device-plugin icon indicating copy to clipboard operation
sriov-network-device-plugin copied to clipboard

Get rid of vendoring

Open jaypipes opened this issue 1 year ago • 7 comments
trafficstars

Hi! I'm wondering if you would be OK with a pull request that removes the vendor/ directory and uses only Go modules for dependency management?

We (Microsoft Network Cloud) have a mirror of this repo internally for software supply chain purposes and the vendor/ directory makes the mirror maintenance unnecessarily painful. Modern Go and modules are a cleaner, more maintainable way to manage dependencies...

jaypipes avatar Mar 12 '24 14:03 jaypipes

Hi @jaypipes, im ok with this change.

@SchSeba @Eoghan1232 WDYT?

i dont remember if for openshift this is needed.

adrianchiris avatar Mar 12 '24 15:03 adrianchiris

I am happy for it to go :) but afaik, it's a requirement on the RH side? @SchSeba

Eoghan1232 avatar Mar 12 '24 16:03 Eoghan1232

@ffromani what say you, Red Hatter? :)

Also, Francesco, I'll be submitting similar PRs to remove vendoring from all the topologyawarewg repos!

jaypipes avatar Mar 12 '24 21:03 jaypipes

@ffromani what say you, Red Hatter? :)

Also, Francesco, I'll be submitting similar PRs to remove vendoring from all the topologyawarewg repos!

Can't comment for this repo (@SchSeba / @zeeke are better candidates), but I'm willing to experiment for the repos I maintain

ffromani avatar Mar 13 '24 07:03 ffromani

Looks good to me!

We already have examples of upstream-no-vendor/downstream-vendored projects. (https://github.com/metallb/metallb-operator / https://github.com/openshift/metallb-operator).

Getting rid of the vendor folder in opeshift/* forks requires a little more work (don't have all the details ATM) to adjust the delivery pipeline, but it can be unrelated to this repository

zeeke avatar Mar 13 '24 07:03 zeeke

I'm fully on board with this. We should do it in all k8snetworkplumbingwg repos

bn222 avatar Mar 14 '24 12:03 bn222

@bn222 @zeeke hello! Any chance I can get reviews on the two PRs submitted that remove vendoring from multus-cni and sriov-network-device-plugin? Thanks much in advance! :)

jaypipes avatar Apr 16 '24 12:04 jaypipes

closing https://github.com/k8snetworkplumbingwg/sriov-network-device-plugin/pull/548

SchSeba avatar Aug 19 '24 13:08 SchSeba