90 Commits (d6f4111f354f24b0c2c63673e10a37d5a3c4b433)

Author SHA1 Message Date
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 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
Nicolas Grekas bec76367db
Speedup extracting on Windows 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 b7d770659b
CS fixes 4 years ago
Jordi Boggiano 2a36c3a70a
Minor tweaks 4 years ago
Jordi Boggiano aaef3ff5ff
Improve error reporting when unzip fails due to race condition in unhandled Promise, refs #8988 4 years ago
Jordi Boggiano 9c78eda7db
Fix FileDownloader::update impl to handle promises 4 years ago
Jordi Boggiano 3af617efe8
Parallelize zip extraction using async unzip processes 4 years ago
Jordi Boggiano a4a617abb4
Reduce amount of Filesystem/ProcessExecutor instantiations, add lots of docblocks 4 years ago
Jordi Boggiano f6b3f12107
Merge branch 'master' into 2.0 5 years ago
Sergii Bondarenko bb127aa3e7 Resolves #8461: [ZipDownloader] Print `unzip` exit code when the command is failed 5 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
CZechBoY a062cd1a31
added phpstan on level 0 5 years ago
Jordi Boggiano 3dfcae99a9 Add parallel download capability to FileDownloader and derivatives 6 years ago
Jordi Boggiano 713bc4de1d Minor fixes and updated the rest of the code/tests to use HttpDownloader 6 years ago
Jordi Boggiano 56805ecafe Add HttpDownloader to wrap/replace RemoteFilesystem with a new curl multi implementation 6 years ago
Jérôme Tanghe a51563300c Warning about the UNIX permissions lost if unzip command is not installed.
Some packages provide (such as Symfony Panther or Dusk) executable files, but
as PHP's unzip extension does not handle UNIX permissions, those files will
lose their executable ones.
6 years ago
Jordi Boggiano 9bc578e24a Fix warning tag name, fixes #7494 6 years ago
Rasmus Schultz 5bae1913ab swap tests to prevent conflicting error-messages 6 years ago
Rasmus Schultz 07867724d0 add back the warning about missing unzip
display an error-message on non-Windows OS if unzip is unavailable, per #7383
6 years ago
AjiYakin 03c560ce05 Warn identical names w/ different capitalization for unzip
Warn about identical names with different capitalization on unzip archive
extract failure (Not a directory)

Issue #5938
7 years ago
Martin Hasoň 88ec172bd8 Fix CS 7 years ago
Jordi Boggiano c917c52f81 Message tweak, refs #6341 7 years ago
AjiYakin 8858b27ced Warn identical names w/ different capitalization - extract zip archive
Warn about identical names with different capitalization on zip archive
extract failure (Not a directory)

Issue #5938
7 years ago
Jordi Boggiano eff9326b0d Fix BC break, fixes #6419 7 years ago
Jordi Boggiano 61511cfed6 Fix CS issues, refs #6159 7 years ago
Guillaume ZITTA f89e01d622 switch first / fallback order 7 years ago
Guillaume ZITTA 2e8d715c2f fix bad visibility 7 years ago
Guillaume ZITTA 98b7bd68b4 fix docstring and useless return 7 years ago
Guillaume ZITTA 921ffe741f Cleaner fallback Algorithm 7 years ago
Guillaume ZITTA 211c874b93 split into 2 extract methods 7 years ago
Guillaume ZITTA 374ada6914 useless if, condition il already true 7 years ago
Jordi Boggiano 4d082f77b8 Simplify composer output to take less lines 8 years ago
johnstevenson 379fb70ad9 Use random name for tmp ini and delete after use
Thanks to Patrick Rose for reporting this issue.
8 years ago
Nicolas Grekas f063d28a59 Cleanup processes output handling 8 years ago
Nicolas Grekas 08d48cb61a Prefer ZipArchive over unzip on Windows 8 years ago
Niels Keurentjes d60e0c1842 Accidentally indented. 8 years ago
Niels Keurentjes 379d769132 Troubleshooting and warning in code related to issues with native ZipArchiver. 8 years ago
Jordi Boggiano a63f8d511e Avoid chmod on windows 8 years ago
Jordi Boggiano 2c67fb67f2 Rename variable and remove useless comment 8 years ago
Jordi Boggiano b945fc4d83 Add unzip support on windows and fail earlier if unzipping is impossible, fixes #4943 8 years ago
Niels Keurentjes 0dab63e050 Unified all Windows tests throughout the code. 9 years ago
Jordi Boggiano c1cc6bfecf Avoid doing too many loads of the remotefilesystem 9 years ago
Jordi Boggiano d35fc31f62 Add process error to the output of failed unzipping 9 years ago
frederik d1d40502bf ProcessExecutor::escape 10 years ago
frederik 7ae1430689 #3297 ProcessUtil class using ProcessUtil of Symfony Console 10 years ago
Jordi Boggiano ac497feaba CS fixes 10 years ago