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
Jordi Boggiano
1bf2df19dd
Avoid cleaning up $path in downloaders if it is the CWD (create-project use case), refs #9396
4 years ago
Jordi Boggiano
6cb0aff417
Fix issue preventing cleanup of vendor dir when it is nested in the install path on Windows, fixes #9396
4 years ago
Jordi Boggiano
7649c8438d
Fix exception when using create-project in current directory, fixes #9073
4 years ago
Jordi Boggiano
83c64a9d19
Reuse operation formatting logic in downloaders
4 years ago
Jordi Boggiano
d1fedc3bd6
Restore old behavior of wiping dir contents before installing, fixes #8988
4 years ago
Jordi Boggiano
09fc263d37
Fix status command bug
4 years ago
Jordi Boggiano
aea074308c
Update batching to install plugin deps before the plugin (alone an own batch)
4 years ago
Jordi Boggiano
9c78eda7db
Fix FileDownloader::update impl to handle promises
4 years ago
Jordi Boggiano
87a0fc5506
Execute operations in batches to make sure plugins install in the expected order
4 years ago
Jordi Boggiano
3af617efe8
Parallelize zip extraction using async unzip processes
4 years ago
Jordi Boggiano
90bd351b8b
Allow downgrades to go through even though the target dir for archive extraction exists
4 years ago
Jordi Boggiano
02059d96e7
Fail early if an archive extraction is going to fail at install/update stage to avoid leaving the vendor dir in a half up to date state
4 years ago
Jordi Boggiano
1b1d59ee6c
Make FileDownloader always download file first in vendor-dir/composer/$tmp instead of next to install path to avoid issues with custom installers not being loaded when downloading on first install, and use cleanup method properly
4 years ago
Jordi Boggiano
918768fc54
Make sure we get a temporary dir which is unique
4 years ago
Jordi Boggiano
73251691a0
Avoid emptying the directory before extracting an archive into it, check that it is empty instead
4 years ago
Jordi Boggiano
898ba6f869
Only empty dir before actually installing packages, fixes #7929
5 years ago
Jordi Boggiano
f7c1b04a6c
Improve output when installing packages
5 years ago
Jordi Boggiano
3dfcae99a9
Add parallel download capability to FileDownloader and derivatives
6 years ago
Hector Prats
2413b55c60
LocalChanges for ArchiveFiles
6 years ago
Jordi Boggiano
e6114b2ca7
Fix support for replacing dist refs in gitlab URLs and add support for gitlab/github enterprise too
7 years ago
Christian Mayer
512188d212
Filter macOS .DS_Store files when detecting github archives, fixes #6784 , closes #6785
7 years ago
David Zuelke
f20d40a33a
fix #6244
7 years ago
Jordi Boggiano
4d082f77b8
Simplify composer output to take less lines
8 years ago
Jordi Boggiano
8808638ea9
Make sure cache clearing works easily in all cases
9 years ago
Jordi Boggiano
49d7d65933
Add verbosity input support to IOInterface
9 years ago
Jordi Boggiano
33badac0a8
Include full error message in debug mode
9 years ago
Jordi Boggiano
6a64041055
CS fixes
9 years ago
Wim Vandersmissen
1ff2a02517
fix to download correct Bitbucket archive reference when using --prefer-dist
9 years ago
Rob Bast
cb336a5416
Implement writeError throughout Composer
9 years ago
Jordi Boggiano
94926218e8
CS fixes
10 years ago
Jordi Boggiano
0ce0cf42e8
Merge remote-tracking branch 'francoispluchino/fix-phpdoc'
...
Conflicts:
src/Composer/EventDispatcher/EventDispatcher.php
10 years ago
Jordi Boggiano
1110074d5f
Clean up properly after creating the vendor dir
10 years ago
François Pluchino
8b5c00bff0
Fix phpdoc
10 years ago
Jordi Boggiano
745dcbce33
Fix file deletions to always use a delayed retry on windows, fixes #3074
10 years ago
Jordi Boggiano
e890d1bc59
Remove use of glob, fixes #3042
10 years ago
Jordi Boggiano
170f395004
Merge pull request #2949 from jakoch/patch-3
...
renamed listFiles() to getFolderContent(). fixed comment: the method doe...
10 years ago
Jordi Boggiano
56c5af8dc4
realpathGlob tweaks, refs #2932
10 years ago
Richard Quadling
443858dae7
Force all glob results to be realpath'd.
10 years ago
jakoch
01968efa6f
renamed listFiles() to getFolderContent(). fixed comment: the method doesn't return a "list of files in a directory, including dotfiles", it returns a "list of files and folders, excluding dotfiles". switched from !is_file() to is_dir() check.
10 years ago
Jakub Onderka
afc9069771
Check exception code only if class ZipArchive exists
...
If is for example exception throwed when downloading tar archive on system without installed zip extension, PHP hangs on fatal error " Class 'ZipArchive' not found".
11 years ago
Jordi Boggiano
3f6227a996
Add workaround for php bug 53460 glob() can return false, fixes #2278
11 years ago
Jordi Boggiano
30f94365f0
Return path of the downloaded file
11 years ago
Jordi Boggiano
78a8a5ca0b
Fix output of invalid zip files when download is retried
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
a6e3b23ca5
Stop trying to bypass https since github does not and will not support non-https transports
11 years ago
Jordi Boggiano
27d958a1de
Extract archives into vendor dir to avoid permission errors, fixes #1765 , fixes #1714
11 years ago
Jordi Boggiano
10a7008fdf
Trim query string from extension when downloading archives
11 years ago