Jordi Boggiano
|
f37f3dab04
|
Fix abort of downloads and zip extraction to happen immediately, fixes #9390
|
4 years ago |
Jordi Boggiano
|
b7d770659b
|
CS fixes
|
4 years ago |
Michaël Jacobs
|
611a9f5dab
|
Drop unused imports
|
4 years ago |
Michaël Jacobs
|
c35a8e77c7
|
Fix missing directory separator in FileDownloader
|
4 years ago |
Jordi Boggiano
|
bc9336946e
|
Trim trailing slash in path downloader to avoid symlink issues, and in FileDownloader::getLocalChanges as we append a string without slash, refs #9422
|
4 years ago |
Ondřej Mirtes
|
48b23b1607
|
Simplify code in FileDownloader.php
|
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 |
Chauncey McAskill
|
1bb87babe6
|
Fix availability of $urls in FileDownloader
Fixed:
- Ensure manipulations to the first element of $urls in the $download callback are available in $accept and $reject
|
4 years ago |
Jordi Boggiano
|
24abd233ec
|
Merge branch 'master' into code-improvements
|
4 years ago |
Fränz Friederes
|
369c2ff552
|
Implement PR code style feedback
|
4 years ago |
Simon Berger
|
80a75e9959
|
Minor code improvements
|
4 years ago |
Fränz Friederes
|
a1a3e29f52
|
Fix using inside anonymous function
|
4 years ago |
Fränz Friederes
|
57e1ce6cdb
|
Change the file download cache key with the processed URL, implement custom cache key
|
4 years ago |
Jordi Boggiano
|
90332f1dbd
|
Add a readonly mode to the cache, fixes #9150
|
4 years ago |
Jordi Boggiano
|
83c64a9d19
|
Reuse operation formatting logic in downloaders
|
4 years ago |
Jordi Boggiano
|
09fc263d37
|
Fix status command bug
|
4 years ago |
Jordi Boggiano
|
0d369c87bc
|
Merge pull request #8975 from ffraenz/pr
Composer 2: Allow plugins to override the URL before triggering the download
|
4 years ago |
Jordi Boggiano
|
9c78eda7db
|
Fix FileDownloader::update impl to handle promises
|
4 years ago |
Jordi Boggiano
|
d5286d0cb8
|
Add a way for FileDownloader subclasses to add paths to the cleanup stage
|
4 years ago |
Fränz Friederes
|
5c13c97428
|
Implement type and context properties in PreFileDownloadEvent
|
4 years ago |
Fränz Friederes
|
13bdf8553a
|
Add setProcessedUrl method to PreFileDownloadEvent
|
4 years ago |
Jordi Boggiano
|
a4a617abb4
|
Reduce amount of Filesystem/ProcessExecutor instantiations, add lots of docblocks
|
4 years ago |
Jordi Boggiano
|
385655f02a
|
Mark temp files as such for clarity in case any gets left over
|
4 years ago |
Lucas D Hedding
|
2bf2e9fc60
|
fix failing tests
|
5 years ago |
Lucas D Hedding
|
3e2163de5c
|
#8809: expand context for post file download event
|
5 years ago |
Lucas Hedding
|
1883832ddc
|
Provides a post download event (#8655)
|
5 years ago |
Jordi Boggiano
|
7d3f45cf04
|
Avoid errors in cleanup, fixes #8766, fixes #8764
|
5 years ago |
Adam Žurek
|
25cd2382cb
|
Raise phpstan level to 1 (#8027)
|
5 years ago |
Jordi Boggiano
|
800491175b
|
Avoid failing cleanup when a package gets uninstalled
|
5 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
|
5 years ago |
Jordi Boggiano
|
7e142b5d6b
|
Use Upgrading for package installs too
|
5 years ago |
Adam Žurek
|
406a28708f
|
updated phpstan to 0.12
|
5 years ago |
Jordi Boggiano
|
99eb86c506
|
Avoid outputting "Loading ... from cache" in non-verbose installs
|
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 |
Jordi Boggiano
|
9ee345ed29
|
Make sure the directory exists and will not block installation later when downloading
|
5 years ago |
Jordi Boggiano
|
6a7220fed8
|
Avoid wiping the whole target package if download of the new one fails, refs #7929
|
5 years ago |
Jordi Boggiano
|
898ba6f869
|
Only empty dir before actually installing packages, fixes #7929
|
5 years ago |
Jordi Boggiano
|
4517c00d40
|
Merge branch 'master' into 2.0
|
6 years ago |
Jordi Boggiano
|
98a15bc93c
|
Add output for metapackage installs/updates/.. fixes #7586
|
6 years ago |
Jordi Boggiano
|
bb2f64c7bc
|
Remove ability to override the entire HttpDownloader instance in PRE_FILE_DOWNLOAD events
|
6 years ago |
Jordi Boggiano
|
549ccd8f79
|
Remote outputProgress concept from downloaders as it does not make sense when things happen in parallel, refs #7901
|
6 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 |
Jordi Boggiano
|
73f14c0c7c
|
Fix output when loading zips from cache, fixes #7498
|
6 years ago |
Jordi Boggiano
|
0f373e3249
|
Fix issues introduced by #7191, fixes #7263
|
7 years ago |
Jordi Boggiano
|
c917865fe9
|
Fix handling of dev versions and consolidate logic, refs #7119
|
7 years ago |
Jordi Boggiano
|
24ad6307a7
|
Merge remote-tracking branch 'austris-argalis/issue-7085'
|
7 years ago |
Jordi Boggiano
|
b1a78b60fe
|
Remove output while the changes are being collected
|
7 years ago |
Hector Prats
|
2413b55c60
|
LocalChanges for ArchiveFiles
|
7 years ago |