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
d5286d0cb8
Add a way for FileDownloader subclasses to add paths to the cleanup stage
4 years ago
Jordi Boggiano
da6c0635d2
Merge pull request #8980 from stucki/discard-using-git-clean
...
Discard changes is incomplete if Git project has additional folders
4 years ago
Michael Stucki
ae59047166
Clean Git repos during discard
4 years ago
Jordi Boggiano
a4a617abb4
Reduce amount of Filesystem/ProcessExecutor instantiations, add lots of docblocks
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
385655f02a
Mark temp files as such for clarity in case any gets left over
4 years ago
Ayesh Karunaratne
aa20413990
Improve regex in \Composer\Downloader\SvnDownloader::getCommitLogs() by removing unnecessary greedy operator
4 years ago
Lucas D Hedding
2bf2e9fc60
fix failing tests
4 years ago
Lucas D Hedding
3e2163de5c
#8809 : expand context for post file download event
4 years ago
Jérôme Tamarelle
bd34ff1328
Remove unused property $httpDownloader
4 years ago
Jordi Boggiano
44a4429978
Remove PEAR installer/downloader/repos/..., fixes #8778
4 years ago
Lucas Hedding
1883832ddc
Provides a post download event ( #8655 )
4 years ago
Jordi Boggiano
7d3f45cf04
Avoid errors in cleanup, fixes #8766 , fixes #8764
4 years ago
Jordi Boggiano
096b507050
Merge branch '1.10'
4 years ago
Jordi Boggiano
e121de35a3
Fix variable used for symlinking absolute paths, refs #8700
4 years ago
Markus Staab
6f6974df70
added phpdocs ( #8754 )
4 years ago
Jordi Boggiano
55f122008b
Make sure we avoid cleanup running more than once per package on VcsDownloader
4 years ago
Jordi Boggiano
9575c7623f
Update changelog, add upgrade guide
4 years ago
Adam Žurek
25cd2382cb
Raise phpstan level to 1 ( #8027 )
4 years ago
Jordi Boggiano
87757de6bc
Merge branch '2.0'
4 years ago
Jordi Boggiano
800491175b
Avoid failing cleanup when a package gets uninstalled
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
7e679656a4
Keep absolute path repos symlinks absolute, fixes #8700
4 years ago
Jordi Boggiano
8a83d5cc35
Fix create-project command
4 years ago
Jordi Boggiano
7e142b5d6b
Use Upgrading for package installs too
4 years ago
Jordi Boggiano
589abb06a3
PHPStan fixes
4 years ago
Jordi Boggiano
4e4304ae7d
Fix
4 years ago
Jordi Boggiano
0b4763e6c7
Make it clear which package the error is for when detecting uncommitted changes
4 years ago
Jordi Boggiano
1e68555e0a
Sanitize URLs in getRepoName and centralize the Url sanitization process
4 years ago
Jordi Boggiano
23359f2db6
Merge branch 'master' into 2.0
5 years ago
Tyson Andre
6827105a5b
Fix nits on typos
5 years ago
Adam Žurek
406a28708f
updated phpstan to 0.12
5 years ago
Jordi Boggiano
f6b3f12107
Merge branch 'master' into 2.0
5 years ago
Sergii Bondarenko
bb127aa3e7
Resolves #8461 : [ZipDownloader] Print `unzip` exit code when the command is failed
5 years ago
Jordi Boggiano
99eb86c506
Avoid outputting "Loading ... from cache" in non-verbose installs
5 years ago
Jordi Boggiano
f867c407c7
Merge branch 'master' into 2.0
5 years ago
Jordi Boggiano
149250ab92
Remove credentials from git remotes in cache and vendor dirs
...
This only removes the credentials if they are managed by composer auth.json or equivalent, if the credentials were present in the package URL to begin with they might remain
Refs #8293
Fixes #3644
Closes #3608
5 years ago
Jordi Boggiano
607b487295
Fix missing use/undefined var
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
f7c1b04a6c
Improve output when installing packages
5 years ago
Jordi Boggiano
1002fb12fc
Merge branch 'master' into 2.0
5 years ago