Skip to content
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 vendor directory #5807

Closed

Conversation

fmuyassarov
Copy link
Member

What type of PR is this?

/kind cleanup

What this PR does / why we need it:

Drop the following vendor directories

./addon-resizer/vendor
./vertical-pod-autoscaler/vendor
./vertical-pod-autoscaler/e2e/vendor
./cluster-autoscaler/vendor

Which issue(s) this PR fixes:

Fixes #4878

Special notes for your reviewer:

Does this PR introduce a user-facing change?

NONE


Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.:


@k8s-ci-robot k8s-ci-robot added kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels May 24, 2023
@fmuyassarov fmuyassarov changed the title Remove vendor directory and use go.mod Remove vendor directory May 24, 2023
@fmuyassarov
Copy link
Member Author

/assign @x13n

@fmuyassarov
Copy link
Member Author

Ops, seems I missed my second commit.
/hold

@fmuyassarov
Copy link
Member Author

/hold

@k8s-ci-robot k8s-ci-robot added do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. labels May 24, 2023
@k8s-ci-robot k8s-ci-robot requested a review from BigDarkClown May 24, 2023 10:11
@k8s-ci-robot k8s-ci-robot requested a review from jbartosik May 24, 2023 10:11
@x13n
Copy link
Member

x13n commented May 26, 2023

This PR is humongous, can you scope it down just to Cluster Autoscaler?

@fmuyassarov
Copy link
Member Author

fmuyassarov commented May 26, 2023

This PR is humongous, can you scope it down just to Cluster Autoscaler?

Yes I will do so. There is a second commit I had and I was not able to push it yet because I haven't fixed all the failing tests locally yet. Perhaps it would simply it for both me and reviewers.

@x13n
Copy link
Member

x13n commented May 26, 2023

Thanks! Btw, removing vendor is just a part of the task here - we also need to step referencing it e.g. in Makefile:

test -z "$$(find . -path ./vendor -prune -type f -o -name '*.go' -exec gofmt -s -d {} + | tee /dev/stderr)" || \
test -z "$$(find . -path ./vendor -prune -type f -o -name '*.go' -exec gofmt -s -w {} + | tee /dev/stderr)"

@fmuyassarov
Copy link
Member Author

fmuyassarov commented May 26, 2023

Thanks! Btw, removing vendor is just a part of the task here - we also need to step referencing it e.g. in Makefile:

test -z "$$(find . -path ./vendor -prune -type f -o -name '*.go' -exec gofmt -s -d {} + | tee /dev/stderr)" || \
test -z "$$(find . -path ./vendor -prune -type f -o -name '*.go' -exec gofmt -s -w {} + | tee /dev/stderr)"

yes, that I did as part of second commit (which is not pushed here yet).

@jbartosik
Copy link
Collaborator

Please remove vendor only for Cluster Autoscaler (now it's removing also addon resizer vendor)

@x13n
Copy link
Member

x13n commented Jun 16, 2023

Hey @fmuyassarov , are you still working on this one?

@k8s-ci-robot k8s-ci-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jun 16, 2023
@fmuyassarov
Copy link
Member Author

Hey @fmuyassarov , are you still working on this one?

Hi @x13n . Sorry for the radio silence here. I was busy with some other proprieties. I will have time during the week to rebase and update the PR according to the comments above.

@fmuyassarov fmuyassarov force-pushed the devel/drop-vendoring branch from 30b26e7 to 694a5a3 Compare June 28, 2023 10:25
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: fmuyassarov
Once this PR has been reviewed and has the lgtm label, please ask for approval from x13n. For more information see the Kubernetes Code Review Process.

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@fmuyassarov fmuyassarov force-pushed the devel/drop-vendoring branch from 694a5a3 to b070d54 Compare June 28, 2023 10:30
@k8s-ci-robot k8s-ci-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jun 28, 2023
@x13n
Copy link
Member

x13n commented Jun 30, 2023

Can we have a warning first? See discussion on #4878

@k8s-ci-robot k8s-ci-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jul 26, 2023
@k8s-ci-robot
Copy link
Contributor

PR needs rebase.

Instructions 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/test-infra repository.

@x13n
Copy link
Member

x13n commented Aug 18, 2023

Looks like this is no longer being worked on, so closing. Feel free to reopen if you have a chance to get back to this.

/close

@k8s-ci-robot
Copy link
Contributor

@x13n: Closed this PR.

In response to this:

Looks like this is no longer being worked on, so closing. Feel free to reopen if you have a chance to get back to this.

/close

Instructions 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/test-infra repository.

@fmuyassarov fmuyassarov deleted the devel/drop-vendoring branch February 26, 2024 21:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/addon-resizer area/cluster-autoscaler cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Abandon checked-in vendor directory in Cluster Autoscaler
4 participants