83 Commits (6a466a120a404d1c5d492e5ca715841c491517fc)

Author SHA1 Message Date
Jordi Boggiano 6a466a120a
Enable strict types on all files 2 years ago
Jordi Boggiano 7abc8da7d3
Add more types 2 years ago
Jordi Boggiano 6da38f83a0
Add parameter types to all the things 2 years ago
Alexander Schranz 1321bfca36
Add return types to closures (#9) 2 years ago
Jordi Boggiano 24ce1eddbd
Add composer/pcre dependency and use it everywhere instead of preg_* 2 years ago
Jordi Boggiano c65d09dff7
Fix @inheritDoc annotations 3 years ago
Martin Herndl fa4d4e20e9
Add types to `Downloader` (#10193) 3 years ago
Jordi Boggiano 0761474599
Add type info to many properties/methods 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 4940009f83
Bump phpstan to level 3 (#9734)
Clean up PackageInterface/CompletePackageInterface, add missing methods, type things in solver as BasePackage, added CompleteAliasPackage, ..
3 years ago
Jordi Boggiano 6a869ede77
Fail early if git/hg/svn can not be found on the system, so that download can be retried from dist, fixes #9681 3 years ago
Jordi Boggiano b7d770659b
CS fixes 4 years ago
Jordi Boggiano a4a617abb4
Reduce amount of Filesystem/ProcessExecutor instantiations, add lots of docblocks 4 years ago
Ayesh Karunaratne aa20413990
Improve regex in \Composer\Downloader\SvnDownloader::getCommitLogs() by removing unnecessary greedy operator 4 years ago
Jordi Boggiano 4e4304ae7d
Fix 4 years ago
Jordi Boggiano 0b4763e6c7
Make it clear which package the error is for when detecting uncommitted changes 4 years ago
Jordi Boggiano 23359f2db6
Merge branch 'master' into 2.0 4 years ago
Tyson Andre 6827105a5b Fix nits on typos 4 years ago
Jordi Boggiano 53d2ab2253
Split up steps on VCS downloaders to allow doing network operations before touching the filesystem on GitDownloader, fixes #7903 5 years ago
Jordi Boggiano 3dfcae99a9 Add parallel download capability to FileDownloader and derivatives 5 years ago
Jordi Boggiano 79d62cc51c Escape references properly when getting commit logs for verbose update 6 years ago
Markus Staab 71d058b97b refactored "svn --version" calls into a single place, closes #7152
this saves a lot of process-spawning as we re-use the result of a process started once.
6 years ago
Markus Staab e67a559db9 make sure "svn info" output is parsed in a x-platform way 6 years ago
Markus Staab 9bc83d698e Pass auth credentials to svn log while retrieving commit logs 6 years ago
Gabriel Caruso 7aad20cb30 [SvnDownloader] Improve plurals and singulars 6 years ago
Jordi Boggiano 4d082f77b8 Simplify composer output to take less lines 8 years ago
Niels Keurentjes e6f21137ad Undefined or default return points fixed. 8 years ago
Jordi Boggiano d347e1efca Minor tweaks refs #4878 8 years ago
bogdan e0fad1f55b Implemented interactive user confirmation on source package update failure
Removed unnecessary options for installation
Removed unnecessary exception
8 years ago
bogdan a77e2fb093 Removed code duplication with abstract hasMetadataRepository method
which checks if vcs metadata is present in the package

Fixed a bug with -vvv mode. When .git folder is missing from package
in normal mode, -v mode, -vv mode the program throws the exception about missing .git folder
in -vvv mode an exception about inability to read logs
8 years ago
Jordi Boggiano 5dbc8fa30b Make sure getRepoConfig is only called on VcsRepos, refs #4700 8 years ago
Alexander Loutsenko f42ba46175 #4331 use --no-auth-cache for svn downloader when such option was set 9 years ago
Jordi Boggiano ce08582671 Fix CS 9 years ago
Possum 2e99b9fdf5 Use https where possible 9 years ago
Rob Bast cb336a5416 Implement writeError throughout Composer 9 years ago
Benjamin Grandfond a21b0f82db Allow SVN to connect with credentials provided with the auth.json file 10 years ago
Jordi Boggiano 77163f66fc Add support for mirrors in composer repos 10 years ago
Jordi Boggiano 07b8fe8109 Refactor code so it works cross-platform, refs #2825 10 years ago
Sebastian Brandt f633ab503e Update SvnDownloader.php 10 years ago
Sebastian Brandt 16489dc084 Update SvnDownloader.php
added --ignore-ancestry to the switch statement because it can be a problem with svn:properties
10 years ago
Jordi Boggiano 60bf5633ea Wording tweaks, refs #2728 10 years ago
Jordi Boggiano 7ac1f1265e Merge remote-tracking branch 'sndpl/issue/2494' 10 years ago
Sandy Pleyte 40095d980c Fix for #2494, don't retrieve svn log when the references don't contain a reference number. 10 years ago
Jordi Boggiano 432ace33d4 Clean up svn environment to fix OSX issues, fixes #2708, refs #2146 10 years ago
Jordi Boggiano 1217a632fe Adjust function signatures and add type hints, refs #2136 11 years ago
Sascha Egerer 80cebbd4be Fixed getLocalChanges calls in VCS downloaders to match new function interface 11 years ago
Sascha Egerer 667176d1d0 Add ChangeReport Interface
Added a ChangeReport Interface to allow also non VCS-Downloaders to check the status of there package
11 years ago
Jordi Boggiano 771233a5a0 Make it clear what is going on when a vcs folder is missing, fixes #2108 11 years ago
Jordi Boggiano 8d0b7f278e CS fixes 11 years ago