-
Notifications
You must be signed in to change notification settings - Fork 247
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 inconsitent go build tags #1417
Conversation
Lint is broken. |
d428827
to
18ee330
Compare
Run `go fmt ./...` which automatically adds the new build tag syntax. This change is backwards compatible. Signed-off-by: Paul Holzinger <[email protected]>
Make sure all PRs are formated with `go fmt` correctly. I added it to the existing lint job as this seems to make the most sense to me. Signed-off-by: Paul Holzinger <[email protected]>
It is impossible to have this passing because it did not run in CI and invalid commit were merged since the fixed commit. The correct way should be to always use the merge base commit instead, at least this will only check commit that are actually part of the PR not all which is wasteful. Also removed unused $PATH overwrite and $GITVALIDATE_FLAGS var. Signed-off-by: Paul Holzinger <[email protected]>
This should good now, the one failure is caused by a CI issue. I do not have permission to restart it here. |
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
/hold
looks like it needs a rebase |
@rhatdan i think would be nice to get this vendored into podman, buildah, skopeo soon as possible. |
@lsm5 did you checked if it fixes your issue? |
Didn't check prior. Anyway, trying to vendor it now on f37 with golang v1.19.2 and I'm seeing unrelated vendoring issues
I'll spin up a c9s vm in a bit and look further |
Run
go fmt ./...
which automatically adds the new build tag syntax.This change is backwards compatible.
CI: run make local-validate
Make sure all PRs are formated with
go fmt
correctly.I added it to the existing lint job as this seems to make the most
sense to me.