7010 Commits (284ec95712d397d8d46fcfffc245ad87f3abebe9)

Author SHA1 Message Date
Jordi Boggiano 284ec95712
Document new methods and update the composer-runtime-api version to 2.1 3 years ago
Jordi Boggiano 82cffa17d3
Undo addition of initializeInstalled and remove inline copy of the data from the class 3 years ago
Jordi Boggiano 3fe4f84a76
Fix handling of metapackages with null paths, and handling of paths which do not have a shortest-path and require an absolute path to be addressed 3 years ago
Jordi Boggiano 518b44a810
Clean up dump code to avoid reimplementing var export, and remove DIRECTORY_SEPARATOR 3 years ago
Jordi Boggiano 5a69a1e483
Add InstalledVersions::getInstallPath($package) getter, and update phpdoc types 3 years ago
Jordi Boggiano 8335b49cf0
Rename dev-requirement to dev_requirement for consistency 3 years ago
Jochen Roth b6c9d34125
Add install-path and type to installedVersions.php and installed.php, add method to get installed packages by type
Issue https://github.com/composer/composer/issues/9648
3 years ago
Jordi Boggiano 31cc102850
Merge branch '2.0' 3 years ago
Nils Adermann 16279d328e
Merge pull request #9816 from Seldaek/install_deprecate
Deprecate InstalledVersions::getRawData in favor of getAllRawData
3 years ago
Jordi Boggiano 8a3f4a8400
Add secure-svn-domains config option to mark secure svn:// hostnames, fixes #9872 3 years ago
Jordi Boggiano 458bd41d8f
Update docs and add more helpful output to validate command, refs #9782 3 years ago
Jordi Boggiano 89c3045e2b
Merge remote-tracking branch 'BoShurik/schema' 3 years ago
Jordi Boggiano 991985792d
Merge branch '2.0' 3 years ago
Jordi Boggiano 251b852fd2
Make sure async processes fail the promise if they fail to start, fixes #9808 3 years ago
Jordi Boggiano 8427b6c8ed
Also make sure filesystem is up to date before generating binary links, refs #9627 3 years ago
Jordi Boggiano 9ba042ded8
Add Platform-PHP version to user-agent header to improve targetted-php stats (#9873) 3 years ago
Jordi Boggiano 5bf614a762
Merge branch '2.0' 3 years ago
Jordi Boggiano dd54f295fe
Fix progress output, and remove progress bar on CI env, fixes #9621, closes #9880 3 years ago
Jordi Boggiano 459a7d9623
Use a simpler suggested require version of * to keep things simple for extensions which are versioned like PHP, fixes #9483 3 years ago
Jordi Boggiano 0021758e0b
Merge branch '2.0' 3 years ago
Jordi Boggiano d56387edb7
Also handle throwable on supported php versions 3 years ago
Jordi Boggiano 649087d6de
Fix type issues with root package interface 3 years ago
Jordi Boggiano 22cc96682d
Merge branch '2.0' 3 years ago
Jordi Boggiano b268e20d9f
Fix invalid interface usage 3 years ago
Jordi Boggiano 7b77161b7e
Merge branch '2.0' 3 years ago
Jordi Boggiano 37f4f531d0
Avoid leaving the event stack in a dirty state if an event listener throws, fixes #9846 3 years ago
Jordi Boggiano a844fce23e
Fix handling of inline-update-constraints with refs or stability flags, fixes #9847 3 years ago
Jordi Boggiano a04202aa7d
Merge pull request #9864 from Seldaek/dev-versions-dx
Hint at a branch rename if we detect dev-master can not be found and condense dev-* versions in problem output
3 years ago
Jordi Boggiano 3380178798
Introduce a cross-platform safe version of is_readable to support UNC / wsl$ paths on Windows (#9861) 3 years ago
Jordi Boggiano 298246dccb
Also condense dev-* versions if there are many, refs #9850 3 years ago
Jordi Boggiano 9b7a8d4543
Hint at a branch rename if we detect dev-master can not be found but dev-main or dev-default exists, fixes #9850 3 years ago
Markus Staab bfea0f7d1e
BinaryInstaller: install full binaries on WSL when bin-compat=auto (#9855) 3 years ago
Jordi Boggiano 4842f213a1
Also make sure type is correct for preg_match 3 years ago
Jordi Boggiano 832f4007d6
Allow ints in source/dist reference 3 years ago
Jordi Boggiano 832af78e28
Add basic source/dist validation 3 years ago
Jordi Boggiano 40c7a725e1
Merge branch '2.0' 3 years ago
Jordi Boggiano 332c46af8b
Merge pull request from GHSA-h5h8-pc6h-jvvx
* Fix external process calls to avoid user input being able to pass extra parameters

* Tweak some fixes
3 years ago
Jordi Boggiano 2a50a9400f
Fix install step at the end of init command 3 years ago
Jordi Boggiano 1fd70de32d
Merge branch '2.0' 3 years ago
Jordi Boggiano 99d8e0ad09
Fix install step at the end of init command 3 years ago
Andreas Scheibel bb1bb022e4
"composer init --autoload" - Interactive generates PSR-4 autoloader in composer.json (#9829)
- Generates PSR-4 autoload entry in composer.json.
- Run dump-autoload, if no dependencies are set
3 years ago
Adam e291aa1d12
Allow PreFileDownloadEvent to carry transport options for metadata (#9831) 3 years ago
John Stevenson c3b76a8532
Upgrade to xdebug-handler 2 (#9832)
This adds support for Xdebug3 modes and changes the default behaviour
from always restarting if Xdebug is loaded, to only restarting if Xdebug
is active.

Xdebug is considered active if it is loaded, and for Xdebug3, if it is
running in a mode other than `xdebug.mode=off`.
3 years ago
Adam 180ba49f33
ComposerRepository::asyncFetchFile() does not pass the downloaded URL to PostFileDownloadEvent (#9827) 3 years ago
Markus Staab 7c602d8807
Added link to composer.org docs on ProcessTimedOutException (#9796) 3 years ago
Jordi Boggiano d75d79b452
Merge pull request #9822 from phenaproxima/post-file-download
Fire POST_FILE_DOWNLOAD event for metadata fetched by ComposerRepository
3 years ago
Jordi Boggiano 9a9c738f23
Add repository instance to Pre/PostFileDownloadEvent metadata 3 years ago
Jordi Boggiano 7dd95a768b
Clean stuff up and deprecate old usages for PostFileDownloadEvent 3 years ago
Phéna Proxima df0a2cdd0a Fire POST_FILE_DOWNLOAD event for metadata fetched by ComposerRepository. 3 years ago
Jordi Boggiano 549dabf878
Merge branch '2.0' 3 years ago