-
Notifications
You must be signed in to change notification settings - Fork 69
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
copyright are wrongly updated when doing 'make update' #3
Comments
I did not make any changes. Running ./hack/arktos-up.sh on master, got the following files modified:
Changes: |
Closing this issue - this was not a copyright tool problem. It was triggered due to a missed custom_metric generated file checkin between Jan 24 and Feb 18. Generated file changes and gofmt changes seem to be often missed in PRs due to missed make update before sending PRs. One possible way to prevent this is to reject PRs if make update, make all , make quick-release steps leave any checked-out files. |
… to attempte to pass jenkins CI tests
What happened:
After running 'make update', a lot of unchanged files are updated with new copyright.
What you expected to happen:
No change for unchanged files.
How to reproduce it (as minimally and precisely as possible):
Clean clone Arktos repo, then run 'make update'.
Anything else we need to know?:
Seen these error messages on screen:
Inspecting copyright files, writing logs to _output/ArktosCopyrightTool.log
sed: 1: "/Users/yinding/workspac ...": transform strings are not the same length
In log file, sample error messages are:
Copied file /Users/yinding/workspace/src/k8s.io/kubernetes/pkg/cloudfabric-controller/replicaset/doc.go has K8s copyright but not Arktos copyright. Skipping.
Copied file /Users/yinding/workspace/src/k8s.io/kubernetes/pkg/cloudfabric-controller/replicaset/replica_set_utils.go has K8s copyright but not Arktos copyright. Skipping.
Environment:
kubectl version
):cat /etc/os-release
):uname -a
):The text was updated successfully, but these errors were encountered: