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

refactor(enabled-managers): implement custom.<customMgrName> syntax #24079

Merged
merged 28 commits into from
Nov 8, 2023

Conversation

RahulGautamSingh
Copy link
Collaborator

Changes

  • Handle custom.<customMgrName> syntax for enabledManagers
  • Migration code for enabledManagers: ['regex'] , enabledManagers: ['custom.regex']

Context

_matchManagers was supposed to be done along with this but it needs a small typing change so it will done is a separate PR _

Documentation (please check one with an [x])

  • I have updated the documentation, or
  • No documentation update is required

How I've tested my work (please select one)

I have verified these changes via:

  • Code inspection only, or
  • Newly added/modified unit tests, or
  • No unit tests but ran on a real repository, or
  • Both unit tests + ran on a real repository

@RahulGautamSingh RahulGautamSingh changed the title feta: custom.<customMgrName>syntax for enabled-managers feat: custom.<customMgrName>syntax for enabled-managers Aug 25, 2023
@RahulGautamSingh RahulGautamSingh changed the title feat: custom.<customMgrName>syntax for enabled-managers feat: custom.<customMgrName> syntax for enabledManagers Aug 25, 2023
@rarkins rarkins requested a review from secustor August 25, 2023 12:18
Copy link
Collaborator

@secustor secustor left a comment

Choose a reason for hiding this comment

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

First pass

docs/usage/configuration-options.md Outdated Show resolved Hide resolved
lib/config/migrations/custom/enabled-managers-migration.ts Outdated Show resolved Hide resolved
lib/config/migrations/custom/enabled-managers-migration.ts Outdated Show resolved Hide resolved
lib/workers/repository/extract/index.ts Outdated Show resolved Hide resolved
@RahulGautamSingh
Copy link
Collaborator Author

I don't understan the reason behind the failing tests. It happened last time as well when trying to add custom.* syntax, and got resolved when I reverted some commits and re-did the work. Could you guys take a look at it once?

Copy link
Collaborator

@secustor secustor left a comment

Choose a reason for hiding this comment

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

needs test and coverage

lib/workers/repository/extract/index.spec.ts Outdated Show resolved Hide resolved
@RahulGautamSingh RahulGautamSingh marked this pull request as draft September 6, 2023 14:51
@rarkins
Copy link
Collaborator

rarkins commented Sep 28, 2023

@RahulGautamSingh ready to resume this?

Copy link
Collaborator

@rarkins rarkins left a comment

Choose a reason for hiding this comment

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

Needs deconflicting

secustor
secustor previously approved these changes Oct 31, 2023
@RahulGautamSingh

This comment was marked as outdated.

@RahulGautamSingh
Copy link
Collaborator Author

RahulGautamSingh commented Nov 3, 2023

Test Runs:
The test runs were conducted to ensure the correctness and reliability of the existing functionality.

  1. Validation Error for Incorrect Managers in enabledManagers Parameter

  2. Migration and Dependency Extraction Testing

  3. Testing Extraction Behavior without enabledManagers Parameter

secustor
secustor previously approved these changes Nov 3, 2023
rarkins
rarkins previously approved these changes Nov 7, 2023
Copy link
Member

@viceice viceice left a comment

Choose a reason for hiding this comment

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

otherwise LGTM

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
rarkins
rarkins previously approved these changes Nov 7, 2023
@rarkins
Copy link
Collaborator

rarkins commented Nov 7, 2023

Is this a feature or a refactor?

@RahulGautamSingh RahulGautamSingh changed the title feat: custom.<customMgrName> syntax for enabledManagers refactor(enabled-managers): implement custom.<customMgrName> syntax Nov 8, 2023
@RahulGautamSingh
Copy link
Collaborator Author

It's a rename so refactor. I got thinking that since its user facing I should use feat

@rarkins rarkins added this pull request to the merge queue Nov 8, 2023
Merged via the queue into renovatebot:main with commit 79556f4 Nov 8, 2023
36 checks passed
@renovate-release
Copy link
Collaborator

🎉 This PR is included in version 37.51.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

jon4hz pushed a commit to jon4hz/renovate that referenced this pull request Nov 9, 2023
…renovatebot#24079)

Co-authored-by: Sebastian Poxhofer <secustor@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 9, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants