Skip to content

Sync repo templates ⚙#54

Merged
travier merged 4 commits intocoreos:mainfrom
coreosbot-releng:repo-templates
Mar 27, 2026
Merged

Sync repo templates ⚙#54
travier merged 4 commits intocoreos:mainfrom
coreosbot-releng:repo-templates

Conversation

@coreosbot-releng
Copy link
Copy Markdown

@coreosbot-releng coreosbot-releng commented Nov 1, 2023

@coreosbot-releng coreosbot-releng force-pushed the repo-templates branch 2 times, most recently from 9f1ede3 to b0029d7 Compare October 11, 2024 15:00
@coreosbot-releng coreosbot-releng force-pushed the repo-templates branch 4 times, most recently from 0e6d94e to 0848663 Compare November 18, 2024 14:29
@coreosbot-releng coreosbot-releng force-pushed the repo-templates branch 4 times, most recently from 1dd02de to 307c9c4 Compare July 14, 2025 18:47
@coreosbot-releng coreosbot-releng force-pushed the repo-templates branch 2 times, most recently from db53a3c to 2bd832a Compare December 10, 2025 18:12
@travier
Copy link
Copy Markdown
Member

travier commented Mar 25, 2026

There are a few lints failing in https://github.com/coreos/ign-converter/actions/runs/23151216792/job/67253304938?pr=54. Can you try fixing those? @fangge1212

@fangge1212
Copy link
Copy Markdown
Contributor

There are a few lints failing in https://github.com/coreos/ign-converter/actions/runs/23151216792/job/67253304938?pr=54. Can you try fixing those? @fangge1212

Yes, I will do it

fangge1212 added a commit to fangge1212/coreos-ign-converter that referenced this pull request Mar 26, 2026
Address linting errors that prevent PR coreos#54 (repo templates sync) from
merging. These issues were previously undetected by golangci-lint v1.52.2
but are caught by the newer v2.11.3.

Changes:
- internal/main.go: Remove redundant type declarations and check errors
  in defer statements (errcheck, staticcheck ST1023)
- util/util.go: Rename UsesNetworkdError to ErrUsesNetworkd following
  Go error naming conventions (staticcheck ST1012)
- translate/*: Lowercase error message strings (staticcheck ST1005)
- translate/*: Remove redundant embedded field selectors (staticcheck QF1008)

All existing tests pass. No functional changes.

Fixes golangci-lint issues found in:
https://github.com/coreos/ign-converter/pull/54/checks

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Signed-off-by: Fangge Jin <fjin@redhat.com>
@fangge1212
Copy link
Copy Markdown
Contributor

There are a few lints failing in https://github.com/coreos/ign-converter/actions/runs/23151216792/job/67253304938?pr=54. Can you try fixing those? @fangge1212

Yes, I will do it

There are a few lints failing in https://github.com/coreos/ign-converter/actions/runs/23151216792/job/67253304938?pr=54. Can you try fixing those? @fangge1212

Yes, I will do it

#59

fangge1212 and others added 2 commits March 27, 2026 11:18
Address linting errors that prevent PR coreos#54 (repo templates sync) from
merging. These issues were previously undetected by golangci-lint v1.52.2
but are caught by the newer v2.11.3.

Changes:
- internal/main.go: Remove redundant type declarations and check errors
  in defer statements (errcheck, staticcheck ST1023)
- util/util.go: Rename UsesNetworkdError to ErrUsesNetworkd following
  Go error naming conventions (staticcheck ST1012)
- translate/*: Lowercase error message strings (staticcheck ST1005)
- translate/*: Remove redundant embedded field selectors (staticcheck QF1008)

All existing tests pass. No functional changes.

Fixes golangci-lint issues found in:
https://github.com/coreos/ign-converter/pull/54/checks

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Signed-off-by: Fangge Jin <fjin@redhat.com>
Ignore lint for this one to limit potential downstream changes.
@travier travier force-pushed the repo-templates branch 3 times, most recently from 561dc7a to 91f5a7f Compare March 27, 2026 10:55
Fixes: ST1005: error strings should not be capitalized (staticcheck)
Fixes: QF1008: could remove embedded field "Node" from selector (staticcheck)
Fixes: QF1008: could remove embedded field "FileEmbedded1" from selector (staticcheck)
@travier travier merged commit 1fb093f into coreos:main Mar 27, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants