55 Commits (0f2f950cb6aa583b60c7b63845734dce185874a7)

Author SHA1 Message Date
Jordi Boggiano ff59bbdab0 CS fixer 6 years ago
Jordi Boggiano a29ad2bfd6 Add some more debugging info 7 years ago
Jordi Boggiano 122e422682 CS fixes 7 years ago
Jordi Boggiano 0ed5b541a9 Fix CS 8 years ago
Jordi Boggiano 3c640e689e Fix regex escaping and remove constants 8 years ago
Jordi Boggiano 06be9b88c2 Merge remote-tracking branch 'slbmeh/feature/gh-2787' 8 years ago
Jordi Boggiano 02952c3bdc Add missing </error> tag, refs #4878 8 years ago
Jordi Boggiano d347e1efca Minor tweaks refs #4878 8 years ago
bogdan e0fad1f55b Implemented interactive user confirmation on source package update failure
Removed unnecessary options for installation
Removed unnecessary exception
9 years ago
bogdan 581ce91f90 Implemented new option (ignore-missing-metadata) for composer install command
The command allows to slightly change how repository updates are handled during install

In the previous version composer failed to updated if .git|.svn|.hg folder was missing from the package
In the current version, with the option enabled, if the update fails for exactly this reason,
it'll try to remove the package completely and install it from remote
9 years ago
Jordi Boggiano ce08582671 Fix CS 9 years ago
Steve Buzonas b44c3bee52 add tests to cover different use cases of package install preferences 9 years ago
Steve Buzonas 124739d055 fix preference resolution to be backwards compatible 9 years ago
Steve Buzonas bf08b6eb90 add support for package based install type preferences 9 years ago
Rob Bast cb336a5416 Implement writeError throughout Composer 9 years ago
Jordi Boggiano 3e1d0681d1 Merge pull request #3334 from NAYZO/master
minor fixes in DownloadManager.php
10 years ago
Jordi Boggiano 332a933e8b Remove fallback on missing commit, fixes #3314, fixes #3147 10 years ago
Ala Eddine Khefifi 7cea912d30 minor fixes in DownloadManager.php
We should use "===" instead of "==" since it's better and faster in this case.
10 years ago
François Pluchino 8b5c00bff0 Fix phpdoc 10 years ago
Jordi Boggiano ac497feaba CS fixes 10 years ago
Jordi Boggiano 665a2bd0c0 Tweak error message and make TransportException extend from RuntimeException, refs #2753 10 years ago
Nils Adermann 31fd6c233c Rethrow download exceptions when no options left & clean up code 10 years ago
Nils Adermann 5ed18d9aa2 Fail over from source to dist and vice versa when downloads fail
Any RuntimeException descendent will be caught and cause another
download attempt using either source or dist depending on what was
attempted first.
10 years ago
Jordi Boggiano e03057156c CS fixes 11 years ago
Julius Beckmann ed5da804dd Fixed handling of Metapackages in DownloadManager.
The "getDownloaderForInstalledPackage" returns null for "metapackage" and the download(), update() and remove() methods did not handle this return value correctly.
11 years ago
Andrej Hudec 5b4a3f9e9f List all available downloader types in exception message. 11 years ago
Jordi Boggiano 1d0cc93fbb Handle metapackages properly in downloadmanager, fixes #2466 11 years ago
Jordi Boggiano 8d0b7f278e CS fixes 11 years ago
Pavel Savinov 831bd844bd Almost PHPDoc problems fixed 11 years ago
Galymzhan f59181d7d5 add support for --no-progress, fixes #621 12 years ago
Pascal Borreli 5eead93250 Fixed typos 12 years ago
Jordi Boggiano 8a35353e8d Allow dist installs for dev packages that do not have a source setup 12 years ago
Mateusz Heleniak aa0ff14be5 added --prefer-dist option 12 years ago
Jordi Boggiano ef637c8f1a CS fixes 12 years ago
Kirill chEbba Chebunin 2f7e064e99 Add missed docblock for the parameter in the DownloadManager constructor 12 years ago
Jordi Boggiano 66e9dcddf4 CS fixes 12 years ago
Jordi Boggiano 1bd4ccbd54 php-cs-fixer magic 12 years ago
Jordi Boggiano 71cecd8e93 Fix CS 12 years ago
Jordi Boggiano edba29be45 Merge remote-tracking branch 'till/download-fun' 12 years ago
till a8121bc0a6 * fluent interface for set methods
* strtolower() type so setting is a little more relaxed
12 years ago
Jordi Boggiano 0e9f88a3da Fix DownloadManagerTest creating directories on disk 12 years ago
Jordi Boggiano 14c3222478 Simplify code 12 years ago
Jordi Boggiano 983de81b1d Force a redownload to source when updating from dist to dev package 12 years ago
Jordi Boggiano 3fe87b1e35 Force dev packages to be installed from source 13 years ago
Jordi Boggiano 5da021ffa7 Moved Filesystem to base Util namespace 13 years ago
Matthias Pigulla 54cf9aeb46 Make sure the target-dir exists 13 years ago
Jordi Boggiano 6b6d6b6d82 Add --dev flag to InstallCommand to do source installs, fixes #26 13 years ago
Jordi Boggiano b100df33d8 Make ArrayDumper and ArrayLoader reversible 13 years ago
everzet 195272da09 refactored DownloaderInterface to be mono-installation-type 13 years ago
everzet cc740249ff don't return useless info 13 years ago