Skip to content
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

chore: enable use-any from revive #667

Merged
merged 1 commit into from
Feb 6, 2025

Conversation

mmorel-35
Copy link
Contributor

No description provided.

@mmorel-35 mmorel-35 requested a review from a team as a code owner February 6, 2025 22:47
@mmorel-35 mmorel-35 force-pushed the golangci-lint/revive branch from d615fe4 to 159d997 Compare February 6, 2025 22:49
@mmorel-35
Copy link
Contributor Author

/cc @crenshaw-dev

Copy link

codecov bot commented Feb 6, 2025

Codecov Report

Attention: Patch coverage is 89.47368% with 4 lines in your changes missing coverage. Please review.

Project coverage is 54.46%. Comparing base (8849c3f) to head (69c3e47).
Report is 10 commits behind head on master.

Files with missing lines Patch % Lines
pkg/utils/kube/kube.go 0.00% 2 Missing ⚠️
agent/main.go 0.00% 1 Missing ⚠️
pkg/utils/tracing/nop.go 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #667      +/-   ##
==========================================
+ Coverage   54.26%   54.46%   +0.20%     
==========================================
  Files          64       64              
  Lines        6164     6268     +104     
==========================================
+ Hits         3345     3414      +69     
- Misses       2549     2581      +32     
- Partials      270      273       +3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@mmorel-35 mmorel-35 force-pushed the golangci-lint/revive branch from 2b79b20 to 69c3e47 Compare February 6, 2025 23:07
@crenshaw-dev crenshaw-dev merged commit 7ac688a into argoproj:master Feb 6, 2025
5 checks passed
@mmorel-35 mmorel-35 deleted the golangci-lint/revive branch February 7, 2025 08:50
andrii-korotkov-verkada pushed a commit to andrii-korotkov-verkada/gitops-engine that referenced this pull request Feb 7, 2025
Signed-off-by: Matthieu MOREL <[email protected]>
Signed-off-by: Andrii Korotkov <[email protected]>
leoluz pushed a commit that referenced this pull request Feb 7, 2025
…662)

* fix: New kube applier for server side diff dry run with refactoring

Part of a fix for: argoproj/argo-cd#21488

Separate logic to handle server side diff dry run applies.

Signed-off-by: Andrii Korotkov <[email protected]>

* Break backwards compatibility for a better code

Signed-off-by: Andrii Korotkov <[email protected]>

* Don't put applier constructor in the interface

Signed-off-by: Andrii Korotkov <[email protected]>

* Address comments

Signed-off-by: Andrii Korotkov <[email protected]>

* Address more comments

Signed-off-by: Andrii Korotkov <[email protected]>

* chore: enable testifylint linter (#657)

Signed-off-by: Matthieu MOREL <[email protected]>
Signed-off-by: Andrii Korotkov <[email protected]>

* chore: enable gofumpt, gosimple and whitespace linters (#666)

Signed-off-by: Matthieu MOREL <[email protected]>
Signed-off-by: Andrii Korotkov <[email protected]>

* chore: enable use-any from revive (#667)

Signed-off-by: Matthieu MOREL <[email protected]>
Signed-off-by: Andrii Korotkov <[email protected]>

* chore: bump golangci-lint to v1.63.4 and list argo-cd linters (#670)

Signed-off-by: Matthieu MOREL <[email protected]>
Signed-off-by: Andrii Korotkov <[email protected]>

* chore: enable unused-parameter and var-declaration from revive (#668)

Signed-off-by: Matthieu MOREL <[email protected]>
Signed-off-by: Andrii Korotkov <[email protected]>

* chore: remove actions/cache duplicated behavior with actions/setup-go (#658)

Signed-off-by: Matthieu MOREL <[email protected]>
Signed-off-by: Andrii Korotkov <[email protected]>

* Add Leo's code

Signed-off-by: Andrii Korotkov <[email protected]>

* Make linter happy

Signed-off-by: Andrii Korotkov <[email protected]>

---------

Signed-off-by: Andrii Korotkov <[email protected]>
Signed-off-by: Matthieu MOREL <[email protected]>
Co-authored-by: Matthieu MOREL <[email protected]>
Aaron-9900 pushed a commit to Aaron-9900/gitops-engine that referenced this pull request Feb 12, 2025
Signed-off-by: Matthieu MOREL <[email protected]>
Signed-off-by: Aaron Hoffman <[email protected]>
Aaron-9900 pushed a commit to Aaron-9900/gitops-engine that referenced this pull request Feb 12, 2025
…rgoproj#662)

* fix: New kube applier for server side diff dry run with refactoring

Part of a fix for: argoproj/argo-cd#21488

Separate logic to handle server side diff dry run applies.

Signed-off-by: Andrii Korotkov <[email protected]>

* Break backwards compatibility for a better code

Signed-off-by: Andrii Korotkov <[email protected]>

* Don't put applier constructor in the interface

Signed-off-by: Andrii Korotkov <[email protected]>

* Address comments

Signed-off-by: Andrii Korotkov <[email protected]>

* Address more comments

Signed-off-by: Andrii Korotkov <[email protected]>

* chore: enable testifylint linter (argoproj#657)

Signed-off-by: Matthieu MOREL <[email protected]>
Signed-off-by: Andrii Korotkov <[email protected]>

* chore: enable gofumpt, gosimple and whitespace linters (argoproj#666)

Signed-off-by: Matthieu MOREL <[email protected]>
Signed-off-by: Andrii Korotkov <[email protected]>

* chore: enable use-any from revive (argoproj#667)

Signed-off-by: Matthieu MOREL <[email protected]>
Signed-off-by: Andrii Korotkov <[email protected]>

* chore: bump golangci-lint to v1.63.4 and list argo-cd linters (argoproj#670)

Signed-off-by: Matthieu MOREL <[email protected]>
Signed-off-by: Andrii Korotkov <[email protected]>

* chore: enable unused-parameter and var-declaration from revive (argoproj#668)

Signed-off-by: Matthieu MOREL <[email protected]>
Signed-off-by: Andrii Korotkov <[email protected]>

* chore: remove actions/cache duplicated behavior with actions/setup-go (argoproj#658)

Signed-off-by: Matthieu MOREL <[email protected]>
Signed-off-by: Andrii Korotkov <[email protected]>

* Add Leo's code

Signed-off-by: Andrii Korotkov <[email protected]>

* Make linter happy

Signed-off-by: Andrii Korotkov <[email protected]>

---------

Signed-off-by: Andrii Korotkov <[email protected]>
Signed-off-by: Matthieu MOREL <[email protected]>
Co-authored-by: Matthieu MOREL <[email protected]>
Signed-off-by: Aaron Hoffman <[email protected]>
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.

2 participants