394 Commits (31b787249c22357b6b14306eb9766af5b1ac7754)

Author SHA1 Message Date
Jordi Boggiano ba776c06ee Add composer mirror class 10 years ago
Jordi Boggiano 9cbfe31983 Fix regression when using -vvv 10 years ago
Jordi Boggiano 77163f66fc Add support for mirrors in composer repos 10 years ago
Jordi Boggiano 32cd883daa Rename options to transport-options, refs #2189 10 years ago
Jordi Boggiano 016a016455 Merge remote-tracking branch 'lcobucci/master'
Conflicts:
	src/Composer/Downloader/FileDownloader.php
10 years ago
Jordi Boggiano b437c1cc05 Support github auth directly in the RemoteFilesystem class 10 years ago
Jordi Boggiano 6e16d53def Also use rawurlencode in git downloader, refs #2859 10 years ago
Jordi Boggiano 07b8fe8109 Refactor code so it works cross-platform, refs #2825 10 years ago
Jordi Boggiano 01bf61fede Merge remote-tracking branch 'sebbrandt87/master' 10 years ago
Sebastian Brandt f633ab503e Update SvnDownloader.php 10 years ago
Clark Stuth dd1fd0e306 fixed perforce to reference labels instead of invalid tags 10 years ago
Clark Stuth 3a3661a0b3 removing dead code lines and excess comments 10 years ago
Clark Stuth 24dd42267f almost all unit tests passing after IOInterface dependency refactor. no longer passing IOInterface into any Perforce methods 10 years ago
Clark Stuth 0f7b078d6c added new dependency to Perforce object, updating some tests. 10 years ago
Sebastian Brandt 16489dc084 Update SvnDownloader.php
added --ignore-ancestry to the switch statement because it can be a problem with svn:properties
10 years ago
Jordi Boggiano 78343ead10 Merge pull request #2765 from neoascetic/gzip_downloader
Gzip downloader (resolves #2521)
10 years ago
Pavel Puchkin 9fda8cdc84 Type in comment 10 years ago
Pavel Puchkin 7ccb91667f Fallback to gzip functions when on Windows 10 years ago
Jordi Boggiano 28bb781324 Capture response bodies in exceptions when http requests fail 10 years ago
Pavel Puchkin c598fdb0f5 Since there is no solution for non-unix (for now), remove the condition 10 years ago
Pavel Puchkin ba56ac362a Final fix. Preserve initial file name 10 years ago
Pavel Puchkin a287884619 There is no need in DIRECTORY_SEPARATOR since it Unix 10 years ago
Pavel Puchkin 3811fe7d8b Resolves #2521. First and simple attempt to make a gzip downloader 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 60bf5633ea Wording tweaks, refs #2728 11 years ago
Jordi Boggiano 7ac1f1265e Merge remote-tracking branch 'sndpl/issue/2494' 11 years ago
Sandy Pleyte 40095d980c Fix for #2494, don't retrieve svn log when the references don't contain a reference number. 11 years ago
Jordi Boggiano 432ace33d4 Clean up svn environment to fix OSX issues, fixes #2708, refs #2146 11 years ago
Jordi Boggiano 5d4900e79d Add --no-checkout flag to avoid checking out the default branch first, fixes #2717 11 years ago
Jordi Boggiano 245461d8ed Merge pull request #2682 from gena01/ssh-support-in-github-protocols
Adding ssh protocol support to "github-protocols".
11 years ago
Jordi Boggiano e03057156c CS fixes 11 years ago
Gennady Feldman ac78eaa027 Adding ssh protocol support to github-protocols. 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
Alexander 23a61c5a1d Fix typo in doc 11 years ago
Jordi Boggiano bc153ea78b Clean up var name 11 years ago
Andrej Hudec 5b4a3f9e9f List all available downloader types in exception message. 11 years ago
Jordi Boggiano f6666fe601 Update source/dist refs when a commit is recovered from, fixes #1130 11 years ago
Jordi Boggiano 543599cdf7 Fix commit is gone recovery, refs #1130 11 years ago
Jordi Boggiano 81994f6b90 Re-download files when the cached copy is invalid, fixes #1496 11 years ago
Jordi Boggiano 1d0cc93fbb Handle metapackages properly in downloadmanager, fixes #2466 11 years ago
Luís Otávio Cobucci Oblonczyk 0f2c0ab389 Merge remote-tracking branch 'upstream/master'
Conflicts:
	src/Composer/Downloader/FileDownloader.php
11 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
mwhittom a8084e46ff Added error handling and error messages around missing perforce driver, invalid username/password 11 years ago
user a956ce9bb1 Use 'cache-files-ttl' for cache gc, fixes #2441
The configuration option 'cache-ttl' was used instead of 'cache-files-ttl' to determine
whether or not a cache gc should be performed.

* changed 'cache-ttl' to 'cache-files-ttl' to determine if a gc should be performed
* refactored FileDownloader to allow for easier testing
* added test to ensure that the gc is called with the proper config option
11 years ago
Chris Smith d348dd44cd Fix URL sanitisation regexp being too greedy 11 years ago
smaftoul 0959d8f134 Retry on some 5xx errors
`composer install` gives me some intermittent 502 errors on github. Composer already does some retries. I think, on 502, 503 and 504, we should retry.
11 years ago
Gennady Feldman a4d7fc138a Fixing broken unit test. 11 years ago
Jordi Boggiano 7148b22414 Add github-domains config value for GitHub Enterprise setups, fixes #728
Signed-off-by: Gennady Feldman <gena01@gmail.com>
11 years ago