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.
11 years ago
Jordi Boggiano
5d4900e79d
Add --no-checkout flag to avoid checking out the default branch first, fixes #2717
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
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
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
Jordi Boggiano
f5df1d6a9b
Fix cs
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
mwhittom
2e737ac439
updated to replace double-quotes with single quotes
11 years ago
mwhittom
f7d9f3d8b4
Fixed Test method setUp to be protected instead of private.
11 years ago
mwhittom
07d46aa3c3
Fixed spacing issues for PSR-2
11 years ago
mwhittom
774a55befd
Updated to match psr-2 spec, fixed header comments
11 years ago
matt-whittom
8379985166
Updated/Standardized header 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
1015957659
Added tests and code for tests
11 years ago
Nils Adermann
2ca07add97
Merge remote-tracking branch 'github-composer/master' into plugins
...
* github-composer/master:
Correct FileDownloaderTest for invalid checksum
Conflicts:
tests/Composer/Test/Downloader/FileDownloaderTest.php
11 years ago
Nils Adermann
72919e04b0
Correct FileDownloaderTest for invalid checksum
11 years ago
Nils Adermann
3960edd64e
Turn EventDispatcher into generic solution handling plugins as well
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
7252078508
Attempt to fix travis build
11 years ago
Jordi Boggiano
771233a5a0
Make it clear what is going on when a vcs folder is missing, fixes #2108
11 years ago
Jordi Boggiano
ab731b1197
Oops
11 years ago
Jordi Boggiano
be235ffc19
Fix 5.3.3 build
11 years ago
Jordi Boggiano
0822683706
Fix tests
11 years ago
Jordi Boggiano
7f2b321044
Fix tests
11 years ago
Jordi Boggiano
6b876958b9
Fix tests
11 years ago
Stéphane Klein
42119dde6b
Use github protocols setting for push urls
11 years ago
Jordi Boggiano
c479a26d71
Add workaround for msysgit failing to handle symlinks on windows, fixes #1048 , fixes #1418
11 years ago
Jordi Boggiano
4cac2caf70
Make sure cd call allows switching drives on windows, fixes #1971
11 years ago
Jordi Boggiano
8b8dc1fd70
Remove all possible cd calls, refs #1971
11 years ago
Jordi Boggiano
3fd883a489
Set cwd instead of using cd in GitDownloader, refs #1832
12 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
b641f9ea68
Fix tests
12 years ago
Jordi Boggiano
5a9d986e67
Implement cache GC and fix keys
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
Jordi Boggiano
39e69a3b12
Refactor OAuth acquisition code to generalize it
12 years ago
Jordi Boggiano
ed9fcc5074
Fix tests
12 years ago
Jordi Boggiano
f752b29fc6
Always make sure we are on the right branch
12 years ago
Jordi Boggiano
3068f29b4f
Checkout branch by name when the current reference matches the branch tip, fixes #1164
12 years ago
Jordi Boggiano
027037bb9f
Fix dist urls for lock files and hardcoded references
12 years ago
Jordi Boggiano
056dc5d690
Move config to all VcsDownloaders, enforce array for github-protocols
12 years ago
Martin Hasoň
3b6bd761ec
Set protocols for github in composer config file
12 years ago
Jordi Boggiano
354b82bb8c
Fix git checkouts of custom branches, fixes #889
12 years ago
Jordi Boggiano
eb283b34e4
Revert "Fix git checkouts of custom branches, fixes #889"
...
This reverts commit cbf27bb422
.
12 years ago
Jordi Boggiano
cbf27bb422
Fix git checkouts of custom branches, fixes #889
12 years ago
Alexey Prilipko
ac3cebc633
Update PEAR Package Extractor to use 'task:replace', 'phprelease' commands and install role='script' files
...
Add PearInstaller
Change PEAR packages type from 'library' to 'pear-library' and dist type from 'pear' to 'file'
Remove PearDownloader
Refactor Channel Installer
12 years ago