53 Commits (30e8845b1ecb2c78838cfa31dbc8b8249b58e6cd)

Author SHA1 Message Date
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
Jordi Boggiano f16e3a88e2 Clean up code format and error message 10 years ago
Christian Schiffler 7cec839d30 Fix the ZipDownloader to catch the exceptions thrown in Symfony process.
The problem was introduced in 72d4bea8 and causes composer to not fallback
to ZipArchive when unzip can not be executed (i.e. when proc_open() is
not allowed).
10 years ago
Derrick Nelson 9a54c476eb Recursively set write permissions on unzipped package contents to resolve cache unlinking issue. 11 years ago
Nils Adermann 3960edd64e Turn EventDispatcher into generic solution handling plugins as well 11 years ago
Jordi Boggiano bd345c3b43 Add IO to proc executor in a few more places to get more debug info out 11 years ago
Jordi Boggiano 7912253df6 Retry downloading when a corrupt zip is found, fixes #2133, fixes #2128, fixes #2125 11 years ago
Jordi Boggiano 67407801b8 Add debugging info for invalid zip files to try and get to the bottom of it, refs #2125 11 years ago
Jordi Boggiano f98f093f7b Minor code reformatting and error message clarification 12 years ago
Romain Neutron 72d4bea89e Change strategy for ZipDownloader
Try to use unzip command-line before ZipArchive as this one does not correctly handle file permissions whereas unzip does.
12 years ago
Mikołaj Kopras 534fe36149 Added php.ini path to error message #1052 12 years ago
Jordi Boggiano 5a9d986e67 Implement cache GC and fix keys 12 years ago
Jordi Boggiano 39e69a3b12 Refactor OAuth acquisition code to generalize it 12 years ago
Baldur Rensch 1398757963 Added a check for the return code when extracting zip file 12 years ago
Jordi Boggiano 1bd4ccbd54 php-cs-fixer magic 12 years ago
Jordi Boggiano 98380f3aad Improve unzip failure message 12 years ago
Joseph Bielawski 9631d7c3fd [ZipDownloader] If `unzip` command failed, give cleaner error. 12 years ago
Jordi Boggiano bfd48b06bd Capture zip downloader output, fixes #533 12 years ago
Jordi Boggiano 1cd07e1a2c Fix up merged code 12 years ago
till eb8ad8b74f * docblock 12 years ago
till aef502aa86 * handle errors with ZipArchive error constants to get meaningful error messages 12 years ago
Martin Hasoň f1618df349 Added downloader for simple files and refactor FileDownloader into ArchiveDownloader 13 years ago
Jordi Boggiano 4dee2528e9 Fix typo 13 years ago
Kai W. 6cf5c6e040 Restoring FileDownloader constructor compatibility in ZipDownloader 13 years ago
Jordi Boggiano f5ac5b9b3e Fix ZipDownloader, fixes #221 13 years ago
digitalkaoz 897ff9126d seperate class for Process, using this one all over the place 13 years ago
Jordi Boggiano b1f528fb06 Add fallback to unzip, refs #158 13 years ago
Joseph Bielawski d6cd6a4aef Use `RuntimeException` instead of `UnexpectedValueException` when zip extension is not enabled 13 years ago
Jordi Boggiano 00a4fe2a14 Refactor downloaders, git installs actually work well now 13 years ago
Jordi Boggiano d455eef82c Fix pear & zip downloaders 13 years ago
everzet c9ecb0d1ad Remove unused methods from downloaders 13 years ago
everzet d2150a3c2e installer and downloaders update 13 years ago
everzet d7fe0dfda4 added missing interfaces 13 years ago
Kirill chEbba Chebunin e317b4f8ef Add Dowloader and Installer interfaces 13 years ago
Jordi Boggiano 49c3446ac1 Make use of new dist properties, refactored ZipDownloader 13 years ago
Jordi Boggiano f272f66324 Fixes and improvements to the PEAR implementation 13 years ago
Benjamin Eberlei 8afc2ca694 Add support for PEAR repository and downloading, example composer.json would look like {"repositories":{"doctrine": {"pear":"http://pear.doctrine-project.org"},"requires":{"DoctrineORM":"2.0.5"}}. You can use pear repositories this way for now. PEAR packages are not downloaded via pear, only via their .tgz packages in the PEAR repository. Automatically detecting dependencies will require reverse-engineering the PEAR protocol a little bit more, however from looking at a pirum output it looks simple. 13 years ago
xaav e1e7bb03be Edited src/Composer/Downloader/ZipDownloader.php via GitHub 13 years ago