-
Notifications
You must be signed in to change notification settings - Fork 71
fix typos and upstream library.sh changes #196
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
base: vendor-cleanup
Are you sure you want to change the base?
Conversation
[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 |
/lgtm |
@upodroid do you want to merge this in or close out? |
oh whoops closed this by accident |
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 |
There was a problem hiding this comment.
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.
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