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
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