-
Notifications
You must be signed in to change notification settings - Fork 459
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
Fix lint issues in target allocator #1090
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.
Should this repo include a license-check
target that ensures these are present? We do this in the Go SDK.
@Aneurysm9, I added the target you recommended - it runs as a part of basic checks: |
Golang-ci is not running on target allocator code. I will be working on getting golang-ci to run on all go modules in the repo and fixing other lint issues in the target allocator. |
29c0174
to
ea04ebb
Compare
@pavolloffay, how was the configuration in .golangci.yaml decided? Other opentelemetry repos have golangci configured in a different way than this one, most notably for There are many
I'm not sure the best path forward to fix these specific fieldalignment issues. |
7f760cf
to
08c1a85
Compare
I am not sure, probably back then I was not working in this repo. You could browse the PR history. I am fine with disabling |
@pavolloffay, bringing the golangci.yaml into alignment with the golangci configs in opentelemetry-collector and opentelemetry-collector-contrib means even more lint fixes. I would rather disable |
Absoulutelly. I am not sure why CI job |
maybe try to squash the commits and rebased the PR |
squash of all current commits on this branch
d699748
to
2b648a6
Compare
Further lint work: #1122 |
@pavolloffay, I think there is an issue from
|
@@ -0,0 +1,13 @@ | |||
Copyright The OpenTelemetry Authors |
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.
could we remove this as well and reuse the header defined in the project root?
* fix lint issues in target allocator files squash of all current commits on this branch * remove addtl golangci config * remove version.txt
I noticed that the target allocator files don't have a copyright at the top. Given how uniform it was, I'm not sure if this was intentional, but I added them here in case they are missing.