Skip to content

chore(lint): fix revive lint errors (pkg/providers)#5362

Merged
Skarlso merged 5 commits intoexternal-secrets:mainfrom
Lumexralph:configure-revive-providers
Oct 3, 2025
Merged

chore(lint): fix revive lint errors (pkg/providers)#5362
Skarlso merged 5 commits intoexternal-secrets:mainfrom
Lumexralph:configure-revive-providers

Conversation

@Lumexralph
Copy link
Copy Markdown
Contributor

@Lumexralph Lumexralph commented Sep 24, 2025

Problem Statement

According to this PR #3396 was implemented, the revive linter wasn't configured because it had loads of issues to be fixed. This PR configures the revive linter and fixes all the issues raised by the linter.

Related Issue

Fixes #3397

Proposed Changes

Fix all the issues raised by the linter so that we can configure the revive linter. It is the first in the series of PRs to follow.

Format

Please ensure that your PR follows the following format for the title:

feat(scope): add new feature
fix(scope): fix bug
docs(scope): update documentation
chore(scope): update build tool or dependencies
ref(scope): refactor code
clean(scope): provider cleanup
test(scope): add tests
perf(scope): improve performance
desig(scope): improve design

Where scope is optionally one of:

  • charts
  • release
  • testing
  • security
  • templating

Checklist

  • I have read the contribution guidelines
  • All commits are signed with git commit --signoff
  • My changes have reasonable test coverage
  • All tests pass with make test
  • I ensured my PR is ready for review with make reviewable

@github-actions github-actions bot added area/lint kind/chore Categorizes Pull Requests for chore activities (like bumping versions) size/l labels Sep 24, 2025
@Lumexralph Lumexralph changed the title chore(lint): fix revive lint errors chore(lint): fix revive lint errors (pkg/providers) Sep 24, 2025
@Lumexralph Lumexralph force-pushed the configure-revive-providers branch from 85df1c0 to f9d00c2 Compare September 24, 2025 08:03
@Lumexralph Lumexralph marked this pull request as ready for review September 24, 2025 08:04
Lumexralph and others added 3 commits September 24, 2025 09:10
Signed-off-by: Olumide Ogundele <olumideralph@gmail.com>
…a Devops Secrets Management (DSM) provider (external-secrets#3895)

* Initial Commit

Signed-off-by: Felipe Oliveira dos Santos <felipeoliveira.s.br@gmail.com>

* Building an RSA-Based Sensitive Data Decryption Feature with Advanced Templating v2

Signed-off-by: Felipe Oliveira dos Santos <felipeoliveira.s.br@gmail.com>

* test: building an rsa-based sensitive data decryption feature with advanced templating v2

Signed-off-by: Felipe Oliveira dos Santos <felipeoliveira.s.br@gmail.com>

* docs: building an rsa-based sensitive data decryption feature with advanced templating v2

Signed-off-by: Felipe Oliveira dos Santos <felipeoliveira.s.br@gmail.com>

* reviewable: building an rsa-based sensitive data decryption feature with advanced templating v2

Signed-off-by: Felipe Oliveira dos Santos <felipeoliveira.s.br@gmail.com>

* docs: building an rsa-based sensitive data decryption feature with advanced templating v2

Signed-off-by: Felipe Oliveira dos Santos <felipeoliveira.s.br@gmail.com>

* docs: building an rsa-based sensitive data decryption feature with advanced templating v2

Signed-off-by: Felipe Oliveira dos Santos <felipeoliveira.s.br@gmail.com>

* chore(license): building an rsa-based sensitive data decryption feature with advanced templating v2

Signed-off-by: Felipe Oliveira dos Santos <felipeoliveira.s.br@gmail.com>

* test: building an rsa-based sensitive data decryption feature with advanced templating v2

Signed-off-by: Felipe Oliveira dos Santos <felipeoliveira.s.br@gmail.com>

* test: remove bin data test on building an rsa-based sensitive data decryption feature

Signed-off-by: Felipe Oliveira dos Santos <felipeoliveira.s.br@gmail.com>

* test: add encrypted data test on building an rsa-based sensitive data decryption feature

Signed-off-by: Felipe Oliveira dos Santos <felipeoliveira.s.br@gmail.com>

* test: add encrypted data test on building an rsa-based sensitive data decryption feature

Signed-off-by: Felipe Oliveira dos Santos <felipeoliveira.s.br@gmail.com>

---------

Signed-off-by: Felipe Oliveira dos Santos <felipeoliveira.s.br@gmail.com>
Signed-off-by: Olumide Ogundele <olumideralph@gmail.com>
Signed-off-by: Olumide Ogundele <olumideralph@gmail.com>
@Lumexralph Lumexralph force-pushed the configure-revive-providers branch from b4ef87a to c0cd920 Compare September 24, 2025 08:11
@github-actions github-actions bot added the kind/documentation Categorizes issue or PR as related to documentation. label Sep 24, 2025
@Skarlso Skarlso moved this to In Progress in External Secrets Sep 26, 2025
Signed-off-by: Gergely Brautigam <skarlso777@gmail.com>
@Skarlso
Copy link
Copy Markdown
Contributor

Skarlso commented Oct 3, 2025

/ok-to-test sha=a21b179fbdcf1c8a1a54b400051969653e6467fb

@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud bot commented Oct 3, 2025

Copy link
Copy Markdown
Contributor

@Skarlso Skarlso left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent work! Thank you so much.

I'll run an e2e test just to see if everything is okay. :D

I went over it, don't see anything strange. :)

@eso-service-account-app
Copy link
Copy Markdown
Contributor

@Skarlso Skarlso merged commit 91b390e into external-secrets:main Oct 3, 2025
27 checks passed
@github-project-automation github-project-automation bot moved this from In Progress to Done in External Secrets Oct 3, 2025
@Lumexralph
Copy link
Copy Markdown
Contributor Author

I'll proceed with creating the remaining PRs. Thanks @Skarlso

SamuelMolling pushed a commit to SamuelMolling/external-secrets that referenced this pull request Oct 24, 2025
…ts#5362)

* chore(lint): fix revive lint errors in providers package

Signed-off-by: Olumide Ogundele <olumideralph@gmail.com>

* feat: add support for decryption scheme from properties in senhasegura Devops Secrets Management (DSM) provider (external-secrets#3895)

* Initial Commit

Signed-off-by: Felipe Oliveira dos Santos <felipeoliveira.s.br@gmail.com>

* Building an RSA-Based Sensitive Data Decryption Feature with Advanced Templating v2

Signed-off-by: Felipe Oliveira dos Santos <felipeoliveira.s.br@gmail.com>

* test: building an rsa-based sensitive data decryption feature with advanced templating v2

Signed-off-by: Felipe Oliveira dos Santos <felipeoliveira.s.br@gmail.com>

* docs: building an rsa-based sensitive data decryption feature with advanced templating v2

Signed-off-by: Felipe Oliveira dos Santos <felipeoliveira.s.br@gmail.com>

* reviewable: building an rsa-based sensitive data decryption feature with advanced templating v2

Signed-off-by: Felipe Oliveira dos Santos <felipeoliveira.s.br@gmail.com>

* docs: building an rsa-based sensitive data decryption feature with advanced templating v2

Signed-off-by: Felipe Oliveira dos Santos <felipeoliveira.s.br@gmail.com>

* docs: building an rsa-based sensitive data decryption feature with advanced templating v2

Signed-off-by: Felipe Oliveira dos Santos <felipeoliveira.s.br@gmail.com>

* chore(license): building an rsa-based sensitive data decryption feature with advanced templating v2

Signed-off-by: Felipe Oliveira dos Santos <felipeoliveira.s.br@gmail.com>

* test: building an rsa-based sensitive data decryption feature with advanced templating v2

Signed-off-by: Felipe Oliveira dos Santos <felipeoliveira.s.br@gmail.com>

* test: remove bin data test on building an rsa-based sensitive data decryption feature

Signed-off-by: Felipe Oliveira dos Santos <felipeoliveira.s.br@gmail.com>

* test: add encrypted data test on building an rsa-based sensitive data decryption feature

Signed-off-by: Felipe Oliveira dos Santos <felipeoliveira.s.br@gmail.com>

* test: add encrypted data test on building an rsa-based sensitive data decryption feature

Signed-off-by: Felipe Oliveira dos Santos <felipeoliveira.s.br@gmail.com>

---------

Signed-off-by: Felipe Oliveira dos Santos <felipeoliveira.s.br@gmail.com>
Signed-off-by: Olumide Ogundele <olumideralph@gmail.com>

* chore(lint): fix dot error

Signed-off-by: Olumide Ogundele <olumideralph@gmail.com>

---------

Signed-off-by: Olumide Ogundele <olumideralph@gmail.com>
Signed-off-by: Felipe Oliveira dos Santos <felipeoliveira.s.br@gmail.com>
Signed-off-by: Gergely Brautigam <skarlso777@gmail.com>
Co-authored-by: Felipe Oliveira <felipeoliveira.s.br@gmail.com>
Co-authored-by: Gergely Brautigam <skarlso777@gmail.com>
Signed-off-by: Samuel Molling <samuelmolling@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/lint kind/chore Categorizes Pull Requests for chore activities (like bumping versions) kind/documentation Categorizes issue or PR as related to documentation. size/l

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Configure revive properly

3 participants