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
Jordi Boggiano
00a4fe2a14
Refactor downloaders, git installs actually work well now
13 years ago
Jordi Boggiano
b9114e16be
Fix typos, short var names etc
13 years ago
everzet
50aa7ac607
Provide $useSource argument to the DownloaderInterface methods
13 years ago
everzet
17d1abcec0
Refactored DownloadManager
13 years ago
everzet
cde9531e4d
DownloadManager implemented
13 years ago