Expand description
Setup of an update: what Factory::createComposer then
Installer::doUpdate do before createPool: root, platform,
repositories (global config + composer.json, same merge rules as
Config::merge), lock repository, Request. Rust-side replica of
tools/oracle-pool.php.
Structs§
- Flex
Session - Everything
Installer::doUpdatehas at hand right beforecreatePool. symfony/flex active for this resolution: its requirement and index. - Merged
Config - Merged configuration relevant to the resolver.
- Repo
Config Config::$repositoriesafter merging: (name or index, definition).- Session
Error - Solve
Report - Result of a
solve: the transaction and what is needed to compare it with Composer. - Update
Options - Options of an
update(Installer::setUpdateAllowList,setUpdateAllowTransitiveDependencies). - Update
Session
Enums§
- RepoKey
- Session
Error Kind - What Composer does with the error: an unsolvable set
(
SolverProblemsException) means exit code 2 fromInstaller::run, everything else is an exception that propagates.
Functions§
- install_
policy_ problems - Running the lock pool through the filter list filter in
installscope (Installer::doInstall->createFilterListPoolFilter(BLOCK_SCOPE_INSTALL)): Composer’s problems for the removed locked versions, in lock order; empty when nothing blocks. Warnings (ignored unreachable repositories) are returned separately. - merge_
repositories Config::mergefor therepositorieskey, applied in order (defaults, global config, composer.json).