1
0
Fork 0
Commit Graph

2894 Commits (432955e0ae0b83a3c213be62d1a8cd21e2e89c07)

Author SHA1 Message Date
Wes Mason 169bb2d60e Use -r option of read shell builtin to avoid escaping of backslashes on password input 2012-10-21 18:07:26 +02:00
Jordi Boggiano 31a1bd2c39 Remove output if the token can be fetched automatically 2012-10-21 18:03:18 +02:00
Jordi Boggiano c53729793b Make sure the global config file is only readable by the owner 2012-10-21 18:01:53 +02:00
Jordi Boggiano 7aab7c6297 Fix StreamContextFactory tests 2012-10-21 17:57:16 +02:00
Jordi Boggiano 39e69a3b12 Refactor OAuth acquisition code to generalize it 2012-10-21 17:56:57 +02:00
Jordi Boggiano bf5f34a114 Merge remote-tracking branch '1stvamp/github-tokens-from-git-config' 2012-10-21 17:12:14 +02:00
Jordi Boggiano c7b26c8d82 Return 1 if installation of deps failed, fixes #936 2012-10-21 17:00:05 +02:00
Jordi Boggiano ca1dcc4659 Merge remote-tracking branch 'nbaksalyar/proxy_fix' 2012-10-21 16:25:56 +02:00
Jordi Boggiano da8dc58444 Merge remote-tracking branch 'simensen/update-symfony-deps'
Conflicts:
	composer.lock
2012-10-21 16:14:35 +02:00
Jordi Boggiano 338127ff9c Disable failure on hash mismatch until it can be proven to work reliably 2012-10-21 16:10:47 +02:00
Jordi Boggiano 3116c979d3 Fix undefined var, fixes #1235 2012-10-21 16:03:05 +02:00
Jordi Boggiano 7d97d54de0 Update deps 2012-10-21 15:14:19 +02:00
Jordi Boggiano 573e4b2a7c Merge branch 'newrepo' 2012-10-21 14:18:00 +02:00
Wes Mason 5fb0403276 Use process executor instead of exec to run git config 2012-10-21 10:05:56 +01:00
Wes Mason 1442c1e026 Damnable tabs! 2012-10-21 10:02:33 +01:00
Wes Mason 2cb07dd2fe Allow use of Github OAuth2 token stored in git config 2012-10-21 01:06:56 +01:00
Nikita Baksalyar 8f0f1e3aac Fixed an issue with HTTP proxy and PHP 5.4 2012-10-20 20:27:46 +05:00
Beau Simensen 27352776eb Updated Symfony deps to ~2.1@dev 2012-10-19 09:50:05 -07:00
Jordi Boggiano 344df03253 Update deps 2012-10-19 18:18:48 +02:00
Jordi Boggiano 9e90db45b3 Add docs for ~ operator 2012-10-19 14:33:46 +02:00
Jordi Boggiano a59a5c4581 Merge remote-tracking branch 'simensen/sem-version-support' 2012-10-19 13:55:47 +02:00
Jordi Boggiano 44c271a477 Merge remote-tracking branch 'simensen/less-than-dev' 2012-10-19 13:43:03 +02:00
Jordi Boggiano ba96f9f6b5 Clarify conditional 2012-10-19 13:42:35 +02:00
Jordi Boggiano c2d9fa43eb Merge remote-tracking branch 'fortrabbit/frbit-createprojectdist' 2012-10-19 13:39:25 +02:00
Ulrich Kautz 051118c500 Check for necessity of VCS cleanup when --prefer-dist is used (only project package, so far) 2012-10-19 12:56:59 +02:00
Jordi Boggiano 75c0d5592d Add subversion repo options docs 2012-10-19 12:31:05 +02:00
Jordi Boggiano ed9fcc5074 Fix tests 2012-10-19 12:25:53 +02:00
Jordi Boggiano 0a3097c569 Merge remote-tracking branch 'bboer/feature/svn-alternative-structures'
Conflicts:
	src/Composer/Repository/Vcs/GitHubDriver.php
2012-10-19 12:19:19 +02:00
Jordi Boggiano fa3d6c7ce2 Fix originUrl in FileDownloader, refs #423 2012-10-19 12:03:13 +02:00
Jordi Boggiano a28d53d4c0 Add missing v before checkout branches when needed, refs #1164 2012-10-19 11:43:49 +02:00
Jordi Boggiano 43c21a736c Send headers as array instead of one big string 2012-10-19 11:02:18 +02:00
Jordi Boggiano 73aea05907 Send source instead of @package_version@ for the composer version in UA 2012-10-19 10:50:28 +02:00
Jordi Boggiano 5051e7a0a2 Only try to authorize when fetching the repo info, not subsequent calls, refs #423 2012-10-19 10:24:00 +02:00
Jordi Boggiano 348ec26c91 Always return false or a class name, fixes #1231 2012-10-18 18:55:49 +02:00
Jordi Boggiano e0ce22f7cc Fix tests 2012-10-18 18:43:31 +02:00
Jordi Boggiano cf0753e062 Initialize config if it does not exist yet 2012-10-18 18:18:40 +02:00
Jordi Boggiano fa89ef75e4 Remove unused use statements 2012-10-18 17:45:26 +02:00
Jordi Boggiano 1df17a4b51 Merge branch 'oauth', fixes #423 2012-10-18 17:43:14 +02:00
Ulrich Kautz 4f4cbc17d9 Added "--prefer-dist" option to create-project command 2012-10-18 17:38:09 +02:00
Jordi Boggiano 7d4857fc5b Catch all 4**/5** responses 2012-10-18 17:09:38 +02:00
Jordi Boggiano 32282e7461 Add hostname to the OAuth app name 2012-10-18 17:08:34 +02:00
Jordi Boggiano a9811c4e40 Store and reload the github token to/from the config 2012-10-18 16:48:44 +02:00
Jordi Boggiano 503234451b Simplify ConfigCommand to use the JsonConfigSource 2012-10-18 16:48:43 +02:00
Jordi Boggiano e410da786e Add ConfigSourceInterface and matching class 2012-10-18 16:48:42 +02:00
Jordi Boggiano 3b01d26d67 Swap user credentials for an OAuth token from GitHub 2012-10-18 16:48:42 +02:00
Thomas Adam 1bd5d88b02 quick workaround for Github API limit 2012-10-18 16:48:41 +02:00
Jordi Boggiano 3742459a41 Infer stability flags and parse references for aliased packages as well 2012-10-18 15:13:32 +02:00
Jordi Boggiano 5978197b5d Reset package IDs before they can be used in the pool in case there are already some in the cache 2012-10-18 12:57:55 +02:00
Jordi Boggiano ee0cd07468 CS fixes 2012-10-18 10:35:06 +02:00
Jordi Boggiano 852c369575 Improve error reporting on downloads and copies, refs #1228 2012-10-18 10:30:32 +02:00