feat(presets): improve grouping of symfony packages #34653
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Changes
Only applies the group to the packagist datasource and avoids grouping the most popular packages from the same vendor which are not released together with the core framework packages.
After this non-complete / best-effort change the list of irrelevant packages is down from ~83 to ~12 which should improve symfony-grouped PRs already quite a bit, especially if people are either slow with updates or just started using renovate and are catching up.
Context
There are a couple of popular
symfony/*
packages which are not released together with the core framework / monorepo. And it often can happen that some of those have updates as well, which leads to undesired behaviour (e.g. update includes non-relevant package, mix of target versions in the PR, PR is immortal, ..)I grabbed all non-abandoned symfony packages from packagist.org, excluded the ones that have releases for the latest framework and tried to find a couple of simple, non-complete, patterns which would improve the situation.
php script to grab packages
results
Additionally, I added some of the most popular packages which are also used in the demo symfony app: https://github.com/symfony/demo/blob/v2.6.0/composer.json
And as last step I also removed the packages which showed up on the first 5 pages of https://packagist.org/packages/symfony/debug?query=symfony%2F manually.
Documentation (please check one with an [x])
How I've tested my work (please select one)
I have verified these changes via: