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
Rework license scripts #185
Rework license scripts #185
Conversation
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.
Writing the license operations in Python a good idea! I made a few comments about minor things. Would you check them?
@@ -29,7 +29,3 @@ e2e: | |||
coverage: | |||
go test -covermode=count -coverprofile=profile.cov $(shell go list ./... | grep -v /vendor/) | |||
go tool cover -func=profile.cov | |||
|
|||
.PHONY: check-license | |||
check-license: |
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.
Why did you remove it?
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.
This target is not used.
And to validate license headers, we can simply do $ python3 ./scripts/license/check.py
.
I think there is no need to use Make.
We can re-add this target later if we need.
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.
LGTM!
621af56
to
222397c
Compare
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.
Thank you!
This is an attempt to reworking #180.
I rewrote the license scripts in Python to
This PR makes a minor modification on
*_k8s.go
files.The current files have "(C)" strings as well as "copyright", so I removed the redundant strings.