Skip to content

Conversation

upodroid
Copy link
Member

@upodroid upodroid commented Jul 14, 2022

Part of knative/infra#134

I'm putting this in a separate branch so the changes can be synced by knobots and avoid shipping this to other repos via go module.

Will merge this to main once all repos have been fixed.

/cc @kvmware @evankanderson

@knative-prow knative-prow bot requested review from evankanderson and krsna-m July 14, 2022 15:44
@knative-prow
Copy link

knative-prow bot commented Jul 14, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: upodroid

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

@knative-prow knative-prow bot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Jul 14, 2022
@krsna-m
Copy link
Contributor

krsna-m commented May 30, 2023

/lgtm
/hold unhold when ready

@knative-prow knative-prow bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label May 30, 2023
@knative-prow knative-prow bot added the lgtm Indicates that a PR is ready to be merged. label May 30, 2023
@dprotaso
Copy link
Member

@upodroid do you want to merge this in or close out?

@dprotaso dprotaso deleted the branch vendor-cleanup August 19, 2025 20:55
@dprotaso dprotaso closed this Aug 19, 2025
@dprotaso
Copy link
Member

oh whoops closed this by accident

@dprotaso dprotaso reopened this Aug 19, 2025
Comment on lines -644 to -659
group "Removing unwanted vendor files"

# Remove unwanted vendor files
find vendor/ \( -name "OWNERS" \
-o -name "OWNERS_ALIASES" \
-o -name "BUILD" \
-o -name "BUILD.bazel" \
-o -name "*_test.go" \) -exec rm -f {} +

export GOFLAGS=-mod=vendor

group "Updating licenses"
update_licenses third_party/VENDOR-LICENSE "./..."

group "Removing broken symlinks"
remove_broken_symlinks ./vendor
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is still needed, as not all repos are vendorless.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. lgtm Indicates that a PR is ready to be merged. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants