Managing dependencies is more than running...
summary
Explains concrete fixes: use composer.lock committed so installs are reproducible, run composer update --dry-run and update packages one at a time (avoid a single run that updates ~30 libraries), prefer partial updates with the correct flags, record exact update arguments in commit messages, rerun composer update from the branch being merged to resolve lock-file conflicts, run tests and static analysis after each upgrade, audit licenses with composer licenses, and consider hosting/forking or a private packages repository for availability and SLAs.
AI-written summary · about
chapters (17)
- 0:00Intro
- 1:26What are Dependencies?
- 2:28What is Dependency Management?
- 4:03Dependency Assembly
- 7:01Dependency Change Management
- 8:15Risk Analysis: Availability
- 10:26Risk Reduction: Availability
- 14:43Risk Analysis: Compatibility
- 16:04Risk Reduction: (New) Dependencies
- 18:19Risk Reduction: Compatibility
- 25:26How do partial updates work?
- 29:51Commit The Lock File
- 30:49How to resolve lock merge conflicts?
- 34:12Risk Analysis: Compliance / Legal
- 35:44Risk Minimization: Compliance / Legal
- 37:52Assessing & Managing Risk
- 40:06Summary
