Jordi Boggiano
|
60fe67086e
|
Make sure proc_open is not required for basic installs, refs #9253
|
3 years ago |
Jordi Boggiano
|
d6f4111f35
|
Fix php 5.3 support
|
3 years ago |
Jordi Boggiano
|
46f2d9de48
|
Fix php 5.3 support
|
3 years ago |
Jordi Boggiano
|
ddd7920d2a
|
Fix corrupt archives in cache from getting the installs stuck forever, and make sure it fails only once, fixes #10028
|
3 years ago |
Jordi Boggiano
|
be58b36a35
|
Also look up 7zz on linux/macOS, fixes #9951
|
3 years ago |
Jordi Boggiano
|
db1d9e75be
|
Fix support for 7z command fallback on linux/macOS, fixes #9994
|
3 years ago |
Jordi Boggiano
|
b01cd459b7
|
Avoid checking if dir is empty if it does not even exist
|
3 years ago |
Jordi Boggiano
|
e013b479da
|
Avoid failing hard if the target empty dir cannot be deleted when extracting archives, fixes #9947
|
3 years ago |
Jordi Boggiano
|
4e4b4f69c9
|
Revert "Always wait after an unzip completes to try and fix virtualbox issues, refs #9945"
This reverts commit 3556f6efa5 .
|
3 years ago |
Jordi Boggiano
|
dd17f5f615
|
Add missing use
|
3 years ago |
Jordi Boggiano
|
3556f6efa5
|
Always wait after an unzip completes to try and fix virtualbox issues, refs #9945
|
3 years ago |
Jordi Boggiano
|
4c9e75c6e5
|
Fix CS
|
3 years ago |
Jordi Boggiano
|
8bf0ddf905
|
Clean up ZipDownloader, always do async first if possible then fallback to non-async
|
3 years ago |
Jordi Boggiano
|
28c7d0ea5d
|
Avoid creating new processes to remove directories which we know are empty, which speeds things up a lot on windows
|
3 years ago |
Nicolas Grekas
|
bec76367db
|
Speedup extracting on Windows
|
3 years ago |
Jordi Boggiano
|
b751156e1c
|
Prevent cache gc from happening during test suite runs, and add output so it is clear why it is blocking for a bit
|
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
|
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
|
7dd95a768b
|
Clean stuff up and deprecate old usages for PostFileDownloadEvent
|
3 years ago |
Jordi Boggiano
|
bf73a20bc0
|
Merge branch '2.0'
|
3 years ago |
Stephan
|
2f4b99eacd
|
MaxFileSizeException should reject download job (#9778)
|
3 years ago |
Jordi Boggiano
|
5d6f9b2528
|
Prefer @phpstan- annotations as that is what we run against
|
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
|
8392508e23
|
Merge branch '2.0'
|
3 years ago |
Jordi Boggiano
|
4a8e7daf56
|
Make sure that single files installed via file downloader get the executable bit set if they are a binary file, refs #9742
|
3 years ago |
Jordi Boggiano
|
b451bcb1ac
|
Fix issue extracting archives into paths that already exist, fixes composer/installers#479
|
3 years ago |
Jordi Boggiano
|
d0b399b788
|
Merge branch '2.0'
|
3 years ago |
Jordi Boggiano
|
40800df6bd
|
Fix CS
|
3 years ago |
Jordi Boggiano
|
52967c32cf
|
Remove unused var
|
3 years ago |
Jordi Boggiano
|
48d02b479b
|
Fix output of PathDownloader during upgrades
|
3 years ago |
Jordi Boggiano
|
fd88b3d48d
|
Fix DownloaderInterface return types
|
3 years ago |
Jordi Boggiano
|
b3951b8804
|
Fix output of FileDownloader and related to avoid async issues
|
3 years ago |
Jordi Boggiano
|
9809350753
|
Fix PathDownloader's remove implementation
|
3 years ago |
Jordi Boggiano
|
67261e8d47
|
Make package removals async as well, refs #9618
|
3 years ago |
Markus Staab
|
a5fecc4720
|
Filesystem: added removeDirectoryAsync() and use it in ArchiveDownloader (#9618)
This turns half of the `rm -rf ...` executions during package installs async and therefore improves performance
|
3 years ago |
Jordi Boggiano
|
e3af4ee606
|
Include stdout as well as stderr if git stash/diff/.. fails, fixes #9720
|
3 years ago |
Jordi Boggiano
|
f37f3dab04
|
Fix abort of downloads and zip extraction to happen immediately, fixes #9390
|
3 years ago |
Jordi Boggiano
|
8d94e25c2f
|
Minor fixes
|
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 |
Markus Staab
|
8dfe45a026
|
GitDownloader: combine checkout + reset commands into a single process
use a single process instead of 3 to improve performance
|
4 years ago |
Jordi Boggiano
|
7f85367113
|
Make sure an array is always returned
|
4 years ago |
Wissem Riahi
|
bdecb4711d
|
Add all curl_getinfo into the response and exception for curl requests
|
4 years ago |
Wissem Riahi
|
370e082b4a
|
Add saving time duration for curl HTTP requests
|
4 years ago |
Jordi Boggiano
|
1fb6b03e03
|
Fix a few edge cases in unpushed change handling
|
4 years ago |
Jordi Boggiano
|
f86b3ad0fe
|
Make sure all remotes are checked for unpushed changes, fixes #9486
|
4 years ago |
Jordi Boggiano
|
b7d770659b
|
CS fixes
|
4 years ago |
Markus Staab
|
e8ce5a3db6
|
Remove unnecessary overridden method
The method just called its parent without further logic
|
4 years ago |
Jordi Boggiano
|
c362d001f1
|
Fix regression handling installs with custom installers not passing a fully qualified path to downloaders, fixes #9431, fixes #9434
|
4 years ago |
Michaël Jacobs
|
611a9f5dab
|
Drop unused imports
|
4 years ago |