dependabot / dependabot/dependabot-core

[composer php] Dependabot updates too many dependencies even with `versioning-strategy: increase-if-necessary`

Open
#3,592 10 comments 5 reactions 0 assignees View on GitHub
L: php:composer T: bug 🐞 versioning
Dominant language
Ruby
Stars
5.8k
Forks
1.5k
Avg merge
2d 18h
Merged PRs (30d)
149

Description

Hi,

we would like to update with dependabot only our private libraries, but it seems dependabot calls `composer update` with option `--with-all-dependencies`. Thus, we have a lot of libraries updated instead of just the single one(s) that we would like.

Is there a way to remove this option?

thanks a lot.

Contributor guide

Open the contributing guide

Research direction

Start with the Composer updater and its handling of `versioning-strategy: increase-if-necessary`, then trace the reported `composer update --with-all-dependencies` invocation. Done means updates target the requested private libraries without unnecessarily updating unrelated dependencies.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, ruby
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.