Pádraic Brady
d8cbd9f057
Expand cli TLS options to other commands + misc fixes
11 years ago
Pádraic Brady
bf01a55e53
Patch RFS test to set private fileUrl property and pass
11 years ago
Sandy Pleyte
3e161e8ea9
Updated the regexp and added an other test case for sub dirs
11 years ago
Sandy Pleyte
1d51e54a31
Updated the regexp and added more test cases.
11 years ago
Pavel Puchkin
7ccb91667f
Fallback to gzip functions when on Windows
11 years ago
Bilal Amarni
db91454a13
added an autoload-dev section
11 years ago
Pádraic Brady
81b86acc53
Merge branch 'master' of github.com:composer/composer into tls-config
...
Conflicts:
src/Composer/Util/RemoteFilesystem.php
11 years ago
Pádraic Brady
a23d87520c
Remove duplicate 5.6 ref from PR
11 years ago
Sandy Pleyte
21109ada22
Fix for #2739 (and #1755 ), added support for directory excludes in the .gitignore file like /directory or directory/
11 years ago
Pádraic Brady
8abff794cd
Fix CN matching to use correct host (should almost eliminate TLS retries where wildcard CNs are used)
11 years ago
Jordi Boggiano
0d4c2bb7d7
Fix github test
11 years ago
Jordi Boggiano
5b0dc99fec
Reuse github existing tokens instead of failing, fixes #2724
11 years ago
Jordi Boggiano
1851c29dd3
Update code to work with #2766
11 years ago
Jordi Boggiano
9db2a537e5
Merge remote-tracking branch 'cs278/github-otp-support'
11 years ago
Nils Adermann
edbc22f6bb
Merge pull request #2766 from Seldaek/rfs_errors
...
Capture response bodies in exceptions when http requests fail
11 years ago
Jordi Boggiano
5067d76dbc
Adjust test suite
11 years ago
Jordi Boggiano
28bb781324
Capture response bodies in exceptions when http requests fail
11 years ago
Pavel Puchkin
c598fdb0f5
Since there is no solution for non-unix (for now), remove the condition
11 years ago
Pavel Puchkin
ba56ac362a
Final fix. Preserve initial file name
11 years ago
Pavel Puchkin
a287884619
There is no need in DIRECTORY_SEPARATOR since it Unix
11 years ago
Pavel Puchkin
3811fe7d8b
Resolves #2521 . First and simple attempt to make a gzip downloader
11 years ago
Jordi Boggiano
e1e48b28f7
Update vendor dir modified time after every install/update, fixes #2764
11 years ago
Pádraic Brady
2972ec3d86
Show warning when we retry a TLS connection for downloads
11 years ago
Pádraic Brady
c9c6849df0
Add Common Name (CN) matching checks and TLS connection retry (by default).
...
For example, the communicated host will be github.com, but the CN is *.github.com. Also not matching api.github.com.
The logic detects an initial TLS CN-mismatch error, and parses the correct CN from the error, then checks if the CN and URL have same host before retrying.
11 years ago
Pádraic Brady
30c6aa3183
Merge branch 'master' of github.com:composer/composer into tls-config
11 years ago
Nils Adermann
b808ff5e28
Don't hardcode the URL to an https one either
11 years ago
Nils Adermann
edfaf727e5
When using the github driver with no-api don't reset to an ssh url
11 years ago
Jordi Boggiano
665a2bd0c0
Tweak error message and make TransportException extend from RuntimeException, refs #2753
11 years ago
Jordi Boggiano
a612b2affe
Merge remote-tracking branch 'naderman/download-failover'
11 years ago
Jordi Boggiano
c698c8655c
Merge pull request #2754 from naderman/github-no-api
...
Make the github driver behave like git if "no-api" is specified.
11 years ago
Jordi Boggiano
e4a3078685
Merge pull request #2751 from sndpl/issue/1966
...
Fix for #1966 , use the preferred-install from the rootPackage
11 years ago
Pádraic Brady
83d4e3a940
Fixes from functional testing (need to automate this stuff!)
11 years ago
Pádraic Brady
600b6c8cb3
TLS support for Factory::createComposer() - for JsonFile remotes
11 years ago
Pádraic Brady
a2bf14e381
Make disableTls a core RemoteFilesystem option - per method invites human error
11 years ago
Pádraic Brady
3cd979b324
Merge remote-tracking branch 'upstream/master' into tls-config
11 years ago
Nils Adermann
31fd6c233c
Rethrow download exceptions when no options left & clean up code
11 years ago
Nils Adermann
1ccf4b0fc3
Correct the tests for dist urls for github
11 years ago
Nils Adermann
a80fde97d5
Make the github driver behave like git if "no-api" is specified.
11 years ago
Nils Adermann
35fbe3fd42
Download failover means we can now always try github zip urls for dist
11 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.
11 years ago
Sandy Pleyte
ee62ec60f0
Remove old comment
11 years ago
Sandy Pleyte
ab8f67e8cf
Always use rootPackage config
11 years ago
Sandy Pleyte
9af5eaa574
Refactored the code with the switch statement.
11 years ago
Sandy Pleyte
bc7c93ae85
Fix for #1966 , use the preferred-install from the rootPackage config to install the dependencies.
11 years ago
Jordi Boggiano
234be0b5e3
CS fixes, refs #2750
11 years ago
Jordi Boggiano
d607432c75
Merge remote-tracking branch 'parsingphase/avoidFalseWildcardUpdateWarning'
11 years ago
Richard George
2c01c9dd05
Avoid "Package foo/* listed for update is not installed" error
...
Previously 'compose update foo/*' gave an error
"Package foo/* listed for update is not installed. Ignoring" even if some foo/*
packages were present; however the packages *would* then be updated as
requested. This removes the false error iff foo/SOMEPACKAGE is required.
11 years ago
Jordi Boggiano
5eafcf155a
Merge pull request #2748 from sndpl/issue/1849
...
Updated the troubleshooting doc with a chapter for the proc_fork errors
11 years ago
Sandy Pleyte
eed5ba7752
Updated the troubleshooting doc with a chapter for the proc_fork errors that happen on a tiny VPS with no swap space. Also added the solution provided in #1849 , #1101 , #945 .
11 years ago
Nils Adermann
e8a3fc5c1c
Run tests on PHP 5.6 on travis too
11 years ago