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

fix: populate isLockFileMaintenance #14005

Merged
merged 1 commit into from Feb 5, 2022

Conversation

msw-kialo
Copy link
Contributor

Changes:

Lock file maintenance was broken as various managers rely on the
isLockFileMaintenance update flag to be set. This was not the
case as its config is generated afterwards (without the is*
auto-propagation).

Context:

Fixes #9728

It restores the lock file maintenance feature for the pip-compile manager (it didn't fail but wouldn't report updates). Verified on a real repository. Based on a code search I suspect that at least the manager bundler, composer, jsonnet-bundler, pipenv are affected, too.

It would allow reverting #9695, and maybe refactoring other managers to use isLockFileMaintenance instead of config.updateType === 'lockFileMaintenance'. I can include that in this PR if wanted.

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 tick 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 (with pip-compile)

Lock file maintenance was broken as various managers rely on the
`isLockFileMaintenance` update flag to be set. This was not the
case as its config is generated afterwards (without the is*
auto-propagation).
@rarkins rarkins enabled auto-merge (squash) February 5, 2022 06:35
@rarkins rarkins disabled auto-merge February 5, 2022 06:35
@rarkins rarkins merged commit 6752419 into renovatebot:main Feb 5, 2022
@renovate-release
Copy link
Collaborator

🎉 This PR is included in version 31.66.5 🎉

The release is available on:

Your semantic-release bot 📦🚀

@msw-kialo msw-kialo deleted the fix-isLockFileMaintenance branch February 7, 2022 08:20
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 10, 2022
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.

Find the cause why config.isLockFileMaintenance is not working as expected
4 participants