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

feat: add preflight method to ManagerAPI #31112

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

secustor
Copy link
Collaborator

Changes

Adds a new async preflight function to the ManagerAPI.

Kept it as single method for simplicity and I can not come up with an use case where this would be helpful.

Context

This allows to modify Renovates configuration based on content of the repository or other existing configuration.

Closes #29809

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

@secustor secustor requested a review from viceice August 29, 2024 21:42
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.

we need to think about config caching behavior. do the hashes match? I think they are checked before extraction.

this new function needs a git sync too.

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.

Add a function to allow dynamic configuration of managers based on repository data
3 participants