369 Commits (e1e48b28f75e9c6a293fc032588093c6f6d8d3fb)

Author SHA1 Message Date
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
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
mwhittom 0c5f4d9860 Update to fix issue with multiple perforce repositories 11 years ago
Jordi Boggiano 0fbb4cbd16 CS fixes and renaming a few methods, refs #2184 11 years ago
Jordi Boggiano 11a0d16ccc CS fixes 11 years ago
Jordi Boggiano 9a806658d6 Merge remote-tracking branch 'vuhl/master'
Conflicts:
	src/Composer/Factory.php
11 years ago
Jordi Boggiano 3f6227a996 Add workaround for php bug 53460 glob() can return false, fixes #2278 11 years ago
Derrick Nelson c98bce0446 Added RarDownloader for downloading RAR archived packages. 11 years ago
mwhittom 8a319a719b Fixed issue with non-streaming perforce depots, also fixed issue where PerforceDownloader was not logging in 11 years ago
Derrick Nelson 9a54c476eb Recursively set write permissions on unzipped package contents to resolve cache unlinking issue. 11 years ago
mwhittom 2e737ac439 updated to replace double-quotes with single quotes 11 years ago
mwhittom 774a55befd Updated to match psr-2 spec, fixed header comments 11 years ago
matt-whittom f737e49aae Fixed issue with downloader assuming repository would be VcsRepository 11 years ago
matt-whittom f3722a46ed Updated comments 11 years ago
matt-whittom dd81449998 Updated to remove vfsStreams (no longer needed by tests)
Updated Perforce to cleanup, modified VcsRepository to call cleanup on Driver class
Updated tests, perforce constructor to make tests cleaner/easier
11 years ago
matt-whittom 7fdcdb4c54 Updated to complete functionality in Downloader to handle updates, returning change logs. 11 years ago
matt-whittom 1019c014e5 using theirs 11 years ago
matt-whittom bab10dd9f8 Added ability to pass p4user and p4password in composer.json 11 years ago
matt-whittom 53d6fcd6d3 using theirs 11 years ago
matt-whittom a5df2851ef Finished cleanup of debug messages. 11 years ago
matt-whittom 64bda65e11 Updated Perforce driver to use labels
dev checkin, lots of cleanup to do
11 years ago
matt-whittom 36dd7dfea5 Cleaned up perforce code
Checks to see if already logged in to Perforce, and prompts for password if not and P4PASSWD is not set
Checks server url with perforce call
Checks for composer.json file, and returns the contents of the file already retrieved.
11 years ago
matt-whittom 0d061f2530 Added Perforce to Composer 11 years ago
Nils Adermann 786ea2929b Merge remote-tracking branch 'github-composer/master' into plugins
* github-composer/master:
  Make sure directories we are downloading to are empty
  Fix parsing of trunk in SvnDriver, fixes composer/satis#88
  Fix file layout in unit tests
  Fix parse error thrown in PHP5.5+
11 years ago
Nils Adermann a080ae3a51 Make sure directories we are downloading to are empty
We already clear them on error anyway and usually they should be
empty, but just to be safe.
11 years ago
Nils Adermann 3b519e44c4 Rename PrepareRemoteFilesystem event to PreFileDownload 11 years ago