Jordi Boggiano
|
6a466a120a
|
Enable strict types on all files
|
2 years ago |
Jordi Boggiano
|
3cdca37e85
|
Fix strict type issues
|
2 years ago |
Jordi Boggiano
|
7abc8da7d3
|
Add more types
|
2 years ago |
Jordi Boggiano
|
6da38f83a0
|
Add parameter types to all the things
|
2 years ago |
Alexander Schranz
|
1321bfca36
|
Add return types to closures (#9)
|
2 years ago |
Jordi Boggiano
|
4e6d54b731
|
Fix all 5.3 $this-in-closure usages
|
2 years ago |
Jordi Boggiano
|
c65d09dff7
|
Fix @inheritDoc annotations
|
3 years ago |
Martin Herndl
|
fa4d4e20e9
|
Add types to `Downloader` (#10193)
|
3 years ago |
Jordi Boggiano
|
b209816056
|
Type annotations
|
3 years ago |
Jordi Boggiano
|
915f3f4fb6
|
Make sure that if cleanup happens before install completes on zip updates, we do not report bogus errors, fixes #9804
|
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
|
28c7d0ea5d
|
Avoid creating new processes to remove directories which we know are empty, which speeds things up a lot on windows
|
3 years ago |
Jordi Boggiano
|
8392508e23
|
Merge branch '2.0'
|
3 years ago |
Jordi Boggiano
|
b451bcb1ac
|
Fix issue extracting archives into paths that already exist, fixes composer/installers#479
|
3 years ago |
Jordi Boggiano
|
40800df6bd
|
Fix CS
|
3 years ago |
Jordi Boggiano
|
b3951b8804
|
Fix output of FileDownloader and related to avoid async issues
|
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
|
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
|
5 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
|
6 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
|
8 years ago |
Jordi Boggiano
|
49d7d65933
|
Add verbosity input support to IOInterface
|
8 years ago |