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
Jordi Boggiano
e3f06582e4
Clean up archive downloader, fixes #1630
11 years ago
Jordi Boggiano
9f961dca92
Guard against arrays being passed to is_file, fixes #1627
11 years ago
Jordi Boggiano
88ae6c023b
Extract archives into temp dir to shorten paths and avoid issues on windows, fixes #1591
11 years ago
Filippo Tessarotto
470adc47df
Switched rand() to mt_rand()
12 years ago
Jordi Boggiano
224934831d
Change all github archive URLs to API URLs and handle fallback for those to nodeload
12 years ago
Jordi Boggiano
07f7487c60
Clear cached files when they fail to extract or validate, refs #941
12 years ago
Jordi Boggiano
1682532b80
Update code to use new github archive URLs
12 years ago
Jordi Boggiano
0878c6deab
Fix nodeload fallback URLs
12 years ago
Mateusz Heleniak
91fc635ca5
better rename reliability on Windows - a workaround for random "Access denied" errors
12 years ago
Jordi Boggiano
027037bb9f
Fix dist urls for lock files and hardcoded references
12 years ago
Jordi Boggiano
ebc0f8884f
Merge remote-tracking branch 'tot-ra/patch-2'
...
Conflicts:
src/Composer/Downloader/ArchiveDownloader.php
12 years ago
Артём Курапов
274b54c2b5
Update src/Composer/Downloader/ArchiveDownloader.php
...
Code style fix
12 years ago
Артём Курапов
03db848b23
Update src/Composer/Downloader/ArchiveDownloader.php
...
Fixed single-file archive post-extraction moving
12 years ago
Артём Курапов
091b2e86db
Update src/Composer/Downloader/ArchiveDownloader.php
...
Fix to single-file archive
12 years ago
Артём Курапов
ece954a7a4
Update src/Composer/Downloader/ArchiveDownloader.php
...
Fix for single-file archives, for example http://sourceforge.net/projects/rssphp/files/rssphp/v1/rss_php.v1.zip/download
12 years ago
Johannes M. Schmitt
2a6b12fb65
fixes rename bug ( closes #900 )
12 years ago
Jordi Boggiano
1bd4ccbd54
php-cs-fixer magic
12 years ago
Jordi Boggiano
b5d235abb6
More verbose output for archive and git downloader
12 years ago
Jordi Boggiano
7cb79bb1c9
Fix typo & tests
12 years ago
Jordi Boggiano
605e1cb925
Clean up in case of download/extraction failure, fixes #356
12 years ago
Beau Simensen
38680998ed
Remove the RemoteFilesystem factory and document GitHubDriver->GitDriver fallback.
12 years ago